OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Wrapper for values of varying types. More...
#include <function.h>
Public Types | |
enum | FunctionArgumentType { FAT_double, FAT_FloatArray, FAT_int, FAT_IntArray } |
Public Member Functions | |
FunctionArgument (double val) | |
FunctionArgument (FloatArray val) | |
FunctionArgument (int val) | |
FunctionArgument (IntArray val) | |
Public Attributes | |
FunctionArgumentType | type |
Determines which of the types the instance points towards. More... | |
double | val0 |
FloatArray | val1 |
int | val2 |
IntArray | val3 |
Wrapper for values of varying types.
Used in lists of function arguments.
Definition at line 60 of file function.h.
Enumerator | |
---|---|
FAT_double | |
FAT_FloatArray | |
FAT_int | |
FAT_IntArray |
Definition at line 63 of file function.h.
|
inline |
Definition at line 78 of file function.h.
|
inline |
Definition at line 79 of file function.h.
|
inline |
Definition at line 80 of file function.h.
|
inline |
Definition at line 81 of file function.h.
FunctionArgumentType oofem::FunctionArgument::type |
Determines which of the types the instance points towards.
Definition at line 71 of file function.h.
Referenced by oofem::ScalarFunction::eval(), oofem::CalculatorFunction::evaluate(), and oofem::PythonExpression::getDict().
double oofem::FunctionArgument::val0 |
Definition at line 73 of file function.h.
Referenced by oofem::ScalarFunction::eval(), oofem::CalculatorFunction::evaluate(), and oofem::PythonExpression::getDict().
FloatArray oofem::FunctionArgument::val1 |
Definition at line 74 of file function.h.
Referenced by oofem::ScalarFunction::eval(), oofem::CalculatorFunction::evaluate(), and oofem::PythonExpression::getDict().
int oofem::FunctionArgument::val2 |
Definition at line 75 of file function.h.
Referenced by oofem::ScalarFunction::eval(), oofem::CalculatorFunction::evaluate(), and oofem::PythonExpression::getDict().
IntArray oofem::FunctionArgument::val3 |
Definition at line 76 of file function.h.
Referenced by oofem::ScalarFunction::eval(), oofem::CalculatorFunction::evaluate(), and oofem::PythonExpression::getDict().