World Ocean Simulation System (WOSS) library
|
Surficial sediment geoacoustic parameters definitions. More...
#include <sediment-definitions.h>
Static Public Member Functions | |
static void | setDebug (bool flag) |
Protected Attributes | |
::std::string | type |
double | depth |
double | vel_c |
double | vel_s |
double | density |
double | att_c |
double | att_s |
Static Protected Attributes | |
static bool | debug = false |
Surficial sediment geoacoustic parameters definitions.
The Sediment class provide an interface for creating and manipulating surficialg eoacoustic parameters.
Sediment::Sediment | ( | ) |
Sediment::Sediment | ( | const ::std::string & | name, |
double | velc, | ||
double | vels, | ||
double | dens, | ||
double | attc, | ||
double | atts, | ||
double | bottom_depth = 1.0 |
||
) |
Sediment constructor
name | textual name |
velc | compressional wave velocity [m/s] |
vels | shear wave velocity [m/s] |
dens | sediment density [g/cm^3 or user defined] |
attc | compressional wave attenuation [db/wavelength or user defined] |
atts | shear wave attenuation [db/wavelength or user defined] |
bottom_depth | bottom depth [m] |
Sediment virtual factory method
References Sediment().
Referenced by woss::DefHandler::operator=().
Sediment virtual factory method
References Sediment().
Referenced by woss::SedimDeck41Db::calculateSediment(), and woss::WossDbManager::setCustomSediment().
|
inlinevirtual |
Sediment virtual factory method
name | textual name |
velc | compressional wave velocity [m/s] |
vels | shear wave velocity [m/s] |
dens | sediment density [g/cm^3 or user defined] |
attc | compressional wave attenuation [db/wavelength or user defined] |
atts | shear wave attenuation [db/wavelength or user defined] |
bottom_depth | bottom depth [m] |
References Sediment(), and set().
Sediment virtual factory method
copy | Sediment to be copied |
References Sediment().
|
inline |
Gets compressional wave attenuation
References att_c.
|
inline |
|
inline |
|
inline |
|
virtual |
|
inline |
Gets sediment type name
References type.
Referenced by woss::WossDbManager::getSediment().
|
inline |
|
inline |
friend::std::ostream & woss::Sediment::operator<< | ( | ::std::ostream & | os, |
const Sediment & | instance | ||
) |
<< operator
os | left operand ostream reference |
instance | right operand const Sediment reference |
Sediment & Sediment::operator= | ( | const Sediment & | time | ) |
|
inline |
Sets all parameters at one.
name | textual name |
velc | compressional wave velocity [m/s] |
vels | shear wave velocity [m/s] |
dens | sediment density [g/cm^3 or user defined] |
attc | compressional wave attenuation [db/wavelength or user defined] |
atts | shear wave attenuation [db/wavelength or user defined] |
bottom_depth | bottom depth ( > 0 ) [m] |
References att_c, att_s, density, depth, set(), type, vel_c, and vel_s.
Referenced by woss::SedimentGravel::calculateVelocityS(), woss::SedimentSilt::calculateVelocityS(), woss::SedimentMud::calculateVelocityS(), create(), getStringValues(), isValid(), set(), setAttenuationC(), setAttenuationS(), setDebug(), setDensity(), setDepth(), setType(), setVelocityC(), and setVelocityS().
Inequality operator
left | left operand const reference |
right | right operand const reference |
Scalar multiplication operator
left | left operand const reference |
right | right operand const reference |
Multiplication operator
left | left operand const reference |
right | right operand const reference |
Scalar multiplication operator
left | left operand const reference |
right | right operand const reference |
Compound assignment multiplication operator
left | left operand reference |
right | right operand const reference |
Compound assignment multiplication operator
left | left operand reference |
right | right operand const reference |
Scalar sum operator
left | left operand const reference |
right | right operand const reference |
Sum operator
left | left operand const reference |
right | right operand const reference |
Scalar sum operator
left | left operand const reference |
right | right operand const reference |
Compound assignment sum operator
left | left operand reference |
right | right operand const reference |
Compound assignment sum operator
left | left operand reference |
right | right operand const reference |
Scalar subtraction operator
left | left operand const reference |
right | right operand const reference |
Subtraction operator
left | left operand const reference |
right | right operand const reference |
Scalar subtraction operator
left | left operand const reference |
right | right operand const reference |
Compound assignment subtraction operator
left | left operand reference |
right | right operand const reference |
Compound assignment subtraction operator
left | left operand reference |
right | right operand const reference |
Scalar division operator
left | left operand const reference |
right | right operand const reference |
Division operator
left | left operand const reference |
right | right operand const reference |
Scalar division operator
left | left operand const reference |
right | right operand const reference |
Compound assignment division operator
left | left operand reference |
right | right operand const reference |
Compound assignment division operator
left | left operand reference |
right | right operand const reference |
Equality operator
left | left operand const reference |
right | right operand const reference |
|
protected |
Compressional wave attenuation [db/wavelength]
Referenced by getAttenuationC(), getStringValues(), isValid(), woss::operator*(), woss::operator*(), woss::operator*=(), woss::operator*=(), woss::operator+=(), woss::operator+=(), woss::operator-=(), woss::operator-=(), woss::operator/(), woss::operator/(), woss::operator/=(), woss::operator/=(), operator=(), Sediment(), set(), and setAttenuationC().
|
protected |
Shear wave attenuation [db/wavelength]
Referenced by getAttenuationS(), getStringValues(), isValid(), woss::operator*(), woss::operator*(), woss::operator*=(), woss::operator*=(), woss::operator+=(), woss::operator+=(), woss::operator-=(), woss::operator-=(), woss::operator/(), woss::operator/(), woss::operator/=(), woss::operator/=(), operator=(), Sediment(), set(), and setAttenuationS().
Debug flag
Referenced by setDebug().
|
protected |
Sediment density [g/cm^3]
Referenced by getDensity(), getStringValues(), isValid(), woss::operator*(), woss::operator*(), woss::operator*=(), woss::operator*=(), woss::operator+=(), woss::operator+=(), woss::operator-=(), woss::operator-=(), woss::operator/(), woss::operator/(), woss::operator/=(), woss::operator/=(), operator=(), Sediment(), set(), and setDensity().
|
protected |
Bottom depth. Used for shear wave velocity calculations [m]
Referenced by getDepth(), operator=(), Sediment(), set(), and setDepth().
|
protected |
Sediment type name
Referenced by getType(), woss::operator*(), woss::operator*(), woss::operator*=(), woss::operator*=(), woss::operator+=(), woss::operator+=(), woss::operator-=(), woss::operator-=(), woss::operator/(), woss::operator/(), woss::operator/=(), woss::operator/=(), operator=(), Sediment(), set(), and setType().
|
protected |
Compressional wave velocity [m/s]
Referenced by getStringValues(), getVelocityC(), isValid(), woss::operator*(), woss::operator*(), woss::operator*=(), woss::operator*=(), woss::operator+=(), woss::operator+=(), woss::operator-=(), woss::operator-=(), woss::operator/(), woss::operator/(), woss::operator/=(), woss::operator/=(), operator=(), Sediment(), set(), and setVelocityC().
|
protected |
Shear wave velocity [m/s]
Referenced by getStringValues(), getVelocityS(), isValid(), woss::operator*(), woss::operator*(), woss::operator*=(), woss::operator*=(), woss::operator+=(), woss::operator+=(), woss::operator-=(), woss::operator-=(), woss::operator/(), woss::operator/(), woss::operator/=(), woss::operator/=(), operator=(), Sediment(), set(), and setVelocityS().