#include <OptimCostBinary.hpp>
|
| 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 () |
|
OptimCostBinary::~OptimCostBinary |
( |
| ) |
|
|
virtual |
Calculate the Gradient
- Parameters
-
[in] | indic | Array containing the Facies indicators (see remarks) (Dimension: npoint) |
[in] | lambda | Array of input values |
[out] | out | Array of output gradients |
Implements IOptimCost.
int OptimCostBinary::getNPoint |
( |
| ) |
const |
Returns the Number of Data Points
int OptimCostBinary::getNVertex |
( |
| ) |
const |
Returns the Number of Meshing Vertices
int OptimCostBinary::isInitialized |
( |
| ) |
|
|
inline |
VectorDouble OptimCostBinary::minimize |
( |
VectorDouble & |
indic, |
|
|
bool |
verbose = false , |
|
|
int |
maxiter = 100 , |
|
|
double |
eps = 5.e-4 |
|
) |
| |
Perform the minimization
- Returns
- The array of facies proportions (Dimension: nvertex)
- Parameters
-
[in] | indic | Array containing the Facies indicators (see remarks) (Dimension: npoint) |
[in] | verbose | Verbose flag |
[in] | maxiter | Maximum number of iterations for Optimization algo. |
[in] | eps | Tolerance for Optimization algorithm |
Initialize the Binary Cost Operator
- Parameters
-
[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 |
int OptimCostBinary::setMeanProportion |
( |
double |
meanprop | ) |
|
Set the Mean proportion for the indicator
- Parameters
-
[in] | meanprop | Value of the mean proportion (raw scale) |
void OptimCostBinary::setParams |
( |
const CGParam & |
params | ) |
|
|
inline |
void OptimCostBinary::setPreCondParams |
( |
int |
chebncmax = 10001 , |
|
|
double |
chebtol = 5.e-3 |
|
) |
| |
|
inline |
Set the constant parameters for internal Pre-Conditioner
void OptimCostBinary::toggleSeismic |
( |
bool |
status | ) |
|
Toggle the use of the Seismic constraint
- Parameters
-
The documentation for this class was generated from the following files: