AFEPack
|
#include <TemplateElement.h>
公有类型 | |
enum | { dim = DIM } |
typedef value_type | value_t |
公有成员 | |
ShapeFunction () | |
ShapeFunction (const ShapeFunction< value_type, DIM > &) | |
~ShapeFunction () | |
ShapeFunction< value_type, DIM > & | operator= (const ShapeFunction< value_type, DIM > &) |
void | loadFunction () |
void | unloadFunction () |
value_type | value (const afepack::Point< DIM > &, const std::vector< afepack::Point< DIM > > &) const |
std::vector< value_type > | gradient (const afepack::Point< DIM > &, const std::vector< afepack::Point< DIM > > &) const |
std::vector< value_type > | value (const std::vector< afepack::Point< DIM > > &, const std::vector< afepack::Point< DIM > > &) const |
std::vector< std::vector < value_type > > | gradient (const std::vector< afepack::Point< DIM > > &, const std::vector< afepack::Point< DIM > > &) const |
value_type | value (const afepack::Point< DIM > &, const double **) const |
std::vector< value_type > | gradient (const afepack::Point< DIM > &, const double **) const |
std::vector< value_type > | value (const std::vector< afepack::Point< DIM > > &, const double **) const |
std::vector< std::vector < value_type > > | gradient (const std::vector< afepack::Point< DIM > > &, const double **) const |
DeclException1 (ExcFileOpen, char *,<< "Can't open library "<< arg1) | |
DeclException2 (ExcLoadFunction, char *, char *,<< "Can't load function "<< arg1<< " from library "<< arg2) | |
公有属性 | |
std::string | library_path |
私有属性 | |
void * | handle |
std::string | library_name |
std::string | value_function_name |
std::string | gradient_function_name |
void(* | value_function )(const double *, const double **, void *) |
void(* | gradient_function )(const double *, const double **, void *) |
友元 | |
template<class STREAM , class VT , int GDIM> | |
STREAM & | operator>> (STREAM &, ShapeFunction< VT, GDIM > &) |
template<class STREAM , class VT , int GDIM> | |
STREAM & | operator<< (STREAM &, const ShapeFunction< VT, GDIM > &) |
Shape function on an element. This class will mainly used to
typedef value_type ShapeFunction< value_type, DIM >::value_t |
ShapeFunction< value_type, DIM >::ShapeFunction | ( | ) |
Default contructor.
ShapeFunction< value_type, DIM >::ShapeFunction | ( | const ShapeFunction< value_type, DIM > & | s | ) |
Copy contructor.
ShapeFunction< value_type, DIM >::~ShapeFunction | ( | ) |
Destructor.
ShapeFunction< value_type, DIM >::DeclException1 | ( | ExcFileOpen | , |
char * | , | ||
<< "Can't open library "<< | arg1 | ||
) |
ShapeFunction< value_type, DIM >::DeclException2 | ( | ExcLoadFunction | , |
char * | , | ||
char * | , | ||
<< "Can't load function "<< arg1<< " from library "<< | arg2 | ||
) |
std::vector< value_type > ShapeFunction< value_type, DIM >::gradient | ( | const afepack::Point< DIM > & | p, |
const std::vector< afepack::Point< DIM > > & | v | ||
) | const [inline] |
Gradient of the basis function on a point.
std::vector< std::vector< value_type > > ShapeFunction< value_type, DIM >::gradient | ( | const std::vector< afepack::Point< DIM > > & | p, |
const std::vector< afepack::Point< DIM > > & | v | ||
) | const [inline] |
Value of the basis function on points.
std::vector< value_type > ShapeFunction< value_type, DIM >::gradient | ( | const afepack::Point< DIM > & | p, |
const double ** | v1 | ||
) | const [inline] |
Gradient of the basis function on a point.
std::vector< std::vector< value_type > > ShapeFunction< value_type, DIM >::gradient | ( | const std::vector< afepack::Point< DIM > > & | p, |
const double ** | v1 | ||
) | const [inline] |
Gradient of the basis function on points.
void ShapeFunction< value_type, DIM >::loadFunction | ( | ) |
Open the shared library and load the functions.
ShapeFunction< value_type, DIM > & ShapeFunction< value_type, DIM >::operator= | ( | const ShapeFunction< value_type, DIM > & | s | ) |
Copy operator.
void ShapeFunction< value_type, DIM >::unloadFunction | ( | ) |
Close the shared library.
value_type ShapeFunction< value_type, DIM >::value | ( | const afepack::Point< DIM > & | p, |
const std::vector< afepack::Point< DIM > > & | v | ||
) | const [inline] |
Value of the basis function on a point.
std::vector< value_type > ShapeFunction< value_type, DIM >::value | ( | const std::vector< afepack::Point< DIM > > & | p, |
const std::vector< afepack::Point< DIM > > & | v | ||
) | const [inline] |
Value of the basis function on points.
value_type ShapeFunction< value_type, DIM >::value | ( | const afepack::Point< DIM > & | p, |
const double ** | v1 | ||
) | const [inline] |
Value of the basis function on a point.
std::vector< value_type > ShapeFunction< value_type, DIM >::value | ( | const std::vector< afepack::Point< DIM > > & | p, |
const double ** | v1 | ||
) | const [inline] |
Value of the basis function on points.
STREAM& operator<< | ( | STREAM & | , |
const ShapeFunction< VT, GDIM > & | |||
) | [friend] |
Stream output.
STREAM& operator>> | ( | STREAM & | , |
ShapeFunction< VT, GDIM > & | |||
) | [friend] |
Stream input.
void(* ShapeFunction< value_type, DIM >::gradient_function)(const double *, const double **, void *) [private] |
Pointer to gradient function.
std::string ShapeFunction< value_type, DIM >::gradient_function_name [private] |
Name of gradient function.
void* ShapeFunction< value_type, DIM >::handle [private] |
Handle of object to operate on the shared library.
std::string ShapeFunction< value_type, DIM >::library_name [private] |
Shared library name.
std::string ShapeFunction< value_type, DIM >::library_path |
void(* ShapeFunction< value_type, DIM >::value_function)(const double *, const double **, void *) [private] |
Pointer to value function.
std::string ShapeFunction< value_type, DIM >::value_function_name [private] |
Name of value function.