|
AFEPack
|
#include <MovingMesh2D.h>
组�类型 | |
| struct | Domain |
| struct | Edge |
| class | Solver |
| struct | Vertex |
公有类型 | |
| typedef GeometryBM::bmark_t | bound_t |
公有�员 | |
| MovingMesh2D () | |
| virtual | ~MovingMesh2D () |
| const std::vector< double > & | monitor () const |
| std::vector< double > & | monitor () |
| const double & | monitor (const int &i) const |
| double & | monitor (const int &i) |
| const std::vector< Point< 2 > > & | moveDirection () const |
| std::vector< Point< 2 > > & | moveDirection () |
| const Point< 2 > & | moveDirection (const int &i) const |
| Point< 2 > & | moveDirection (const int &i) |
| std::vector< double > | moveDirection (const Point< 2 > &point, const int &element) const |
| std::vector< std::vector < double > > | moveDirection (const std::vector< Point< 2 > > &point, const int &element) const |
| double | moveDirectionDivergence (const int &element) const |
| double | moveStepLength () const |
| double & | moveStepLength () |
| int | moveStep () const |
| int & | moveStep () |
| u_int | solveStep () const |
| u_int & | solveStep () |
| double | tolerence () const |
| double & | tolerence () |
| u_int | maxStep () const |
| u_int & | maxStep () |
| void | moveMesh () |
| void | outputPhysicalMesh (const std::string &file) |
| void | outputLogicalMesh (const std::string &file) |
| virtual void | getMonitor () |
| virtual void | smoothMonitor (int step=1) |
| virtual void | updateMesh () |
| virtual void | updateSolution ()=0 |
| virtual void | outputSolution ()=0 |
| virtual void | getMoveStepLength () |
| void | readDomain (const std::string &file) |
�有�员 | |
| void | getLogicalMesh () |
| void | getMoveDirection () |
| void | readDummy (std::ifstream &is) |
| void | parseBoundary () |
| void | outputMoveDirection (const std::string &) |
�有属性 | |
| Domain | domain |
| std::vector< Point< 2 > > | logical_node |
| double | move_step_length |
| int | n_move_step |
| std::vector< Point< 2 > > | move_direction |
| std::vector< Point< 2 > > | logical_move_direction |
| std::vector< double > | mon |
| std::vector< std::vector< int > > | mb_node |
| std::vector< int > | boundary_mark |
| µÚ i Ìõ±ßÉϵĽڵãµÄÖ¸±ê | |
| SparsityPattern | spM |
| ¸øÇó½âÆ÷ʹÓõIJÄÁϱêʶ | |
| SparseMatrix< double > | M |
| Solver | solver |
| u_int | solve_step |
| ËØÊý±í | |
| u_int | max_step |
| Íø¸ñÒÆ¶¯µÄµü´ú×î´óµü´ú²½Êý£¬È±Ê¡Îª 100£»0 Ϊ²»ÉèÏÞÖÆ | |
| double | tol |
| Íø¸ñÒÆ¶¯½áÊøµÄÏà¶ÔÎó²îÈÝÈ̶ȣ¬È±Ê¡Îª 10%. | |
| double | energy_reduction |
| ½âµ÷ºÍÓ³ÕÕºó£¬ÄÜÁ¿¼õÉÙµÄ°Ù·Ö±È | |
���有属性 | |
| static int | primes [] |
| ËØÊý±í | |
__MovingMesh2D_h__
| MovingMesh2D::MovingMesh2D | ( | ) |
| MovingMesh2D::~MovingMesh2D | ( | ) | [virtual] |
| void MovingMesh2D::getLogicalMesh | ( | ) | [private] |
¼ÆËãÂß¼Íø¸ñµÄ²½Öè·ÖΪÁ½²½£º
1. ÎÒÃÇÔڱ߽çÉϸø¶¨ÏßÐÔÓ³É䣬½âµÒÊϱßÖµÎÊÌâµÄµ÷ºÍÓ³ÕÕ£¬×÷Ϊһ¸ö ³õʼֵ£» 2. ÒԸղŵijõʼֵ£¬½â±ß½ç¿ØÖÆÎÊÌ⣬µÃµ½¸üºÏÊʵĵ÷ºÍÓ³ÕÕ£»
ÏÖÔÚÏÈ×öµÚÒ»²½
Ìø¹ýÄÚ²¿½Úµã
¼ìË÷´ËµãλÓÚÄÄÌõ±ßÉÏ
¾ÍÊÇÕâÌõ±ß
¼ÆËãÎïÀíÇøÓòÉÏ£¬´Ë½ÚµãÔÚ±ßÉÏËùÔÚµÄλÖõıÈÀý
¼ÆËãÂß¼ÇøÓòÉÏ£¬ÏàÓ¦µÄÂß¼½ÚµãµÄ×ø±ê£¬²¢¶ÔÏßÐÔϵͳ½øÐÐÐÞÕý
ÏÖÔÚ×öµÚ¶þ²½
Todo: ...
| void MovingMesh2D::getMonitor | ( | ) | [virtual] |
| void MovingMesh2D::getMoveDirection | ( | ) | [private] |
È¡³ö¿ØÖƺ¯ÊýÖеÄ×îСֵ£¬ÒÔ±ã×öÕýÔò»¯
¼ÆËãÄÜÁ¿µÄϽµ·ù¶È£¬ÓÃÀ´ÅжÏÊÇ·ñ¿ÉÒÔÍ˳ö
| void MovingMesh2D::getMoveStepLength | ( | ) | [virtual] |
| u_int& MovingMesh2D::maxStep | ( | ) | [inline] |
| u_int MovingMesh2D::maxStep | ( | ) | const [inline] |
| double& MovingMesh2D::monitor | ( | const int & | i | ) | [inline] |
| const std::vector<double>& MovingMesh2D::monitor | ( | ) | const [inline] |
| std::vector<double>& MovingMesh2D::monitor | ( | ) | [inline] |
| const double& MovingMesh2D::monitor | ( | const int & | i | ) | const [inline] |
| Point<2>& MovingMesh2D::moveDirection | ( | const int & | i | ) | [inline] |
| std::vector<double> MovingMesh2D::moveDirection | ( | const Point< 2 > & | point, |
| const int & | element | ||
| ) | const |
| std::vector<std::vector<double> > MovingMesh2D::moveDirection | ( | const std::vector< Point< 2 > > & | point, |
| const int & | element | ||
| ) | const |
| const std::vector<Point<2> >& MovingMesh2D::moveDirection | ( | ) | const [inline] |
| std::vector<Point<2> >& MovingMesh2D::moveDirection | ( | ) | [inline] |
| const Point<2>& MovingMesh2D::moveDirection | ( | const int & | i | ) | const [inline] |
| double MovingMesh2D::moveDirectionDivergence | ( | const int & | element | ) | const |
| void MovingMesh2D::moveMesh | ( | ) |
³¬¹ýÔ¤Éè²½Êý×î´óÖµ£¬ÔòÍ£Ö¹
| int MovingMesh2D::moveStep | ( | ) | const [inline] |
| int& MovingMesh2D::moveStep | ( | ) | [inline] |
| double MovingMesh2D::moveStepLength | ( | ) | const [inline] |
| double& MovingMesh2D::moveStepLength | ( | ) | [inline] |
| void MovingMesh2D::outputLogicalMesh | ( | const std::string & | file | ) |
| void MovingMesh2D::outputMoveDirection | ( | const std::string & | file | ) | [private] |
| void MovingMesh2D::outputPhysicalMesh | ( | const std::string & | file | ) |
| virtual void MovingMesh2D::outputSolution | ( | ) | [pure virtual] |
| void MovingMesh2D::parseBoundary | ( | ) | [private] |
½«µÚ j Ìõ±ßÉϵIJÄÁϱêʶÉèÖÃΪµÚ j ¸öËØÊý
Íø¸ñµÄÿÌõ±ßλÓÚÇøÓòµÄ±ßµÄÐòºÅ
¶ÔËùÓеıß×öÑ»·
ѰÕÒλÓڱ߽çÉϵıߣ¬¶øÕâÌõ±ßÔÚÄÚ²¿
·ñÔòËÑË÷
¶Ô domain ¶ÔÏóÖеÄÐÅÏ¢½øÐиüкͽøÒ»²½µÄ´¦Àí
½«±ß½çµÄ²ÄÁϱêʶÉèΪµÚ i ¸öËØÊý
ÉèÖÃÿ¸ö±ßÉϵĵ¥Î»·¨ÏòÏòÁ¿
ÎïÀíÇøÓòÉϵķ¨ÏòÁ¿
Âß¼ÇøÓòÉϵķ¨ÏòÁ¿
½«¶¥µãµÄ²ÄÁϱêʶÉèΪÆäËùÊôÓÚµÄÁ½¸ö±ßµÄ²ÄÁϱêʶµÄ³Ë»ý
ͳ¼ÆÃ¿ÌõÇøÓò±ß½çÉϵĽڵãµÄ¸öÊý£¬²¢ÎªÃ¿¸ö½ÚµãÉèÖÃÕýÈ·µÄ²ÄÁϱêʶ
¶ÔËùÓеıß×öÑ»·
ÕâÌõ±ßÔÚÄÚ²¿£¬ÎÒÃÇÌø¹ýÈ¥
¿¼ÂÇÆäÁ½¸ö¶Ëµã
ÄÇô¾ÍÏÈÉèÖÃΪ±¾Ìõ±ßµÄ²ÄÁϱêʶ
| void MovingMesh2D::readDomain | ( | const std::string & | file | ) |
ȱʡֵÉèΪ 1
×¼±¸Ï¡Êè¾ØÕóµÄÏ¡ÊèÄ£°å
< ¶Ôÿ¸ö±ß×öÑ»·
| void MovingMesh2D::readDummy | ( | std::ifstream & | is | ) | [private] |
| void MovingMesh2D::smoothMonitor | ( | int | step = 1 | ) | [virtual] |
| u_int& MovingMesh2D::solveStep | ( | ) | [inline] |
| u_int MovingMesh2D::solveStep | ( | ) | const [inline] |
| double MovingMesh2D::tolerence | ( | ) | const [inline] |
| double& MovingMesh2D::tolerence | ( | ) | [inline] |
| void MovingMesh2D::updateMesh | ( | ) | [virtual] |
| virtual void MovingMesh2D::updateSolution | ( | ) | [pure virtual] |
std::vector<int> MovingMesh2D::boundary_mark [private] |
µÚ i Ìõ±ßÉϵĽڵãµÄÖ¸±ê
Domain MovingMesh2D::domain [private] |
double MovingMesh2D::energy_reduction [private] |
½âµ÷ºÍÓ³ÕÕºó£¬ÄÜÁ¿¼õÉٵİٷֱÈ
std::vector<Point<2> > MovingMesh2D::logical_move_direction [private] |
std::vector<Point<2> > MovingMesh2D::logical_node [private] |
SparseMatrix<double> MovingMesh2D::M [private] |
u_int MovingMesh2D::max_step [private] |
Íø¸ñÒÆ¶¯µÄµü´ú×î´óµü´ú²½Êý£¬È±Ê¡Îª 100£»0 Ϊ²»ÉèÏÞÖÆ
Çó½âÆ÷Çó½âʱºòʹÓõĵü´ú²½Êý£¬È±Ê¡Îª 5
std::vector<std::vector<int> > MovingMesh2D::mb_node [private] |
std::vector<double> MovingMesh2D::mon [private] |
std::vector<Point<2> > MovingMesh2D::move_direction [private] |
double MovingMesh2D::move_step_length [private] |
int MovingMesh2D::n_move_step [private] |
int MovingMesh2D::primes [static, private] |
{
02, 03, 05, 07, 11,
13, 17, 19, 23, 29,
31, 37, 41, 43, 47,
53, 59, 61, 67, 71,
73, 79, 83, 89, 91
}
ËØÊý±í
u_int MovingMesh2D::solve_step [private] |
ËØÊý±í
Solver MovingMesh2D::solver [private] |
SparsityPattern MovingMesh2D::spM [private] |
¸øÇó½âÆ÷ʹÓõIJÄÁϱêʶ
double MovingMesh2D::tol [private] |
Íø¸ñÒÆ¶¯½áÊøµÄÏà¶ÔÎó²îÈÝÈ̶ȣ¬È±Ê¡Îª 10%.
1.7.4