AFEPack
公有类型 | 公有成员 | 公有属性 | 私有属性 | 友元
ShapeFunction< value_type, DIM >模板类参考

#include <TemplateElement.h>

类ShapeFunction< value_type, DIM >继承关系图:
BasisFunction< value_type, DIM, TDIM >

所有成员的列表。

公有类型

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_typegradient (const afepack::Point< DIM > &, const std::vector< afepack::Point< DIM > > &) const
std::vector< value_typevalue (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_typegradient (const afepack::Point< DIM > &, const double **) const
std::vector< value_typevalue (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 > &)

详细描述

template<class value_type, int DIM>
class ShapeFunction< value_type, DIM >

Shape function on an element. This class will mainly used to


成员类型定义文档

template<class value_type, int DIM>
typedef value_type ShapeFunction< value_type, DIM >::value_t

成员枚举类型文档

template<class value_type, int DIM>
anonymous enum
枚举值:
dim 

构造及析构函数文档

template<class value_type , int DIM>
ShapeFunction< value_type, DIM >::ShapeFunction ( )

Default contructor.

template<class value_type , int DIM>
ShapeFunction< value_type, DIM >::ShapeFunction ( const ShapeFunction< value_type, DIM > &  s)

Copy contructor.

template<class value_type , int DIM>
ShapeFunction< value_type, DIM >::~ShapeFunction ( )

Destructor.


成员函数文档

template<class value_type, int DIM>
ShapeFunction< value_type, DIM >::DeclException1 ( ExcFileOpen  ,
char *  ,
<< "Can't open library "<<  arg1 
)
template<class value_type, int DIM>
ShapeFunction< value_type, DIM >::DeclException2 ( ExcLoadFunction  ,
char *  ,
char *  ,
<< "Can't load function "<< arg1<< " from library "<<  arg2 
)
template<class value_type , int DIM>
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.

template<class value_type , int DIM>
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.

template<class value_type , int DIM>
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.

template<class value_type , int DIM>
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.

template<class value_type , int DIM>
void ShapeFunction< value_type, DIM >::loadFunction ( )

Open the shared library and load the functions.

template<class value_type , int DIM>
ShapeFunction< value_type, DIM > & ShapeFunction< value_type, DIM >::operator= ( const ShapeFunction< value_type, DIM > &  s)

Copy operator.

template<class value_type , int DIM>
void ShapeFunction< value_type, DIM >::unloadFunction ( )

Close the shared library.

template<class value_type , int DIM>
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.

template<class value_type , int DIM>
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.

template<class value_type , int DIM>
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.

template<class value_type , int DIM>
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.


友元及相关函数文档

template<class value_type, int DIM>
template<class STREAM , class VT , int GDIM>
STREAM& operator<< ( STREAM &  ,
const ShapeFunction< VT, GDIM > &   
) [friend]

Stream output.

template<class value_type, int DIM>
template<class STREAM , class VT , int GDIM>
STREAM& operator>> ( STREAM &  ,
ShapeFunction< VT, GDIM > &   
) [friend]

Stream input.


成员数据文档

template<class value_type, int DIM>
void(* ShapeFunction< value_type, DIM >::gradient_function)(const double *, const double **, void *) [private]

Pointer to gradient function.

template<class value_type, int DIM>
std::string ShapeFunction< value_type, DIM >::gradient_function_name [private]

Name of gradient function.

template<class value_type, int DIM>
void* ShapeFunction< value_type, DIM >::handle [private]

Handle of object to operate on the shared library.

template<class value_type, int DIM>
std::string ShapeFunction< value_type, DIM >::library_name [private]

Shared library name.

template<class value_type, int DIM>
std::string ShapeFunction< value_type, DIM >::library_path
template<class value_type, int DIM>
void(* ShapeFunction< value_type, DIM >::value_function)(const double *, const double **, void *) [private]

Pointer to value function.

template<class value_type, int DIM>
std::string ShapeFunction< value_type, DIM >::value_function_name [private]

Name of value function.


该类的文档由以下文件生成: