Geophysical Inversion and Modelling Library
v1.5.2-5-g042d7f36
|
Public Member Functions | |
HarmonicModelling (size_t nh, const RVector &tvec, bool verbose=false) | |
virtual RVector | response (const RVector &par) |
virtual RVector | response (const RVector &par, const RVector tvec) |
virtual void | createJacobian (const RVector &model) |
virtual RVector | startModel () |
Public Member Functions inherited from GIMLI::ModellingBase | |
ModellingBase (bool verbose=false) | |
ModellingBase (DataContainer &dataContainer, bool verbose=false) | |
ModellingBase (const Mesh &mesh, bool verbose=false) | |
ModellingBase (const Mesh &mesh, DataContainer &dataContainer, bool verbose=false) | |
void | setVerbose (bool verbose) |
bool | verbose () const |
virtual RVector | response_mt (const RVector &model, Index i=0) const |
RVector | operator() (const RVector &model) |
void | setData (DataContainer &data) |
DataContainer & | data () const |
virtual RVector | createDefaultStartModel () |
virtual void | setStartModel (const RVector &startModel) |
void | setMesh (const Mesh &mesh, bool ignoreRegionManager=false) |
Mesh * | mesh () |
void | createRefinedForwardMesh (bool refine=true, bool pRefine=false) |
void | deleteMesh () |
virtual void | setJacobian (MatrixBase *J) |
virtual void | createJacobian (const RVector &model, const RVector &resp) |
virtual void | createJacobian_mt (const RVector &model, const RVector &resp) |
virtual void | initJacobian () |
MatrixBase * | jacobian () |
MatrixBase * | jacobian () const |
virtual RMatrix & | jacobianRef () const |
virtual RMatrix & | jacobianRef () |
virtual void | clearJacobian () |
RVector | createMappedModel (const RVector &model, double background=-9e99) const |
void | setRegionManager (RegionManager *reg) |
const RegionManager & | regionManager () const |
RegionManager & | regionManager () |
RegionManager & | regionManagerRef () |
bool | verbose () |
Region * | region (int marker) |
RVector | createStartModel () |
RVector | createStartVector () |
void | initRegionManager () |
void | setThreadCount (Index nThreads) |
Index | threadCount () |
void | setMultiThreadJacobian (Index nThreads) |
Index | multiThreadJacobian () const |
Protected Attributes | |
RVector | t_ |
RMatrix | A_ |
abscissa vector x | |
double | tMin_ |
function matrix | |
double | tMax_ |
size_t | nh_ |
size_t | nt_ |
size_t | np_ |
Protected Attributes inherited from GIMLI::ModellingBase | |
Mesh * | mesh_ |
DataContainer * | dataContainer_ |
MatrixBase * | jacobian_ |
bool | ownJacobian_ |
MatrixBase * | constraints_ |
bool | ownConstraints_ |
RMatrix | solutions_ |
RVector | startModel_ |
bool | verbose_ |
bool | regionManagerInUse_ |
bool | ownRegionManager_ |
Index | nThreads_ |
Index | nThreadsJacobian_ |
Additional Inherited Members | |
Protected Member Functions inherited from GIMLI::ModellingBase | |
virtual void | init_ () |
virtual void | deleteMeshDependency_ () |
virtual void | updateMeshDependency_ () |
virtual void | updateDataDependency_ () |
void | setMesh_ (const Mesh &mesh, bool update=true) |
GIMLI::HarmonicModelling::HarmonicModelling | ( | size_t | nh, |
const RVector & | tvec, | ||
bool | verbose = false |
||
) |
constructor, nh: number of coefficients, xvec: abscissa,
constant vector of 1 – offset
const
vector linearly ascending from 0 (tmin) to 1 (tmax) – drift
harmonic functions cos/sin(n pi t)
References A_, GIMLI::Matrix< ValueType >::clear(), GIMLI::Matrix< ValueType >::push_back(), and GIMLI::RegionManager::setParameterCount().
|
virtual |
optional: generation of Jacobian matrix, uncomment for default behavior (brute force)
! jacobian = transpose(A);
Reimplemented from GIMLI::ModellingBase.
References A_, GIMLI::MatrixBase::cols(), GIMLI::ModellingBase::jacobian(), GIMLI::MatrixBase::resize(), and GIMLI::MatrixBase::rows().
the main thing - the forward operator: return f(x)
Reimplemented from GIMLI::ModellingBase.
References A_.
an additional forward operator for another time basis
References tMin_.
|
inlinevirtual |
Define the start model
Reimplemented from GIMLI::ModellingBase.