1.5.1
CCC
 
CalcSimuRefine.cpp File Reference
#include "geoslib_old_f.h"
#include "Db/DbGrid.hpp"
#include "Db/Db.hpp"
#include "Model/Model.hpp"
#include "Covariances/CovCalcMode.hpp"
#include "Simulation/CalcSimuRefine.hpp"
#include "Simulation/SimuRefineParam.hpp"
#include "Simulation/ACalcSimulation.hpp"
#include "Basic/Law.hpp"
#include <math.h>

Macros

#define LHS(i, j)   (lhs[(i) * neq + (j)])
 
#define RHS(i)   (rhs[(i)])
 

Functions

DbGridsimulation_refine (DbGrid *dbin, Model *model, const SimuRefineParam &param, int seed, bool verbose, const NamingConvention &namconv)
 

Macro Definition Documentation

◆ LHS

#define LHS (   i,
 
)    (lhs[(i) * neq + (j)])

◆ RHS

#define RHS (   i)    (rhs[(i)])

Function Documentation

◆ simulation_refine()

DbGrid* simulation_refine ( DbGrid dbin,
Model model,
const SimuRefineParam param,
int  seed,
bool  verbose,
const NamingConvention namconv 
)

Refine the simulation

Returns
Newly refined Grid.
Parameters
[in]dbinInput grid Db structure
[in]modelModel structure
[in]paramSimuRefineParam structure
[in]seedSeed for the random number generator
[in]verboseVerbosity flag
[in]namconvNaming convention
Remarks
For each dimension of the space, if N stands for the number of
nodes in the input grid, the number of nodes of the output grid
will be (N-1) * 2^p + 1 where p is the param.getNmult()