Geophysical Inversion and Modelling Library
v1.5.2-5-g042d7f36
|
Public Member Functions | |
TTModellingWithOffset (Mesh &mesh, DataContainer &dataContainer, bool verbose) | |
virtual RVector | createDefaultStartModel () |
virtual RVector | response (const RVector &model) |
void | initJacobian () |
virtual void | createJacobian (const RVector &slowness) |
size_t | nShots () |
Public Member Functions inherited from GIMLI::TravelTimeDijkstraModelling | |
TravelTimeDijkstraModelling (bool verbose=false) | |
TravelTimeDijkstraModelling (Mesh &mesh, DataContainer &dataContainer, bool verbose=false) | |
RVector | createGradientModel (double lBound, double uBound) |
Graph | createGraph (const RVector &slownessPerCell) const |
double | findMedianSlowness () const |
RVector | getApparentSlowness () const |
void | createJacobian (RSparseMapMatrix &jacobian, const RVector &slowness) |
const IndexArray & | way (Index sht, Index rec) const |
const Dijkstra & | dijkstra () const |
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 | startModel () |
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) |
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 | shots_ |
std::map< Index, Index > | shotMap_ |
Mesh | offsetMesh_ |
Protected Attributes inherited from GIMLI::TravelTimeDijkstraModelling | |
Dijkstra | dijkstra_ |
double | background_ |
IndexArray | shotNodeId_ |
std::map< Index, Index > | shotsInv_ |
IndexArray | receNodeId_ |
std::map< Index, Index > | receiInv_ |
std::vector< std::vector< IndexArray > > | wayMatrix_ |
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::TravelTimeDijkstraModelling | |
virtual void | updateMeshDependency_ () |
Protected Member Functions inherited from GIMLI::ModellingBase | |
virtual void | init_ () |
virtual void | deleteMeshDependency_ () |
virtual void | updateDataDependency_ () |
void | setMesh_ (const Mesh &mesh, bool update=true) |
New Class derived from standard travel time modelling
GIMLI::TTModellingWithOffset::TTModellingWithOffset | ( | Mesh & | mesh, |
DataContainer & | dataContainer, | ||
bool | verbose | ||
) |
find occuring shots, and map them to indices starting from zero
create new region containing offsets with special marker
References GIMLI::RegionManager::addRegion(), GIMLI::createMesh1D(), GIMLI::DataContainer::get(), initJacobian(), and GIMLI::unique().
|
virtual |
Interface to define custom start model generators.
Reimplemented from GIMLI::TravelTimeDijkstraModelling.
References GIMLI::TravelTimeDijkstraModelling::createDefaultStartModel().
|
virtual |
Interface.
extract slowness from model and call old function
set 1 entries for the used shot
Reimplemented from GIMLI::TravelTimeDijkstraModelling.
References GIMLI::TravelTimeDijkstraModelling::createJacobian(), GIMLI::DataContainer::get(), GIMLI::ModellingBase::jacobian(), and GIMLI::DataContainer::size().
|
virtual |
Interface.
Reimplemented from GIMLI::TravelTimeDijkstraModelling.
Referenced by TTModellingWithOffset().
Interface. Calculate response
extract slowness from model and call old function
normal response
Reimplemented from GIMLI::TravelTimeDijkstraModelling.
References GIMLI::DataContainer::get(), and GIMLI::TravelTimeDijkstraModelling::response().