#include <OptimCostColored.hpp>
|
| OptimCostColored (const CGParam params=CGParam()) |
|
| OptimCostColored (int nprop, PrecisionOp *pmat, const ProjMatrix *projdata, const ProjMatrix *projseis=nullptr, const VectorDouble &propseis=VectorDouble(), const VectorDouble &varseis=VectorDouble()) |
|
| OptimCostColored (const OptimCostColored &m) |
|
OptimCostColored & | operator= (const OptimCostColored &m) |
|
virtual | ~OptimCostColored () |
|
void | reset (int nprop, PrecisionOp *pmat, const ProjMatrix *projdata, const ProjMatrix *projseis=nullptr, const VectorDouble &propseis=VectorDouble(), const VectorDouble &varseis=VectorDouble()) |
|
VectorVectorDouble | minimize (const VectorDouble &facies, const VectorVectorInt &splits=VectorVectorInt(), const VectorDouble &meanprops=VectorDouble(), bool verbose=false, int maxiter=100, double eps=5.e-4) |
|
VectorVectorInt | initSplit (int nfacies, bool verbose=false) const |
|
void | printSplits (const VectorVectorInt &splits=VectorVectorInt()) const |
|
void | setMeanProps (const VectorDouble &meanProps) |
|
void | setSplits (const VectorVectorInt &splits) |
|
| OptimCostBinary (const CGParam params=CGParam()) |
|
| OptimCostBinary (const OptimCostBinary &m) |
|
OptimCostBinary & | operator= (const OptimCostBinary &m) |
|
virtual | ~OptimCostBinary () |
|
void | reset (PrecisionOp *pmat, const ProjMatrix *projdata, const ProjMatrix *projseis=nullptr, const VectorDouble &propseis=VectorDouble(), const VectorDouble &varseis=VectorDouble()) |
|
VectorDouble | minimize (VectorDouble &indic, bool verbose=false, int maxiter=100, double eps=5.e-4) |
|
void | calculateGradient (const VectorDouble &indic, const VectorDouble &lambda, double *out) |
|
int | setMeanProportion (double meanprop) |
|
void | setParams (const CGParam ¶ms) |
|
void | setPreCondParams (int chebncmax=10001, double chebtol=5.e-3) |
|
int | isInitialized () |
|
int | getNPoint () const |
|
int | getNVertex () const |
|
void | toggleSeismic (bool status) |
|
| IOptimCost () |
|
virtual | ~IOptimCost () |
|
◆ OptimCostColored() [1/3]
OptimCostColored::OptimCostColored |
( |
const CGParam |
params = CGParam() | ) |
|
◆ OptimCostColored() [2/3]
◆ OptimCostColored() [3/3]
◆ ~OptimCostColored()
OptimCostColored::~OptimCostColored |
( |
| ) |
|
|
virtual |
◆ initSplit()
VectorVectorInt OptimCostColored::initSplit |
( |
int |
nfacies, |
|
|
bool |
verbose = false |
|
) |
| const |
Provides the list of regrouped facies during Optimizaition
- Parameters
-
nfacies | Number of facies |
verbose | Verbose flag |
- Returns
- For each level, Vector of regrouped facies
◆ minimize()
Perform the minimization
- Returns
- Array of facies proportions (Dimension: [nprop][nvertex]
- Parameters
-
[in] | facies | Array containing the Facies values (see remarks) (Dimension: npoint) |
[in] | splits | Array giving the facies split (Dimension: [nfacies-1][nfacies]) |
[in] | meanprops | Array of mean of proportions (Dimension: nfacies) |
[in] | verbose | Verbose flag |
[in] | maxiter | Maximum number of iterations for Optimization algorithm |
[in] | eps | Tolerance for Optimization algorithm |
◆ operator=()
◆ printSplits()
Internal function to print the Splits
◆ reset()
Initialize the Hessian Operator
- Parameters
-
[in] | nprop | Number of different proportions (or facies) |
[in] | pmat | The precision matrix to be optimized |
[in] | projdata | The Projection operator between Data and Meshing |
[in] | projseis | The Projection operator between Seismic and Meshing |
[in] | propseis | Array of facies proportions |
[in] | varseis | Array of variance attached to the seismic |
◆ setMeanProps()
void OptimCostColored::setMeanProps |
( |
const VectorDouble & |
meanProps | ) |
|
|
inline |
◆ setSplits()
The documentation for this class was generated from the following files: