AFEPack
公有类型 | 公有成员 | 私有属性
BoundaryFunction< value_type, DIM, DOW, TDIM, Number >模板类参考

#include <FEMSpace.h>

类BoundaryFunction< value_type, DIM, DOW, TDIM, Number >继承关系图:
BoundaryCondition< value_type, DIM, DOW, TDIM, Number > BoundaryConditionInfo

所有成员的列表。

公有类型

typedef BoundaryCondition
< value_type, DIM, DOW, TDIM,
Number >::bmark_t 
bmark_t
typedef BoundaryCondition
< value_type, DIM, DOW, TDIM,
Number >::Type 
Type

公有成员

 BoundaryFunction ()
 BoundaryFunction (const Type &t, const bmark_t &m, const Function< Number > &fun)
 BoundaryFunction (const Type &t, const bmark_t &m, value_type(*fun)(const double *), std::vector< value_type >(*grad)(const double *)=NULL)
 BoundaryFunction (const BoundaryFunction< value_type, DIM, DOW, TDIM, Number > &b)
virtual ~BoundaryFunction ()
void reinit (const Type &t, const bmark_t &m, value_type(*fun)(const double *), std::vector< value_type >(*grad)(const double *)=NULL)
virtual Number value (const afepack::Point< DOW > &p) const
virtual std::vector< Numbergradient (const afepack::Point< DOW > &p) const

私有属性

bool is_newed
const Function< Number > * f

详细描述

template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
class BoundaryFunction< value_type, DIM, DOW, TDIM, Number >

Boundary condition adopting a function as its value method. This class is used to make a general C function be usable for the library.


成员类型定义文档

template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
typedef BoundaryCondition<value_type,DIM,DOW,TDIM,Number>::bmark_t BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::bmark_t
template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
typedef BoundaryCondition<value_type,DIM,DOW,TDIM,Number>::Type BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::Type

构造及析构函数文档

template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::BoundaryFunction ( ) [inline]
template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::BoundaryFunction ( const Type t,
const bmark_t m,
const Function< Number > &  fun 
) [inline]
template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::BoundaryFunction ( const Type t,
const bmark_t m,
value_type(*)(const double *)  fun,
std::vector< value_type >(*)(const double *)  grad = NULL 
) [inline]
template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::BoundaryFunction ( const BoundaryFunction< value_type, DIM, DOW, TDIM, Number > &  b) [inline]
template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
virtual BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::~BoundaryFunction ( ) [inline, virtual]

成员函数文档

template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
virtual std::vector<Number> BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::gradient ( const afepack::Point< DOW > &  p) const [inline, virtual]
template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
void BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::reinit ( const Type t,
const bmark_t m,
value_type(*)(const double *)  fun,
std::vector< value_type >(*)(const double *)  grad = NULL 
) [inline]
template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
virtual Number BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::value ( const afepack::Point< DOW > &  p) const [inline, virtual]

成员数据文档

template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
const Function<Number>* BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::f [private]
template<class value_type, int DIM, int DOW = DIM, int TDIM = DIM, typename Number = double>
bool BoundaryFunction< value_type, DIM, DOW, TDIM, Number >::is_newed [private]

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