v0.14.0
Public Member Functions | Private Attributes | List of all members
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  };

Member Data Documentation

◆ dm

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

Definition at line 43 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:
MoFEM::createPCMGSetUpViaApproxOrdersCtx
boost::shared_ptr< PCMGSetUpViaApproxOrdersCtx > createPCMGSetUpViaApproxOrdersCtx(DM dm, Mat A, bool use_shell_mat)
createPCMGSetUpViaApproxOrdersCtx
Definition: PCMGSetUpViaApproxOrders.cpp:630
SetUpSchurImpl::P_MultiGridData::pc
SmartPetscObj< PC > pc
Definition: SetUpSchurImpl.cpp:47
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:548
SetUpSchurImpl::P_MultiGridData::S
SmartPetscObj< Mat > S
Definition: SetUpSchurImpl.cpp:48
SetUpSchurImpl::P_MultiGridData::dm
SmartPetscObj< DM > dm
Definition: SetUpSchurImpl.cpp:43
MoFEM::PCMGSetUpViaApproxOrders
MoFEMErrorCode PCMGSetUpViaApproxOrders(PC pc, boost::shared_ptr< PCMGSetUpViaApproxOrdersCtx > ctx, int verb)
Function build MG structure.
Definition: PCMGSetUpViaApproxOrders.cpp:634
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:359