v0.11.1
Public Member Functions | Public Attributes | List of all members
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 More...
 
SmartPetscObj< IS > colIs
 indices of main problem of which sub problem is this More...
 
SmartPetscObj< AO > rowMap
 mapping form main problem indices to sub-problem indices More...
 
SmartPetscObj< AO > colMap
 mapping form main problem indices to sub-problem indices More...
 

Detailed Description

Subproblem problem data.

Definition at line 156 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)

get col Is for sub problem

Parameters
iscreate is
Returns
error code

Definition at line 189 of file ProblemsMultiIndices.hpp.

189  {
191  PetscObjectReference((PetscObject)colIs);
192  *is = colIs;
194  };
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:516
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:509
SmartPetscObj< IS > colIs
indices of main problem of which sub problem is this

◆ getColMap()

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

get col AO mapping for sub problem

Parameters
aoget mapping
Returns
error code

Definition at line 213 of file ProblemsMultiIndices.hpp.

213  {
215  PetscObjectReference((PetscObject)colMap);
216  *ao = colMap;
218  }
SmartPetscObj< AO > colMap
mapping form main problem indices to sub-problem indices

◆ getRowIs()

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

get row Is for sub problem

Parameters
iscreate is
Returns
error code

Definition at line 177 of file ProblemsMultiIndices.hpp.

177  {
179  PetscObjectReference((PetscObject)rowIs);
180  *is = rowIs;
182  }
SmartPetscObj< IS > rowIs
indices of main problem of which sub problem is this

◆ getRowMap()

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

get row AO mapping for sub problem

Parameters
aoget mapping
Returns
error code

Definition at line 201 of file ProblemsMultiIndices.hpp.

201  {
203  PetscObjectReference((PetscObject)rowMap);
204  *ao = rowMap;
206  }
SmartPetscObj< AO > rowMap
mapping form main problem indices to sub-problem indices

◆ getSmartColIs()

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

Definition at line 168 of file ProblemsMultiIndices.hpp.

168 { return colIs; }

◆ getSmartColMap()

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

Definition at line 170 of file ProblemsMultiIndices.hpp.

170 { return colMap; }

◆ getSmartRowIs()

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

Definition at line 167 of file ProblemsMultiIndices.hpp.

167 { return rowIs; }

◆ getSmartRowMap()

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

Definition at line 169 of file ProblemsMultiIndices.hpp.

169 { 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 161 of file ProblemsMultiIndices.hpp.

◆ colMap

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

mapping form main problem indices to sub-problem indices

Definition at line 165 of file ProblemsMultiIndices.hpp.

◆ rowIs

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

indices of main problem of which sub problem is this

Definition at line 159 of file ProblemsMultiIndices.hpp.

◆ rowMap

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

mapping form main problem indices to sub-problem indices

Definition at line 163 of file ProblemsMultiIndices.hpp.


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