SeExpr
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SeDeepWater< T > Struct Template Reference

#include <ExprDeepWater.h>

Public Member Functions

 SeDeepWater ()
 
virtual ~SeDeepWater ()
 
void setParams (const SeDeepWaterParams &paramsIn)
 
sqr (T x)
 
toIndex (const T x)
 
fromIndex (const T index)
 
fromLog (const T x)
 
toLog (const T z)
 
powerLaw (const T x, const SeDeepWaterParams &params)
 
rescale (const T x)
 
void generateSpectrum ()
 
getValue (double param) const
 Evaluates curve and returns full value. More...
 
getKLow ()
 
getKHigh ()
 
bool inGrid ()
 

Static Public Member Functions

static T kscale ()
 
static T bottom_offset ()
 

Public Attributes

gravity
 
size_t gridSize
 
SeDeepWaterParams params
 
std::vector< T > energy
 
klowindex
 
khighindex
 
kmaxindex
 

Detailed Description

template<class T>
struct SeDeepWater< T >

Definition at line 53 of file ExprDeepWater.h.

Constructor & Destructor Documentation

template<class T >
SeDeepWater< T >::SeDeepWater ( )
inline

Definition at line 55 of file ExprDeepWater.h.

template<class T >
virtual SeDeepWater< T >::~SeDeepWater ( )
inlinevirtual

Definition at line 56 of file ExprDeepWater.h.

Member Function Documentation

template<class T >
static T SeDeepWater< T >::bottom_offset ( )
inlinestatic

Definition at line 79 of file ExprDeepWater.h.

Referenced by SeDeepWater< T >::fromLog(), and SeDeepWater< T >::toLog().

template<class T >
T SeDeepWater< T >::fromIndex ( const T  index)
inline

Definition at line 74 of file ExprDeepWater.h.

References index(), and SeDeepWater< T >::kscale().

Referenced by SeDeepWater< T >::generateSpectrum().

template<class T >
T SeDeepWater< T >::fromLog ( const T  x)
inline

Definition at line 81 of file ExprDeepWater.h.

References SeDeepWater< T >::bottom_offset().

Referenced by SeDeepWater< T >::generateSpectrum().

template<class T >
void SeDeepWater< T >::generateSpectrum ( )
inline
template<class T >
T SeDeepWater< T >::getKHigh ( )
inline

Definition at line 143 of file ExprDeepWater.h.

References SeDeepWater< T >::energy, and SeDeepWater< T >::khighindex.

Referenced by DeepWaterScene::drawGrid().

template<class T >
T SeDeepWater< T >::getKLow ( )
inline

Definition at line 138 of file ExprDeepWater.h.

References SeDeepWater< T >::energy, and SeDeepWater< T >::klowindex.

Referenced by DeepWaterScene::drawGrid().

template<class T >
T SeDeepWater< T >::getValue ( double  param) const
inline

Evaluates curve and returns full value.

Definition at line 130 of file ExprDeepWater.h.

References SeDeepWater< T >::energy, and index().

Referenced by DeepWaterScene::drawPoly().

template<class T >
bool SeDeepWater< T >::inGrid ( )
inline
template<class T >
static T SeDeepWater< T >::kscale ( )
inlinestatic

Definition at line 67 of file ExprDeepWater.h.

Referenced by SeDeepWater< T >::fromIndex(), and SeDeepWater< T >::toIndex().

template<class T >
T SeDeepWater< T >::powerLaw ( const T  x,
const SeDeepWaterParams params 
)
inline
template<class T >
T SeDeepWater< T >::rescale ( const T  x)
inline

Definition at line 96 of file ExprDeepWater.h.

References pow().

Referenced by SeDeepWater< T >::generateSpectrum().

template<class T >
void SeDeepWater< T >::setParams ( const SeDeepWaterParams paramsIn)
inline
template<class T >
T SeDeepWater< T >::sqr ( x)
inline

Definition at line 63 of file ExprDeepWater.h.

References x.

Referenced by SeDeepWater< T >::generateSpectrum(), and SeDeepWater< T >::powerLaw().

template<class T >
T SeDeepWater< T >::toIndex ( const T  x)
inline

Definition at line 69 of file ExprDeepWater.h.

References SeDeepWater< T >::kscale().

Referenced by SeDeepWater< T >::generateSpectrum().

template<class T >
T SeDeepWater< T >::toLog ( const T  z)
inline

Definition at line 86 of file ExprDeepWater.h.

References SeDeepWater< T >::bottom_offset().

Referenced by SeDeepWater< T >::generateSpectrum().

Member Data Documentation

template<class T >
std::vector<T> SeDeepWater< T >::energy
template<class T >
T SeDeepWater< T >::gravity

Definition at line 150 of file ExprDeepWater.h.

Referenced by SeDeepWater< T >::generateSpectrum().

template<class T >
size_t SeDeepWater< T >::gridSize
template<class T >
T SeDeepWater< T >::khighindex
template<class T >
T SeDeepWater< T >::klowindex
template<class T >
T SeDeepWater< T >::kmaxindex
template<class T >
SeDeepWaterParams SeDeepWater< T >::params

The documentation for this struct was generated from the following file: