#include "geoslib_old_f.h"
#include "Calculators/CalcMigrate.hpp"
#include "Variogram/Vario.hpp"
#include "Basic/Utilities.hpp"
#include "Basic/OptDbg.hpp"
#include "Model/Model.hpp"
#include "Neigh/ANeigh.hpp"
#include "Db/Db.hpp"
#include "Db/DbGrid.hpp"
#include <math.h>
Classes | |
struct | LMlayers |
Functions | |
int | multilayers_kriging (Db *dbin, DbGrid *dbout, Model *model, ANeigh *neigh, int flag_same, int flag_z, int flag_vel, int flag_cumul, int flag_ext, int flag_std, int flag_bayes, int irf_rank, int match_time, int dim_prior, double *prior_mean, double *prior_vars, int colrefd, int colreft, int colrefb, int verbose) |
int | multilayers_vario (Db *dbin, DbGrid *dbout, Vario *vario, int nlayers, int flag_vel, int flag_ext, int irf_rank, int match_time, int colrefd, int colreft, int verbose) |
int | multilayers_get_prior (Db *dbin, DbGrid *dbout, Model *model, int flag_same, int flag_vel, int flag_ext, int irf_rank, int match_time, int colrefd, int colreft, int colrefb, int verbose, int *npar_arg, double **mean, double **vars) |
int multilayers_get_prior | ( | Db * | dbin, |
DbGrid * | dbout, | ||
Model * | model, | ||
int | flag_same, | ||
int | flag_vel, | ||
int | flag_ext, | ||
int | irf_rank, | ||
int | match_time, | ||
int | colrefd, | ||
int | colreft, | ||
int | colrefb, | ||
int | verbose, | ||
int * | npar_arg, | ||
double ** | mean, | ||
double ** | vars | ||
) |
Multi-layers get the mean and prior matrices for Bayesian prior
[in] | dbin | Input Db structure |
[in] | dbout | Output Db structure |
[in] | model | Model structure |
[in] | flag_same | 1 if input and output files coincide |
[in] | flag_vel | 1 if work is performed in Velocity, 0 for Depth |
[in] | flag_ext | 1 if external drift must be used; 0 otherwise |
[in] | irf_rank | Rank of the Intrinsic Random Function (0 or 1) |
[in] | match_time | 1 if external drift matches time; 0 otherwise |
[in] | colrefd | Rank of the reference Depth variable in Dbout |
[in] | colreft | Rank of the reference Time variable in Dbout |
[in] | colrefb | Rank of the Bottom Depth variable in Dbout (or -1) |
[in] | verbose | Verbose option |
[out] | npar_arg | Number of drift terms |
[out] | mean | Array of means |
[out] | vars | Array of variances |
int multilayers_kriging | ( | Db * | dbin, |
DbGrid * | dbout, | ||
Model * | model, | ||
ANeigh * | neigh, | ||
int | flag_same, | ||
int | flag_z, | ||
int | flag_vel, | ||
int | flag_cumul, | ||
int | flag_ext, | ||
int | flag_std, | ||
int | flag_bayes, | ||
int | irf_rank, | ||
int | match_time, | ||
int | dim_prior, | ||
double * | prior_mean, | ||
double * | prior_vars, | ||
int | colrefd, | ||
int | colreft, | ||
int | colrefb, | ||
int | verbose | ||
) |
Multi-layers architecture estimation
[in] | dbin | Input Db structure |
[in] | dbout | Output Db structure |
[in] | model | Model structure |
[in] | neigh | ANeigh structure |
[in] | flag_same | 1 if input and output files coincide |
[in] | flag_z | 1 if the output must be converted back into depth |
[in] | flag_vel | 1 if work is performed in Velocity, 0 for Depth |
[in] | flag_cumul | 1 if work is performed in Depth; 0 in Thickness |
[in] | flag_ext | 1 if external drift must be used; 0 otherwise |
[in] | flag_std | 1 if the estimation error must be calculated |
[in] | flag_bayes | 1 if the Bayesian hypothesis is used on drift coeffs |
[in] | irf_rank | Rank of the Intrinsic Random Function (0 or 1) |
[in] | match_time | 1 if external drift matches time; 0 otherwise |
[in] | dim_prior | Dimension of the prior information (for verification) |
[in] | prior_mean | Vector of prior means for drift coefficients |
[in] | prior_vars | Vector of prior variances for drift coefficients |
[in] | colrefd | Rank of the reference Depth variable in Dbout |
[in] | colreft | Rank of the reference Time variable in Dbout |
[in] | colrefb | Rank of the Bottom Depth variable in Dbout (or -1) |
[in] | verbose | Verbose option |
int multilayers_vario | ( | Db * | dbin, |
DbGrid * | dbout, | ||
Vario * | vario, | ||
int | nlayers, | ||
int | flag_vel, | ||
int | flag_ext, | ||
int | irf_rank, | ||
int | match_time, | ||
int | colrefd, | ||
int | colreft, | ||
int | verbose | ||
) |
Multi-layers architecture experimental variogram
[in] | dbin | Input Db structure |
[in] | dbout | Output Db structure |
[in] | vario | Vario structure |
[in] | nlayers | Number of layers |
[in] | flag_vel | 1 if work is performed in Velocity, 0 for Depth |
[in] | flag_ext | 1 if external drift must be used; 0 otherwise |
[in] | irf_rank | Rank of the Intrinsic Random Function (0 or 1) |
[in] | match_time | 1 if external drift matches time; 0 otherwise |
[in] | colrefd | Rank of the reference Depth variable in Dbout |
[in] | colreft | Rank of the reference Time variable in Dbout |
[in] | verbose | 1 for a verbose option |