FEDEM Solver
R8.0
Source code of the dynamics solver
|
#include <FFaUserFuncPlugin.H>
Public Member Functions | |
bool | validate (const std::string &libName, int nchar=0, char *sign=NULL) |
bool | getSign (int nchar, char *sign) const |
int | getFuncs (int maxUF, int *funcId, bool silence=false) const |
int | getFuncName (int id, int nchar=0, char *name=NULL) const |
int | getParName (int id, int ipar=1, int nchar=0, char *name=NULL) const |
double | getDefaultParVal (int id, int ipar) const |
const char ** | getPixmap (int id) const |
int | getFlag (int id) const |
double | getValue (int bId, int fId, const double *params, double x, int &ierr) const |
double | getValue (int bId, int fId, const double *params, const double *args, int &err) const |
double | getDiff (int bId, int fId, int ia, const double *params, const double *args, int &err) const |
int | wave (int bId, int fId, double d, double g, const double *params, const double *args, double &h, double *u, double *du) const |
Public Member Functions inherited from FFaDynamicLibraryBase | |
bool | load (const std::string &libName, bool silence=false) |
Loads the library named libName. More... | |
bool | unload (const std::string &libName, bool silence=false) |
Unloads the library named libName. More... | |
void | unloadAll () |
Unloads all libraries and clears the function cache. More... | |
bool | areLibsLoaded () const |
Returns whether dynamics libraries have been loaded or not. More... | |
const char * | getLibrary (size_t idx=1) const |
Returns the file name of the dynamic library, if loaded. More... | |
Protected Member Functions | |
FFaUserFuncPlugin () | |
virtual | ~FFaUserFuncPlugin () |
Protected Member Functions inherited from FFaDynamicLibraryBase | |
FFaDynamicLibraryBase () | |
Default constructor. More... | |
virtual | ~FFaDynamicLibraryBase () |
The destructor unloads all dynamically loaded libraries. More... | |
DLPROC | getProcAddr (const std::string &fName, bool silence=false) const |
Returns the function pointer for the named function. More... | |
DLPROC | getProcAddr (const std::string &cName, const std::string &fName, LanguageBinding &lang, bool silence=false) const |
Returns the function pointer for the named function. More... | |
DLPROC | getProcAddress (const std::string &fName, size_t procID) const |
Returns the function pointer for the given function. More... | |
DLPROC | getProcAddress (const std::string &cName, const std::string &fName, LanguageBinding &lang, size_t procID) const |
Returns the function pointer for the given function. More... | |
Protected Member Functions inherited from FFaSingelton< FFaUserFuncPlugin > | |
FFaSingelton () | |
The constructor is protected to allow objects of sub-classes only. More... | |
FFaSingelton (const FFaSingelton &)=delete | |
Disable default copy constructor. More... | |
FFaSingelton & | operator= (const FFaSingelton &)=delete |
Disable default assignment operator. More... | |
Friends | |
class | FFaSingelton< FFaUserFuncPlugin > |
Additional Inherited Members | |
Static Public Member Functions inherited from FFaSingelton< FFaUserFuncPlugin > | |
static FFaUserFuncPlugin * | instance () |
Returns the actual instance of this class. More... | |
static void | removeInstance () |
Deletes the dynamically allocated instance. More... | |
static bool | allocated () |
Returns true, if the instance has been allocated. More... | |
Protected Types inherited from FFaDynamicLibraryBase | |
enum | LanguageBinding { Undefined , C , Fortran } |
Enums defining the supported language bindings. More... | |
|
inlineprotected |
|
inlineprotectedvirtual |
double FFaUserFuncPlugin::getDefaultParVal | ( | int | id, |
int | ipar | ||
) | const |
double FFaUserFuncPlugin::getDiff | ( | int | bId, |
int | fId, | ||
int | ia, | ||
const double * | params, | ||
const double * | args, | ||
int & | err | ||
) | const |
int FFaUserFuncPlugin::getFlag | ( | int | id | ) | const |
int FFaUserFuncPlugin::getFuncName | ( | int | id, |
int | nchar = 0 , |
||
char * | name = NULL |
||
) | const |
int FFaUserFuncPlugin::getFuncs | ( | int | maxUF, |
int * | funcId, | ||
bool | silence = false |
||
) | const |
int FFaUserFuncPlugin::getParName | ( | int | id, |
int | ipar = 1 , |
||
int | nchar = 0 , |
||
char * | name = NULL |
||
) | const |
const char ** FFaUserFuncPlugin::getPixmap | ( | int | id | ) | const |
bool FFaUserFuncPlugin::getSign | ( | int | nchar, |
char * | sign | ||
) | const |
double FFaUserFuncPlugin::getValue | ( | int | bId, |
int | fId, | ||
const double * | params, | ||
const double * | args, | ||
int & | err | ||
) | const |
double FFaUserFuncPlugin::getValue | ( | int | bId, |
int | fId, | ||
const double * | params, | ||
double | x, | ||
int & | ierr | ||
) | const |
bool FFaUserFuncPlugin::validate | ( | const std::string & | libName, |
int | nchar = 0 , |
||
char * | sign = NULL |
||
) |
int FFaUserFuncPlugin::wave | ( | int | bId, |
int | fId, | ||
double | d, | ||
double | g, | ||
const double * | params, | ||
const double * | args, | ||
double & | h, | ||
double * | u, | ||
double * | du | ||
) | const |
|
friend |