FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | Public Attributes | Private Attributes | List of all members
FFaMathFunction Class Reference

#include <FFaMathExpr.H>

Collaboration diagram for FFaMathFunction:
Collaboration graph
[legend]

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...
 
FFaMathFunctionoperator= (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
 

Constructor & Destructor Documentation

◆ FFaMathFunction() [1/5]

FFaMathFunction::FFaMathFunction ( )

An object of type FFaMathFunction is created. Constructor.

◆ FFaMathFunction() [2/5]

FFaMathFunction::FFaMathFunction ( double(*)(double)  pfuncvalp)

An object of type FFaMathFunction is created. Constructor.

◆ FFaMathFunction() [3/5]

FFaMathFunction::FFaMathFunction ( const FFaMathExpr opp,
FFaMathVar pvarp 
)

An object of type FFaMathFunction is created. Constructor.

Parameters
[in]oppObject of type FFaMathExpr
pvarpVariable of type FFaMathVar

◆ FFaMathFunction() [4/5]

FFaMathFunction::FFaMathFunction ( const FFaMathExpr opp,
int  nvarsp,
FFaMathVar **  ppvarp 
)

An object of type FFaMathFunction is created. Constructor.

Parameters
[in]oppObject of type FFaMathExpr
[in]nvarspvaribale index
ppvarpVariable of type FFaMathVar

◆ FFaMathFunction() [5/5]

FFaMathFunction::FFaMathFunction ( const FFaMathFunction )
delete

◆ ~FFaMathFunction()

FFaMathFunction::~FFaMathFunction ( )

Destructor.

Member Function Documentation

◆ operator()()

FFaMathExpr FFaMathFunction::operator() ( const FFaMathExpr anExpr)

◆ operator=()

FFaMathFunction& FFaMathFunction::operator= ( const FFaMathFunction )
delete

◆ operator==()

bool FFaMathFunction::operator== ( const FFaMathFunction f2) const

Overloaded equal-to operator.

Parameters
[in]f2The FFaMathFunction object to compare with

◆ SetName()

void FFaMathFunction::SetName ( const char *  s)

Sets the name of the function.

Parameters
[in]sThe function name

◆ Val()

double FFaMathFunction::Val ( double *  pv) const

Returns the function value.

Parameters
pvValue of the function argument

Member Data Documentation

◆ buf

double* FFaMathFunction::buf
private

◆ name

char* FFaMathFunction::name

◆ nvars

int FFaMathFunction::nvars

◆ op

FFaMathExpr FFaMathFunction::op

◆ pfuncval

double(* FFaMathFunction::pfuncval) (double)

◆ ppvar

FFaMathVar** FFaMathFunction::ppvar

◆ type

signed char FFaMathFunction::type

The documentation for this class was generated from the following files: