Geophysical Inversion and Modelling Library v1.5.4
Loading...
Searching...
No Matches
GIMLI::DC1dRhoModelling Class Reference

#include <dc1dmodelling.h>

+ Inheritance diagram for GIMLI::DC1dRhoModelling:
+ Collaboration diagram for GIMLI::DC1dRhoModelling:

Public Member Functions

 DC1dRhoModelling (const RVector &thk, const RVector &am, const RVector &an, const RVector &bm, const RVector &bn, bool verbose=false)
 
 DC1dRhoModelling (const RVector &thk, const RVector &ab2, const RVector &mn2, bool verbose=false)
 
 DC1dRhoModelling (const RVector &thk, DataContainer &data, bool verbose=false)
 
RVector response (const RVector &rho)
 
RVector createDefaultStartModel ()
 
- Public Member Functions inherited from GIMLI::DC1dModelling
 DC1dModelling (size_t nlayers, const RVector &am, const RVector &an, const RVector &bm, const RVector &bn, bool verbose=false)
 
 DC1dModelling (size_t nlayers, const RVector &ab2, const RVector &mn2, bool verbose=false)
 
 DC1dModelling (size_t nlayers, DataContainer &data, bool verbose=false)
 
RVector rhoa (const RVector &rho, const RVector &thk)
 
RVector kern1d (const RVector &lam, const RVector &rho, const RVector &h)
 
RVector pot1d (const RVector &R, const RVector &rho, const RVector &thk)
 
RVector getK ()
 
RVector geometricFactor ()
 
template<class Vec>
Vec rhoaT (const Vec &rho, const RVector &thk)
 
template<class Vec>
Vec kern1dT (const RVector &lam, const Vec &rho, const RVector &h)
 
template<class Vec>
Vec pot1dT (const RVector &R, const Vec &rho, const RVector &thk)
 
- 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)
 
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=-9e99) 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 ()
 
void setMultiThreadJacobian (Index nThreads)
 
Index multiThreadJacobian () const
 

Protected Attributes

RVector thk_
 
- Protected Attributes inherited from GIMLI::DC1dModelling
size_t nlayers_
 
double meanrhoa_
 
RVector am_
 
RVector an_
 
RVector bm_
 
RVector bn_
 
RVector k_
 
RVector tmp_
 
RVector myx_
 
RVector myw_
 
- Protected Attributes inherited from GIMLI::ModellingBase
Meshmesh_
 
DataContainerdataContainer_
 
MatrixBasejacobian_
 
bool ownJacobian_
 
MatrixBaseconstraints_
 
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::DC1dModelling
void init_ ()
 
void postprocess_ ()
 
- Protected Member Functions inherited from GIMLI::ModellingBase
virtual void deleteMeshDependency_ ()
 
virtual void updateMeshDependency_ ()
 
virtual void updateDataDependency_ ()
 
void setMesh_ (const Mesh &mesh, bool update=true)
 

Detailed Description

DC1dRhoModelling - Variant of DC 1D modelling with fixed parameterization (occam inversion)

DC1dRhoModelling(mesh, dataContainer, thicknesses, verbose)

Member Function Documentation

◆ createDefaultStartModel()

RVector GIMLI::DC1dRhoModelling::createDefaultStartModel ( )
inlinevirtual

Interface to define custom start model generators.

Reimplemented from GIMLI::DC1dModelling.

◆ response()

RVector GIMLI::DC1dRhoModelling::response ( const RVector & model)
inlinevirtual

Returns an RVector of the 1dc response for model = [thickness_ 0, ..., thickness_(n-1), rho_0 .. rho_n]. For n = nlayers.

Reimplemented from GIMLI::DC1dModelling.