AFEPack
|
#include <BoundaryCondition.h>
公有类型 | |
typedef BCondition * | bc_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ֵ뵽УȻӦõ ϡ
typedef BCondition* BCAdmin::bc_ptr_t |
void BCAdmin::add | ( | BC & | b | ) | [inline] |
мһ߽һ߽뵽Ժ add_mark ԺDzԶõġдҪ Ҫµñ
void BCAdmin::apply | ( | const SP & | sp, |
MAT & | A, | ||
XVEC & | u, | ||
BVEC & | f, | ||
bool | preserve_symmetry = true |
||
) | [inline] |
Ӧõϱֵһϵͳϡ
0 ȱʡָڲ
߽ɱ߲ǵϱ߽磬ȥ
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] |