FEDEM Solver
R8.0
Source code of the dynamics solver
|
#include <FFaMathExpr.H>
Public Member Functions | |
FFaMathFunction () | |
An object of type FFaMathFunction is created. Constructor. More... | |
FFaMathFunction (double(*)(double)) | |
An object of type FFaMathFunction is created. Constructor. More... | |
FFaMathFunction (const FFaMathExpr &, FFaMathVar *) | |
An object of type FFaMathFunction is created. Constructor. More... | |
FFaMathFunction (const FFaMathExpr &, int, FFaMathVar **) | |
An object of type FFaMathFunction is created. Constructor. More... | |
FFaMathFunction (const FFaMathFunction &)=delete | |
~FFaMathFunction () | |
Destructor. More... | |
FFaMathFunction & | operator= (const FFaMathFunction &)=delete |
void | SetName (const char *) |
Sets the name of the function. More... | |
double | Val (double *) const |
Returns the function value. More... | |
bool | operator== (const FFaMathFunction &) const |
Overloaded equal-to operator. More... | |
FFaMathExpr | operator() (const FFaMathExpr &) |
Public Attributes | |
double(* | pfuncval )(double) |
char * | name |
signed char | type |
FFaMathExpr | op |
int | nvars |
FFaMathVar ** | ppvar |
Private Attributes | |
double * | buf |
FFaMathFunction::FFaMathFunction | ( | ) |
An object of type FFaMathFunction is created. Constructor.
FFaMathFunction::FFaMathFunction | ( | double(*)(double) | pfuncvalp | ) |
An object of type FFaMathFunction is created. Constructor.
FFaMathFunction::FFaMathFunction | ( | const FFaMathExpr & | opp, |
FFaMathVar * | pvarp | ||
) |
An object of type FFaMathFunction is created. Constructor.
[in] | opp | Object of type FFaMathExpr |
pvarp | Variable of type FFaMathVar |
FFaMathFunction::FFaMathFunction | ( | const FFaMathExpr & | opp, |
int | nvarsp, | ||
FFaMathVar ** | ppvarp | ||
) |
An object of type FFaMathFunction is created. Constructor.
[in] | opp | Object of type FFaMathExpr |
[in] | nvarsp | varibale index |
ppvarp | Variable of type FFaMathVar |
|
delete |
FFaMathFunction::~FFaMathFunction | ( | ) |
Destructor.
FFaMathExpr FFaMathFunction::operator() | ( | const FFaMathExpr & | anExpr | ) |
|
delete |
bool FFaMathFunction::operator== | ( | const FFaMathFunction & | f2 | ) | const |
Overloaded equal-to operator.
[in] | f2 | The FFaMathFunction object to compare with |
void FFaMathFunction::SetName | ( | const char * | s | ) |
Sets the name of the function.
[in] | s | The function name |
double FFaMathFunction::Val | ( | double * | pv | ) | const |
Returns the function value.
pv | Value of the function argument |
|
private |
char* FFaMathFunction::name |
int FFaMathFunction::nvars |
FFaMathExpr FFaMathFunction::op |
double(* FFaMathFunction::pfuncval) (double) |
FFaMathVar** FFaMathFunction::ppvar |
signed char FFaMathFunction::type |