v0.15.0
Loading...
Searching...
No Matches
MoFEM::Problem::SubProblemData Struct Reference

Subproblem problem data. More...

#include "src/multi_indices/ProblemsMultiIndices.hpp"

Collaboration diagram for MoFEM::Problem::SubProblemData:
[legend]

Public Member Functions

auto getSmartRowIs ()
 
auto getSmartColIs ()
 
auto getSmartRowMap ()
 
auto getSmartColMap ()
 
MoFEMErrorCode getRowIs (IS *is)
 
MoFEMErrorCode getColIs (IS *is)
 
MoFEMErrorCode getRowMap (AO *ao)
 
MoFEMErrorCode getColMap (AO *ao)
 
 SubProblemData ()=default
 
virtual ~SubProblemData ()=default
 

Public Attributes

SmartPetscObj< IS > rowIs
 indices of main problem of which sub problem is this
 
SmartPetscObj< IS > colIs
 indices of main problem of which sub problem is this
 
SmartPetscObj< AO > rowMap
 mapping form main problem indices to sub-problem indices
 
SmartPetscObj< AO > colMap
 mapping form main problem indices to sub-problem indices
 

Detailed Description

Subproblem problem data.

Definition at line 572 of file ProblemsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ SubProblemData()

MoFEM::Problem::SubProblemData::SubProblemData ( )
default

◆ ~SubProblemData()

virtual MoFEM::Problem::SubProblemData::~SubProblemData ( )
virtualdefault

Member Function Documentation

◆ getColIs()

MoFEMErrorCode MoFEM::Problem::SubProblemData::getColIs ( IS * is)
inline

get col Is for sub problem

Parameters
iscreate is
Returns
error code

Definition at line 605 of file ProblemsMultiIndices.hpp.

605 {
607 *is = colIs;
608 PetscObjectReference((PetscObject)(*is));
610 };
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
SmartPetscObj< IS > colIs
indices of main problem of which sub problem is this

◆ getColMap()

MoFEMErrorCode MoFEM::Problem::SubProblemData::getColMap ( AO * ao)
inline

get col AO mapping for sub problem

Parameters
aoget mapping
Returns
error code

Definition at line 629 of file ProblemsMultiIndices.hpp.

629 {
631 *ao = colMap;
632 PetscObjectReference((PetscObject)(*ao));
634 }
SmartPetscObj< AO > colMap
mapping form main problem indices to sub-problem indices

◆ getRowIs()

MoFEMErrorCode MoFEM::Problem::SubProblemData::getRowIs ( IS * is)
inline

get row Is for sub problem

Parameters
iscreate is
Returns
error code

Definition at line 593 of file ProblemsMultiIndices.hpp.

593 {
595 *is = rowIs;
596 PetscObjectReference((PetscObject)(*is));
598 }
SmartPetscObj< IS > rowIs
indices of main problem of which sub problem is this

◆ getRowMap()

MoFEMErrorCode MoFEM::Problem::SubProblemData::getRowMap ( AO * ao)
inline

get row AO mapping for sub problem

Parameters
aoget mapping
Returns
error code

Definition at line 617 of file ProblemsMultiIndices.hpp.

617 {
619 *ao = rowMap;
620 PetscObjectReference((PetscObject)(*ao));
622 }
SmartPetscObj< AO > rowMap
mapping form main problem indices to sub-problem indices

◆ getSmartColIs()

auto MoFEM::Problem::SubProblemData::getSmartColIs ( )
inline

Definition at line 584 of file ProblemsMultiIndices.hpp.

584{ return colIs; }

◆ getSmartColMap()

auto MoFEM::Problem::SubProblemData::getSmartColMap ( )
inline

Definition at line 586 of file ProblemsMultiIndices.hpp.

586{ return colMap; }

◆ getSmartRowIs()

auto MoFEM::Problem::SubProblemData::getSmartRowIs ( )
inline

Definition at line 583 of file ProblemsMultiIndices.hpp.

583{ return rowIs; }

◆ getSmartRowMap()

auto MoFEM::Problem::SubProblemData::getSmartRowMap ( )
inline

Definition at line 585 of file ProblemsMultiIndices.hpp.

585{ return rowMap; }

Member Data Documentation

◆ colIs

SmartPetscObj<IS> MoFEM::Problem::SubProblemData::colIs

indices of main problem of which sub problem is this

Definition at line 577 of file ProblemsMultiIndices.hpp.

◆ colMap

SmartPetscObj<AO> MoFEM::Problem::SubProblemData::colMap

mapping form main problem indices to sub-problem indices

Definition at line 581 of file ProblemsMultiIndices.hpp.

◆ rowIs

SmartPetscObj<IS> MoFEM::Problem::SubProblemData::rowIs

indices of main problem of which sub problem is this

Definition at line 575 of file ProblemsMultiIndices.hpp.

◆ rowMap

SmartPetscObj<AO> MoFEM::Problem::SubProblemData::rowMap

mapping form main problem indices to sub-problem indices

Definition at line 579 of file ProblemsMultiIndices.hpp.


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