v0.14.0
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 568 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 601 of file ProblemsMultiIndices.hpp.

601  {
603  *is = colIs;
604  PetscObjectReference((PetscObject)(*is));
606  };

◆ 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 625 of file ProblemsMultiIndices.hpp.

625  {
627  *ao = colMap;
628  PetscObjectReference((PetscObject)(*ao));
630  }

◆ getRowIs()

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

get row Is for sub problem

Parameters
iscreate is
Returns
error code

Definition at line 589 of file ProblemsMultiIndices.hpp.

589  {
591  *is = rowIs;
592  PetscObjectReference((PetscObject)(*is));
594  }

◆ 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 613 of file ProblemsMultiIndices.hpp.

613  {
615  *ao = rowMap;
616  PetscObjectReference((PetscObject)(*ao));
618  }

◆ getSmartColIs()

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

Definition at line 580 of file ProblemsMultiIndices.hpp.

580 { return colIs; }

◆ getSmartColMap()

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

Definition at line 582 of file ProblemsMultiIndices.hpp.

582 { return colMap; }

◆ getSmartRowIs()

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

Definition at line 579 of file ProblemsMultiIndices.hpp.

579 { return rowIs; }

◆ getSmartRowMap()

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

Definition at line 581 of file ProblemsMultiIndices.hpp.

581 { 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 573 of file ProblemsMultiIndices.hpp.

◆ colMap

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

mapping form main problem indices to sub-problem indices

Definition at line 577 of file ProblemsMultiIndices.hpp.

◆ rowIs

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

indices of main problem of which sub problem is this

Definition at line 571 of file ProblemsMultiIndices.hpp.

◆ rowMap

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

mapping form main problem indices to sub-problem indices

Definition at line 575 of file ProblemsMultiIndices.hpp.


The documentation for this struct was generated from the following file:
MoFEMFunctionReturnHot
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:447
MoFEM::Problem::SubProblemData::colMap
SmartPetscObj< AO > colMap
mapping form main problem indices to sub-problem indices
Definition: ProblemsMultiIndices.hpp:577
MoFEM::Problem::SubProblemData::rowMap
SmartPetscObj< AO > rowMap
mapping form main problem indices to sub-problem indices
Definition: ProblemsMultiIndices.hpp:575
MoFEM::Problem::SubProblemData::colIs
SmartPetscObj< IS > colIs
indices of main problem of which sub problem is this
Definition: ProblemsMultiIndices.hpp:573
MoFEM::Problem::SubProblemData::rowIs
SmartPetscObj< IS > rowIs
indices of main problem of which sub problem is this
Definition: ProblemsMultiIndices.hpp:571
MoFEMFunctionBeginHot
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:440