UNIVERS
15.3
UNIVERS base processing software API
|
#include <sim_vel_model.hpp>
Public Member Functions | |
virtual const ParamsT & | operator() (const Point2D &coords) const |
virtual void | appendLayer (const VmLayer1D2D &layer, const ParamsT ¶ms) |
virtual size_t | layersNum () const |
virtual const VmLayer1D2D & | layer (const size_t id) const |
virtual const ParamsT & | params (const size_t id) const |
virtual void | removeLayer (const size_t id) |
virtual void | clear () |
Protected Attributes | |
std::list< std::pair < VmLayer1D2D, ParamsT > > | m_lays |
Static Protected Attributes | |
static const ParamsT | m_dummy_params |
static const VmLayer1D2D | m_dummy_layer |
1D2D velocity model (linear bounds with dips). ParamsT - abstract parameters type.
|
virtual |
Append layer with parameters to the model.
layer | new layer to be appended. |
params | parameters relating to the layer. |
Implements sim::LayeredVelModel< ParamsT, VmLayer1D2D >.
|
virtual |
Remove all layers.
Implements sim::LayeredVelModel< ParamsT, VmLayer1D2D >.
|
virtual |
Get layer with provided index.
id | Index of required layer. |
Implements sim::LayeredVelModel< ParamsT, VmLayer1D2D >.
|
virtual |
Current number of layers in the model.
Implements sim::LayeredVelModel< ParamsT, VmLayer1D2D >.
|
virtual |
Get parameters for provided coordinates. Should be implemented.
Coordinates of the model for parameters obtaining.
Implements sim::VelModel< ParamsT >.
|
virtual |
Get parameters of the layer with provided index.
id | Index of required layer. |
Implements sim::LayeredVelModel< ParamsT, VmLayer1D2D >.
|
virtual |
Remove layer with provided index.
id | Index of the layer. Removes the last layer if id is out of range. |
Implements sim::LayeredVelModel< ParamsT, VmLayer1D2D >.
|
staticprotected |
Dummy layer.
|
protected |
< List of model layers with parameters. Dummy parameters.