Geophysical Inversion and Modeling Library  v1.0.12-3-g179296b4
GIMLI::LinearModelling Class Reference
+ Inheritance diagram for GIMLI::LinearModelling:
+ Collaboration diagram for GIMLI::LinearModelling:

Public Member Functions

 LinearModelling (Mesh &mesh, MatrixBase &A, bool verbose=false)
 LinearModelling (Mesh &mesh, MatrixBase *A, bool verbose=false)
 LinearModelling (MatrixBase &A, bool verbose=false)
RVector response (const RVector &model)
virtual void createJacobian (const RVector &model)
RVector createDefaultStartModel ()
- 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)
DataContainerdata () const
virtual RVector startModel ()
virtual void setStartModel (const RVector &startModel)
void setMesh (const Mesh &mesh, bool ignoreRegionManager=false)
Meshmesh ()
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 ()
MatrixBasejacobian ()
MatrixBasejacobian () const
virtual RMatrixjacobianRef () const
virtual RMatrixjacobianRef ()
virtual void clearJacobian ()
virtual void setConstraints (MatrixBase *C)
virtual void clearConstraints ()
virtual void initConstraints ()
virtual void createConstraints ()
virtual MatrixBaseconstraints ()
virtual MatrixBaseconstraints () const
virtual RSparseMapMatrixconstraintsRef () const
virtual RSparseMapMatrixconstraintsRef ()
const RMatrixsolution () const
void mapModel (const RVector &model, double background=0)
RVector createMappedModel (const RVector &model, double background=-1) const
void setRegionManager (RegionManager *reg)
const RegionManagerregionManager () const
RegionManagerregionManager ()
RegionManagerregionManagerRef ()
bool verbose ()
Regionregion (int marker)
RVector createStartModel ()
RVector createStartVector ()
void initRegionManager ()
void setThreadCount (Index nThreads)
Index threadCount () const
void setMultiThreadJacobian (Index nThreads)
Index multiThreadJacobian () const

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)
- Protected Attributes inherited from GIMLI::ModellingBase
bool ownJacobian_
bool ownConstraints_
RMatrix solutions_
RVector startModel_
bool verbose_
bool regionManagerInUse_
bool ownRegionManager_
Index nThreads_
Index nThreadsJacobian_

Detailed Description

Linear modelling class (multiplication by a matrix). Calculate response from derivative matrix (Jacobian,Sensitivity) * model

Member Function Documentation

◆ createDefaultStartModel()

RVector GIMLI::LinearModelling::createDefaultStartModel ( )

Interface to define custom start model generators.

Reimplemented from GIMLI::ModellingBase.

◆ createJacobian()

void GIMLI::LinearModelling::createJacobian ( const RVector model)

Create and fill the Jacobian matrix with a given model vector.

Reimplemented from GIMLI::ModellingBase.

◆ response()

RVector GIMLI::LinearModelling::response ( const RVector model)


Reimplemented from GIMLI::ModellingBase.

References GIMLI::toStr().