TMultiGrid2D::TMultiGrid2D |
( |
int |
n_problems, |
|
|
int |
n_parameters, |
|
|
double * |
parameters |
|
) |
| |
void TMultiGrid2D::AddLevel |
( |
TMGLevel2D * |
MGLevel | ) |
|
void TMultiGrid2D::Cycle |
( |
int |
i, |
|
|
double & |
res |
|
) |
| |
cycle on level i
Copy Values (own+Hallo) to Own FeFunct sol Copy Own FeFunct sol To Values (own+Hallo) defect restriction from level+1 to level one cycle on level i
first restrict defect to coarse sol, then copy coarse own sol to all (hallo) coarse rhs
first restrict to coarse sol, then copy coarse sol to all (hallo) coarse rhs
return i-th level as TMGLevel object
int TMultiGrid2D::GetN_Levels |
( |
| ) |
|
|
inline |
return number of multi grid levels
void TMultiGrid2D::ReplaceLevel |
( |
int |
i, |
|
|
TMGLevel2D * |
MGLevel |
|
) |
| |
void TMultiGrid2D::RestrictToAllGrids |
( |
| ) |
|
restrict u1, u2 from finest grid to all coarser grids
restrict solution from finest grid to all coarser grids
void TMultiGrid2D::SetDirichletNodes |
( |
int |
i | ) |
|
set correct values for Dirichlet nodes on grid i
void TMultiGrid2D::SetRecursion |
( |
int |
levels | ) |
|
set recursion for multigrid
double** TMultiGrid2D::AuxVectors[MAXN_LEVELS] |
|
protected |
double** TMultiGrid2D::FunctionVectors[MAXN_LEVELS] |
|
protected |
array of function vectors on each level
int TMultiGrid2D::mg_recursions[MAXN_LEVELS] |
|
protected |
TMGLevel2D* TMultiGrid2D::MultiGridLevels[MAXN_LEVELS] |
|
protected |
array of multi grid levels
int TMultiGrid2D::N_Levels |
|
protected |
int TMultiGrid2D::N_Parameters |
|
protected |
int TMultiGrid2D::N_Problems |
|
protected |
double* TMultiGrid2D::Parameters |
|
protected |
array of double parameters
double** TMultiGrid2D::RhsVectors[MAXN_LEVELS] |
|
protected |
The documentation for this class was generated from the following files: