![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
Class, describing the geological body. More...
#include <vel2dmod_service.hpp>
Public Member Functions | |
| Body (int bAm) | |
| Body (Body *) | |
| void | AddBoundPtr (Bound *pB) |
| bool | TopBorder (double x, double &z) |
| bool | BotBorder (double x, double &z) |
| bool | BodyBorder (int bNum, double x, double &z) |
| void | GetBodyBrd (int &num, int *&brds) |
| void | SetConstParams (double vp, double vs, double kzp, double kzs, double den, double an_kp=1, double an_ks=1, double R=1) |
| void | SetParams (int pNum, double *x, double *vp, double *vs, double *kzp, double *kzs, double *den, double an_kp=1, double an_ks=1, double R=1) |
| int | GetTopBN () |
| int | GetBotBN () |
| bool | GetLateralBounds (int &left_bN, int &right_bN) |
| void | GetZLimits (double &z_min, double &z_max) |
| void | GetLZLimits (double &z_min, double &z_max) |
| void | GetRZlimits (double &z_min, double &z_max) |
Public Attributes | |
| BodyParam * | Param |
| int | num |
| int | boundNum |
| int * | bounds |
| int * | bPos |
| bool * | n_direct |
| bool | filled |
| bool | ready |
| int | presParams |
| BoundsAr | Bounds |
Class, describing the geological body.
| Body::Body | ( | int | bAm | ) |
Constructor - input: bodies bounds number
| bool Body::BodyBorder | ( | int | bNum, |
| double | x, | ||
| double & | z | ||
| ) |
returns any bound as function f(x) (?)
| bool Body::BotBorder | ( | double | x, |
| double & | z | ||
| ) |
function returns bottom bound of layer as function f(x) for layer-model
| void Body::GetBodyBrd | ( | int & | num, |
| int *& | brds | ||
| ) |
returns the array with bodies bounds numbers
| int Body::GetBotBN | ( | ) |
returns the INDEX of bottom bound in Bounds array
| int Body::GetTopBN | ( | ) |
returns the INDEX of top bound in Bounds array
| void Body::SetConstParams | ( | double | vp, |
| double | vs, | ||
| double | kzp, | ||
| double | kzs, | ||
| double | den, | ||
| double | an_kp = 1, |
||
| double | an_ks = 1, |
||
| double | R = 1 |
||
| ) |
sets new CONSTANT body parameters values
| void Body::SetParams | ( | int | pNum, |
| double * | x, | ||
| double * | vp, | ||
| double * | vs, | ||
| double * | kzp, | ||
| double * | kzs, | ||
| double * | den, | ||
| double | an_kp = 1, |
||
| double | an_ks = 1, |
||
| double | R = 1 |
||
| ) |
sets new body parameters values
| bool Body::TopBorder | ( | double | x, |
| double & | z | ||
| ) |
function returns the top bound of layer as function f(x) for layer-model
| int Body::boundNum |
body bounds number
| int* Body::bounds |
body bounds numbers array
| BoundsAr Body::Bounds |
"Body Bound" objects array
| int* Body::bPos |
array of indexes, describing the location of respective bound in the body
bPos[i]=0 - top bound bPos[i]=1 - bottom bound bPos[i]=-1 - lateral bound
| bool* Body::n_direct |
array of flags, which define the direction of normal to the body bounds
true - outward normal direction agree with that, saved in respective bound false - outward normal direction is opposite to that, saved in respective bound (+180 degrees)
| int Body::num |
body number
| BodyParam* Body::Param |
pointer to the "Body Parameters" object
1.8.5