v0.8.23
Public Member Functions | Public Attributes | List of all members
EshelbianPlasticity::EpElementBase Struct Reference

#include <users_modules/eshelbian_plasticty/src/EshelbianPlasticity.hpp>

Inheritance diagram for EshelbianPlasticity::EpElementBase:
[legend]

Public Member Functions

 EpElementBase ()
 
 ~EpElementBase ()
 
MoFEMErrorCode addStreachSchurMatrix (Mat Suu, AO aoSuu)
 
MoFEMErrorCode addBubbleSchurMatrix (Mat SBubble, AO aoSBubble)
 
MoFEMErrorCode addSpatialDispStressSchurMatrix (Mat Sw, AO aoSw)
 
MoFEMErrorCode addOmegaSchurMatrix (Mat SOmega, AO aoSOmega)
 

Public Attributes

Mat Suu
 
AO aoSuu
 
Mat SBubble
 
AO aoSBubble
 
Mat SOmega
 
AO aoSOmega
 
Mat Sw
 
AO aoSw
 

Detailed Description

Definition at line 113 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ EpElementBase()

EshelbianPlasticity::EpElementBase::EpElementBase ( )

◆ ~EpElementBase()

EshelbianPlasticity::EpElementBase::~EpElementBase ( )

Definition at line 126 of file EshelbianPlasticity.hpp.

126  {
127  if (Suu)
128  MatDestroy(&Suu);
129  if (aoSuu)
130  AODestroy(&aoSuu);
131  if (SBubble)
132  MatDestroy(&SBubble);
133  if (aoSBubble)
134  AODestroy(&aoSBubble);
135  if (Sw)
136  MatDestroy(&Sw);
137  if (aoSw)
138  AODestroy(&aoSw);
139  if (SOmega)
140  MatDestroy(&SOmega);
141  if (aoSOmega)
142  AODestroy(&aoSOmega);
143  }

Member Function Documentation

◆ addBubbleSchurMatrix()

MoFEMErrorCode EshelbianPlasticity::EpElementBase::addBubbleSchurMatrix ( Mat  SBubble,
AO  aoSBubble 
)

Definition at line 158 of file EshelbianPlasticity.hpp.

158  {
160  if (this->SBubble)
161  MatDestroy(&this->SBubble);
162  if (this->aoSBubble)
163  AODestroy(&this->aoSBubble);
164  this->SBubble = SBubble;
165  this->aoSBubble = aoSBubble;
166  PetscObjectReference((PetscObject)this->SBubble);
167  PetscObjectReference((PetscObject)this->aoSBubble);
169  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:476
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:406

◆ addOmegaSchurMatrix()

MoFEMErrorCode EshelbianPlasticity::EpElementBase::addOmegaSchurMatrix ( Mat  SOmega,
AO  aoSOmega 
)

Definition at line 184 of file EshelbianPlasticity.hpp.

184  {
186  if (this->SOmega)
187  MatDestroy(&this->SOmega);
188  if (this->aoSOmega)
189  AODestroy(&this->aoSOmega);
190  this->SOmega = SOmega;
191  this->aoSOmega = aoSOmega;
192  PetscObjectReference((PetscObject)this->SOmega);
193  PetscObjectReference((PetscObject)this->aoSOmega);
195  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:476
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:406

◆ addSpatialDispStressSchurMatrix()

MoFEMErrorCode EshelbianPlasticity::EpElementBase::addSpatialDispStressSchurMatrix ( Mat  Sw,
AO  aoSw 
)

Definition at line 171 of file EshelbianPlasticity.hpp.

171  {
173  if (this->Sw)
174  MatDestroy(&this->Sw);
175  if (this->aoSw)
176  AODestroy(&this->aoSw);
177  this->Sw = Sw;
178  this->aoSw = aoSw;
179  PetscObjectReference((PetscObject)this->Sw);
180  PetscObjectReference((PetscObject)this->aoSw);
182  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:476
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:406

◆ addStreachSchurMatrix()

MoFEMErrorCode EshelbianPlasticity::EpElementBase::addStreachSchurMatrix ( Mat  Suu,
AO  aoSuu 
)

Definition at line 145 of file EshelbianPlasticity.hpp.

145  {
147  if (this->Suu)
148  MatDestroy(&this->Suu);
149  if (this->aoSuu)
150  AODestroy(&this->aoSuu);
151  this->Suu = Suu;
152  this->aoSuu = aoSuu;
153  PetscObjectReference((PetscObject)this->Suu);
154  PetscObjectReference((PetscObject)this->aoSuu);
156  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:476
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:406

Member Data Documentation

◆ aoSBubble

AO EshelbianPlasticity::EpElementBase::aoSBubble

Definition at line 117 of file EshelbianPlasticity.hpp.

◆ aoSOmega

AO EshelbianPlasticity::EpElementBase::aoSOmega

Definition at line 119 of file EshelbianPlasticity.hpp.

◆ aoSuu

AO EshelbianPlasticity::EpElementBase::aoSuu

Definition at line 115 of file EshelbianPlasticity.hpp.

◆ aoSw

AO EshelbianPlasticity::EpElementBase::aoSw

Definition at line 121 of file EshelbianPlasticity.hpp.

◆ SBubble

Mat EshelbianPlasticity::EpElementBase::SBubble

Definition at line 116 of file EshelbianPlasticity.hpp.

◆ SOmega

Mat EshelbianPlasticity::EpElementBase::SOmega

Definition at line 118 of file EshelbianPlasticity.hpp.

◆ Suu

Mat EshelbianPlasticity::EpElementBase::Suu

Definition at line 114 of file EshelbianPlasticity.hpp.

◆ Sw

Mat EshelbianPlasticity::EpElementBase::Sw

Definition at line 120 of file EshelbianPlasticity.hpp.


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