v0.13.2
Loading...
Searching...
No Matches
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 567 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 600 of file ProblemsMultiIndices.hpp.

600 {
602 *is = colIs;
603 PetscObjectReference((PetscObject)(*is));
605 };
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:447
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:440
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 624 of file ProblemsMultiIndices.hpp.

624 {
626 *ao = colMap;
627 PetscObjectReference((PetscObject)(*ao));
629 }
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 588 of file ProblemsMultiIndices.hpp.

588 {
590 *is = rowIs;
591 PetscObjectReference((PetscObject)(*is));
593 }
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 612 of file ProblemsMultiIndices.hpp.

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

◆ getSmartColIs()

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

Definition at line 579 of file ProblemsMultiIndices.hpp.

579{ return colIs; }

◆ getSmartColMap()

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

Definition at line 581 of file ProblemsMultiIndices.hpp.

581{ return colMap; }

◆ getSmartRowIs()

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

Definition at line 578 of file ProblemsMultiIndices.hpp.

578{ return rowIs; }

◆ getSmartRowMap()

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

Definition at line 580 of file ProblemsMultiIndices.hpp.

580{ 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 572 of file ProblemsMultiIndices.hpp.

◆ colMap

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

mapping form main problem indices to sub-problem indices

Definition at line 576 of file ProblemsMultiIndices.hpp.

◆ rowIs

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

indices of main problem of which sub problem is this

Definition at line 570 of file ProblemsMultiIndices.hpp.

◆ rowMap

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

mapping form main problem indices to sub-problem indices

Definition at line 574 of file ProblemsMultiIndices.hpp.


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