MBDyn-1.7.3
|
#include "mbconfig.h"
#include <cmath>
#include <typeinfo>
#include "myassert.h"
#include "ScalarFunctionsImpl.h"
#include "interp.h"
#include "mbpar.h"
#include "dataman.h"
Go to the source code of this file.
Classes | |
struct | ptr_cast_helper< T1, T2 > |
struct | ptr_cast_helper< T1 *, T2 > |
struct | ptr_cast_helper< T1 *const, T2 > |
struct | ptr_cast_helper< const T1 *, T2 > |
struct | ptr_cast_helper< const T1 *const, T2 > |
struct | ConstSFR |
struct | LinearSFR |
struct | PowSFR |
struct | LogSFR |
struct | ExpSFR |
struct | CubicSplineSFR |
struct | MultiLinearSFR |
struct | ChebychevSFR |
struct | SumSFR |
struct | SubSFR |
struct | MulSFR |
struct | DivSFR |
struct | SFWordSetType |
class | ScalarFunctionDriveCaller |
struct | ScalarFunctionDCR |
class | ScalarFunctionIsotropicCL< T, Tder > |
class | ScalarFunctionIsotropicCL< doublereal, doublereal > |
struct | ScalarFunctionIsotropicCLR< T, Tder > |
class | ScalarFunctionOrthotropicCL< T, Tder > |
struct | ScalarFunctionOrthotropicCLR< T, Tder > |
Typedefs | |
typedef std::map< std::string, const ScalarFunctionRead *, ltstrcase > | SFReadType |
Functions | |
template<class T1 , class T2 > | |
T1 | ptr_cast (T2 &arg) |
const BasicScalarFunction *const | ParseScalarFunction (MBDynParser &HP, DataManager *const pDM) |
bool | SetSF (const std::string &s, const ScalarFunctionRead *rf) |
void | InitSF (void) |
void | DestroySF (void) |
Variables | |
static SFReadType | SFRead |
static SFWordSetType | SFWordSet |
static unsigned | done = 0 |
typedef std::map<std::string, const ScalarFunctionRead *, ltstrcase> SFReadType |
Definition at line 1000 of file ScalarFunctionsImpl.cc.
void DestroySF | ( | void | ) |
Definition at line 1527 of file ScalarFunctionsImpl.cc.
References done, MBDYN_EXCEPT_ARGS, and SFRead.
Referenced by MBDynParser::~MBDynParser().
void InitSF | ( | void | ) |
Definition at line 1409 of file ScalarFunctionsImpl.cc.
References ASSERT, done, MBDYN_EXCEPT_ARGS, SetCL1D(), SetCL3D(), SetCL6D(), SetDriveCallerData(), and SetSF().
Referenced by MBDynParser::MBDynParser().
const BasicScalarFunction* const ParseScalarFunction | ( | MBDynParser & | HP, |
DataManager *const | pDM | ||
) |
Definition at line 1011 of file ScalarFunctionsImpl.cc.
References func(), IncludeParser::GetLineData(), MBDynParser::GetScalarFunction(), HighParser::GetStringWithDelims(), HighParser::IsWord(), MBDYN_EXCEPT_ARGS, MBDynParser::SetScalarFunction(), and SFRead.
Referenced by MBDynParser::GetScalarFunction(), ParseFriction(), ScalarFuncGR::Read(), NLSFViscoElasticCLR< T, Tder, Typ >::Read(), NLPViscoElasticCLR< T, Tder, Typ >::Read(), SumSFR::Read(), SubSFR::Read(), MulSFR::Read(), DivSFR::Read(), ScalarFunctionDCR::Read(), ScalarFunctionIsotropicCLR< T, Tder >::Read(), ScalarFunctionOrthotropicCLR< T, Tder >::Read(), and MBDynParser::ScalarFunction_int().
T1 ptr_cast | ( | T2 & | arg | ) |
Definition at line 126 of file ScalarFunctionsImpl.cc.
References ptr_cast_helper< T1, T2 >::cast().
Referenced by ScalarFunctionDriveCaller::dGetP().
bool SetSF | ( | const std::string & | s, |
const ScalarFunctionRead * | rf | ||
) |
Definition at line 1399 of file ScalarFunctionsImpl.cc.
References SFRead.
Referenced by InitSF(), mbdyn_octave_set(), and module_init().
|
static |
Definition at line 1406 of file ScalarFunctionsImpl.cc.
Referenced by DestroySF(), and InitSF().
|
static |
Definition at line 1001 of file ScalarFunctionsImpl.cc.
Referenced by DestroySF(), SFWordSetType::IsWord(), ParseScalarFunction(), and SetSF().
|
static |
Definition at line 1008 of file ScalarFunctionsImpl.cc.