v0.15.0
Loading...
Searching...
No Matches
SetUpSchurImpl::P_MultiGridData Struct Reference
Collaboration diagram for SetUpSchurImpl::P_MultiGridData:
[legend]

Public Member Functions

 P_MultiGridData (SmartPetscObj< DM > dm, SmartPetscObj< PC > pc, SmartPetscObj< Mat > S)
 
MoFEMErrorCode setUP ()
 

Private Attributes

SmartPetscObj< DM > dm
 
SmartPetscObj< PC > pc
 
SmartPetscObj< Mat > S
 

Detailed Description

Definition at line 31 of file SetUpSchurImpl.cpp.

Constructor & Destructor Documentation

◆ P_MultiGridData()

SetUpSchurImpl::P_MultiGridData::P_MultiGridData ( SmartPetscObj< DM > dm,
SmartPetscObj< PC > pc,
SmartPetscObj< Mat > S )
inline

Definition at line 33 of file SetUpSchurImpl.cpp.

35 : dm(dm), pc(pc), S(S) {}

Member Function Documentation

◆ setUP()

MoFEMErrorCode SetUpSchurImpl::P_MultiGridData::setUP ( )
inline

Definition at line 37 of file SetUpSchurImpl.cpp.

37 {
41 CHKERR PCSetFromOptions(pc);
43 };
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
boost::shared_ptr< PCMGSetUpViaApproxOrdersCtx > createPCMGSetUpViaApproxOrdersCtx(DM dm, Mat A, bool use_shell_mat)
createPCMGSetUpViaApproxOrdersCtx
MoFEMErrorCode PCMGSetUpViaApproxOrders(PC pc, boost::shared_ptr< PCMGSetUpViaApproxOrdersCtx > ctx, int verb)
Function build MG structure.

Member Data Documentation

◆ dm

SmartPetscObj<DM> SetUpSchurImpl::P_MultiGridData::dm
private

Definition at line 46 of file SetUpSchurImpl.cpp.

◆ pc

SmartPetscObj<PC> SetUpSchurImpl::P_MultiGridData::pc
private

Definition at line 47 of file SetUpSchurImpl.cpp.

◆ S

SmartPetscObj<Mat> SetUpSchurImpl::P_MultiGridData::S
private

Definition at line 48 of file SetUpSchurImpl.cpp.


The documentation for this struct was generated from the following file: