AFEPack
公有类型 | 公有成员 | 私有属性
BCAdmin类参考

#include <BoundaryCondition.h>

所有成员的列表。

公有类型

typedef BConditionbc_ptr_t

公有成员

template<class SP , class MAT , class XVEC , class BVEC >
void apply (const SP &sp, MAT &A, XVEC &u, BVEC &f, bool preserve_symmetry=true)
template<class SP , class VEC >
void clear_entry (const SP &sp, VEC &f)
template<class BC >
void add (BC &b)
bc_ptr_t find (int bm) const

私有属性

std::map< int, bc_ptr_t,
std::less< int > > 
_map

详细描述

߽һѵı߽ȻھضIJ ʶɶȴʹӦı߽Ŀǰ໹ֲܴڣֻԶ һµĵϱֵһָǣ

£ĴĽ

ʹñж⼸ĵʹ£

    BCFunction<Point<DIM>, double> bc(BCondition::DIRICHLET, u_b);
    bc.add_mark(5, 1, 2, 3, 4, 5);
    BCAdmin bc_admin;
    bc_admin.add(bc);
    bc_admin.apply(fem_space, mat, u_h, rhs);
 

жһϱֵȡֵʽɺ u_b Ȼ 5 ʶֱΪ 1, 2, 3, 4, 5ֵ뵽УȻӦõ ϡ


成员类型定义文档


成员函数文档

template<class BC >
void BCAdmin::add ( BC &  b) [inline]

мһ߽һ߽뵽Ժ add_mark ԺDzԶõġдҪ Ҫµñ

template<class SP , class MAT , class XVEC , class BVEC >
void BCAdmin::apply ( const SP &  sp,
MAT &  A,
XVEC &  u,
BVEC &  f,
bool  preserve_symmetry = true 
) [inline]

Ӧõϱֵһϵͳϡ

0 ȱʡָڲ

߽ɱ߲ǵϱ߽磬ȥ

template<class SP , class VEC >
void BCAdmin::clear_entry ( const SP &  sp,
VEC &  f 
) [inline]

f ɱɶָͬϵԪ㡣

0 ȱʡָڲ

bc_ptr_t BCAdmin::find ( int  bm) const [inline]

ҳӦڲϱʶ bm ıָ߽룬ûҵ򷵻 NULL


成员数据文档

std::map<int, bc_ptr_t, std::less<int> > BCAdmin::_map [private]

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