UNIVERS
15.3
UNIVERS base processing software API
|
#include <sim_vel_model.hpp>
Public Member Functions | |
virtual void | appendLayer (const LayerT &layer, const ParamsT ¶ms)=0 |
virtual size_t | layersNum () const =0 |
virtual const LayerT & | layer (const size_t id) const =0 |
virtual const ParamsT & | params (const size_t id) const =0 |
virtual void | removeLayer (const size_t id)=0 |
virtual void | clear ()=0 |
Public Member Functions inherited from sim::VelModel< ParamsT > | |
virtual const ParamsT & | operator() (const Point2D &coords) const =0 |
Layered velocity model. Provides interface for Parameters(x,z) and Layers of the model. ParamsT - type of parameters. LayerT - type of velocity model layer.
|
pure virtual |
Append layer with parameters to the model.
layer | new layer to be appended. |
params | parameters relating to the layer. |
Implemented in sim::VelModel1D2D< ParamsT >.
|
pure virtual |
Remove all layers.
Implemented in sim::VelModel1D2D< ParamsT >.
|
pure virtual |
Get layer with provided index.
id | Index of required layer. |
Implemented in sim::VelModel1D2D< ParamsT >.
|
pure virtual |
Current number of layers in the model.
Implemented in sim::VelModel1D2D< ParamsT >.
|
pure virtual |
Get parameters of the layer with provided index.
id | Index of required layer. |
Implemented in sim::VelModel1D2D< ParamsT >.
|
pure virtual |
Remove layer with provided index.
id | Index of the layer. Removes the last layer if id is out of range. |
Implemented in sim::VelModel1D2D< ParamsT >.