![]() |
1.6.0
Geostatistics & Machine Learning toolbox | https://gstlearn.org
|
![]() |
This is an implementation of ShiftOp dedicated to case where: More...
#include <ShiftOpStencil.hpp>
This is an implementation of ShiftOp dedicated to case where:
The different members are: _relativeShifts For each vector, gives the vector of shifts, with respect to the target node (in relative indices) _absoluteShifts Vector of shifts to calculate where the weights should apply calculated on the global target grid. This can only be used if the grid has no selection _weights Vector of weights (only significative ones are kept) _isInside Vector telling if each node of the grid is located on its edge and should be bypassed for matrix calculations, or not
Public Member Functions | |
ShiftOpStencil (const MeshETurbo *mesh=nullptr, const CovAniso *cova=nullptr, bool verbose=false) | |
ShiftOpStencil (const ShiftOpStencil &shift) | |
ShiftOpStencil & | operator= (const ShiftOpStencil &shift) |
virtual | ~ShiftOpStencil () |
void | normalizeLambdaBySills (const AMesh *mesh) override |
ICloneable interface. | |
void | multiplyByValueAndAddDiagonal (double v1=1., double v2=0.) override |
void | resetModif () override |
double | getMaxEigenValue () const override |
double | getLambda (int iapex) const override |
int | _addToDest (const constvect inv, vect outv) const override |
![]() | |
AShiftOp (CovAniso *cova=nullptr, int napices=0) | |
AShiftOp (const AShiftOp &shift) | |
AShiftOp & | operator= (const AShiftOp &shift) |
virtual void | prodLambda (const VectorDouble &x, VectorDouble &y, const EPowerPT &power) const |
virtual | ~AShiftOp () |
const VectorDouble & | getLambdas () const |
int | getSize () const override |
virtual void | addProdLambda (const constvect x, vect y, const EPowerPT &power) const |
void | prodLambda (const constvect x, vect y, const EPowerPT &power) const |
void | prodLambda (const VectorDouble &x, vect y, const EPowerPT &power) const |
void | prodLambda (const constvect x, VectorDouble &y, const EPowerPT &power) const |
![]() | |
ICloneable () | |
virtual | ~ICloneable () |
virtual ICloneable * | clone () const =0 |
![]() | |
virtual | ~ALinearOpEigenCG () |
Eigen::Index | rows () const |
Eigen::Index | cols () const |
Eigen::Product< AShiftOp, Rhs, Eigen::AliasFreeProduct > | operator* (const Eigen::MatrixBase< Rhs > &x) const |
![]() | |
ALinearOp () | |
ALinearOp (const ALinearOp &op)=delete | |
virtual | ~ALinearOp () |
int | evalDirect (const VectorDouble &inv, VectorDouble &outv) const |
VectorDouble | evalDirect (const VectorDouble &in) const |
void | setUseFactor (bool usefactor) |
int | evalDirect (constvect inv, vect outv) const |
int | addToDest (const constvect inv, vect outv) const |
int | addToDest (const Eigen::VectorXd &inv, Eigen::VectorXd &outv) const |
Additional Inherited Members | |
![]() | |
enum | |
typedef double | Scalar |
typedef double | RealScalar |
typedef int | StorageIndex |
![]() | |
static std::shared_ptr< CovAniso > | cloneAndCast (const CovAniso *cova) |
static std::shared_ptr< CovAniso > | cloneAndCast (const std::shared_ptr< CovAniso > &cova) |
ShiftOpStencil::ShiftOpStencil | ( | const MeshETurbo * | mesh = nullptr , |
const CovAniso * | cova = nullptr , |
||
bool | verbose = false |
||
) |
ShiftOpStencil::ShiftOpStencil | ( | const ShiftOpStencil & | shift | ) |
|
virtual |
Implements AShiftOp.
|
overridevirtual |
Reimplemented from AShiftOp.
|
overridevirtual |
Implements AShiftOp.
|
overridevirtual |
Reimplemented from ALinearOp.
|
overridevirtual |
ICloneable interface.
Implements AShiftOp.
ShiftOpStencil & ShiftOpStencil::operator= | ( | const ShiftOpStencil & | shift | ) |
|
overridevirtual |
Reimplemented from ALinearOp.