#include <OptimCostBinary.hpp>
|
| | OptimCostBinary () |
| |
| | 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 | setPreCondParams (int chebncmax=10001, double chebtol=5.e-3) |
| |
| int | isInitialized () const |
| |
| int | getNPoint () const |
| |
| int | getNVertex () const |
| |
| void | toggleSeismic (bool status) |
| |
| | IOptimCost () |
| |
| virtual | ~IOptimCost () |
| |
◆ OptimCostBinary() [1/2]
| OptimCostBinary::OptimCostBinary |
( |
| ) |
|
◆ OptimCostBinary() [2/2]
◆ ~OptimCostBinary()
| OptimCostBinary::~OptimCostBinary |
( |
| ) |
|
|
virtual |
◆ calculateGradient()
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.
◆ getNPoint()
| int OptimCostBinary::getNPoint |
( |
| ) |
const |
Returns the Number of Data Points
◆ getNVertex()
| int OptimCostBinary::getNVertex |
( |
| ) |
const |
Returns the Number of Meshing Vertices
◆ isInitialized()
| int OptimCostBinary::isInitialized |
( |
| ) |
const |
|
inline |
◆ minimize()
| 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 |
◆ operator=()
◆ reset()
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 |
◆ setMeanProportion()
| int OptimCostBinary::setMeanProportion |
( |
double |
meanprop | ) |
|
Set the Mean proportion for the indicator
- Parameters
-
| [in] | meanprop | Value of the mean proportion (raw scale) |
◆ setPreCondParams()
| void OptimCostBinary::setPreCondParams |
( |
int |
chebncmax = 10001, |
|
|
double |
chebtol = 5.e-3 |
|
) |
| |
|
inline |
Set the constant parameters for internal Pre-Conditioner
◆ toggleSeismic()
| void OptimCostBinary::toggleSeismic |
( |
bool |
status | ) |
|
Toggle the use of the Seismic constraint
- Parameters
-
The documentation for this class was generated from the following files: