![]() |
v0.14.0 |
Set data structures of MG pre-conditioner via approximation orders. More...
#include <users_modules/basic_finite_elements/src/PCMGSetUpViaApproxOrders.hpp>
Public Member Functions | |
PCMGSetUpViaApproxOrdersCtx (DM dm, Mat a, bool shell_sub_a) | |
virtual | ~PCMGSetUpViaApproxOrdersCtx ()=default |
virtual MoFEMErrorCode | getOptions () |
get options from line command More... | |
virtual MoFEMErrorCode | createIsAtLevel (int kk, IS *is) |
Set IS for levels. More... | |
virtual MoFEMErrorCode | destroyIsAtLevel (int kk, IS *is) |
Destroy IS if internally created. More... | |
virtual MoFEMErrorCode | buildProlongationOperator (bool use_mat_a, int verb=0) |
Set up data structures for MG. More... | |
Public Attributes | |
DM | dM |
Distributed mesh manager. More... | |
Mat | A |
Matrix at fine level. More... | |
int | nbLevels |
number of multi-grid levels More... | |
int | coarseOrder |
approximation order of coarse level More... | |
int | orderAtLastLevel |
set maximal evaluated order More... | |
bool | shellSubA |
int | verboseLevel |
Set data structures of MG pre-conditioner via approximation orders.
Definition at line 190 of file PCMGSetUpViaApproxOrders.hpp.
|
inline |
Definition at line 198 of file PCMGSetUpViaApproxOrders.hpp.
|
virtualdefault |
|
virtual |
Set up data structures for MG.
pc | MG pre-conditioner http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCMG.html |
verb | verbosity level |
Definition at line 660 of file PCMGSetUpViaApproxOrders.cpp.
|
virtual |
Set IS for levels.
kk | level |
is | pointer to IS |
Reimplemented in SolidShellModule::RunAdaptivity::ShellPCMGSetUpViaApproxOrdersCtx.
Definition at line 626 of file PCMGSetUpViaApproxOrders.cpp.
|
virtual |
Destroy IS if internally created.
kk | level |
is | pointer to is |
Reimplemented in SolidShellModule::RunAdaptivity::ShellPCMGSetUpViaApproxOrdersCtx.
Definition at line 653 of file PCMGSetUpViaApproxOrders.cpp.
|
virtual |
get options from line command
Reimplemented in SolidShellModule::RunAdaptivity::ShellPCMGSetUpViaApproxOrdersCtx.
Definition at line 601 of file PCMGSetUpViaApproxOrders.cpp.
Mat PCMGSetUpViaApproxOrdersCtx::A |
Matrix at fine level.
Definition at line 196 of file PCMGSetUpViaApproxOrders.hpp.
int PCMGSetUpViaApproxOrdersCtx::coarseOrder |
approximation order of coarse level
Definition at line 205 of file PCMGSetUpViaApproxOrders.hpp.
DM PCMGSetUpViaApproxOrdersCtx::dM |
Distributed mesh manager.
Definition at line 195 of file PCMGSetUpViaApproxOrders.hpp.
int PCMGSetUpViaApproxOrdersCtx::nbLevels |
number of multi-grid levels
Definition at line 204 of file PCMGSetUpViaApproxOrders.hpp.
int PCMGSetUpViaApproxOrdersCtx::orderAtLastLevel |
set maximal evaluated order
Definition at line 206 of file PCMGSetUpViaApproxOrders.hpp.
bool PCMGSetUpViaApproxOrdersCtx::shellSubA |
Definition at line 208 of file PCMGSetUpViaApproxOrders.hpp.
int PCMGSetUpViaApproxOrdersCtx::verboseLevel |
Definition at line 209 of file PCMGSetUpViaApproxOrders.hpp.