v0.9.0
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 39 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ EpElementBase()

EshelbianPlasticity::EpElementBase::EpElementBase ( )

◆ ~EpElementBase()

EshelbianPlasticity::EpElementBase::~EpElementBase ( )

Definition at line 52 of file EshelbianPlasticity.hpp.

52  {
53  if (Suu)
54  MatDestroy(&Suu);
55  if (aoSuu)
56  AODestroy(&aoSuu);
57  if (SBubble)
58  MatDestroy(&SBubble);
59  if (aoSBubble)
60  AODestroy(&aoSBubble);
61  if (Sw)
62  MatDestroy(&Sw);
63  if (aoSw)
64  AODestroy(&aoSw);
65  if (SOmega)
66  MatDestroy(&SOmega);
67  if (aoSOmega)
68  AODestroy(&aoSOmega);
69  }

Member Function Documentation

◆ addBubbleSchurMatrix()

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

Definition at line 84 of file EshelbianPlasticity.hpp.

84  {
86  if (this->SBubble)
87  MatDestroy(&this->SBubble);
88  if (this->aoSBubble)
89  AODestroy(&this->aoSBubble);
90  this->SBubble = SBubble;
91  this->aoSBubble = aoSBubble;
92  PetscObjectReference((PetscObject)this->SBubble);
93  PetscObjectReference((PetscObject)this->aoSBubble);
95  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:407

◆ addOmegaSchurMatrix()

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

Definition at line 110 of file EshelbianPlasticity.hpp.

110  {
112  if (this->SOmega)
113  MatDestroy(&this->SOmega);
114  if (this->aoSOmega)
115  AODestroy(&this->aoSOmega);
116  this->SOmega = SOmega;
117  this->aoSOmega = aoSOmega;
118  PetscObjectReference((PetscObject)this->SOmega);
119  PetscObjectReference((PetscObject)this->aoSOmega);
121  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:407

◆ addSpatialDispStressSchurMatrix()

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

Definition at line 97 of file EshelbianPlasticity.hpp.

97  {
99  if (this->Sw)
100  MatDestroy(&this->Sw);
101  if (this->aoSw)
102  AODestroy(&this->aoSw);
103  this->Sw = Sw;
104  this->aoSw = aoSw;
105  PetscObjectReference((PetscObject)this->Sw);
106  PetscObjectReference((PetscObject)this->aoSw);
108  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:407

◆ addStreachSchurMatrix()

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

Definition at line 71 of file EshelbianPlasticity.hpp.

71  {
73  if (this->Suu)
74  MatDestroy(&this->Suu);
75  if (this->aoSuu)
76  AODestroy(&this->aoSuu);
77  this->Suu = Suu;
78  this->aoSuu = aoSuu;
79  PetscObjectReference((PetscObject)this->Suu);
80  PetscObjectReference((PetscObject)this->aoSuu);
82  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:407

Member Data Documentation

◆ aoSBubble

AO EshelbianPlasticity::EpElementBase::aoSBubble

Definition at line 43 of file EshelbianPlasticity.hpp.

◆ aoSOmega

AO EshelbianPlasticity::EpElementBase::aoSOmega

Definition at line 45 of file EshelbianPlasticity.hpp.

◆ aoSuu

AO EshelbianPlasticity::EpElementBase::aoSuu

Definition at line 41 of file EshelbianPlasticity.hpp.

◆ aoSw

AO EshelbianPlasticity::EpElementBase::aoSw

Definition at line 47 of file EshelbianPlasticity.hpp.

◆ SBubble

Mat EshelbianPlasticity::EpElementBase::SBubble

Definition at line 42 of file EshelbianPlasticity.hpp.

◆ SOmega

Mat EshelbianPlasticity::EpElementBase::SOmega

Definition at line 44 of file EshelbianPlasticity.hpp.

◆ Suu

Mat EshelbianPlasticity::EpElementBase::Suu

Definition at line 40 of file EshelbianPlasticity.hpp.

◆ Sw

Mat EshelbianPlasticity::EpElementBase::Sw

Definition at line 46 of file EshelbianPlasticity.hpp.


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