v0.14.0
Public Member Functions | Public Attributes | List of all members
CellEngineering::CommonData Struct Reference

#include <users_modules/cell_engineering/src/CellForces.hpp>

Collaboration diagram for CellEngineering::CommonData:
[legend]

Public Member Functions

 CommonData ()
 
MoFEMErrorCode getParameters ()
 

Public Attributes

MatrixDouble forceAtGaussPts
 
VectorDouble forcePotentialAtGaussPoints
 
MatrixDouble gradForceAtGaussPtrs
 
boost::shared_ptr< VectorDouble > dispX
 
boost::shared_ptr< VectorDouble > dispY
 
VectorDouble dispAtGaussPts
 Values at integration Pts. More...
 
VectorDouble locF
 Local element rhs vector. More...
 
MatrixDouble locA
 Local element matrix. More...
 
MatrixDouble transLocA
 
Mat globA
 Global matrix. More...
 
Vec globF
 
MatrixDouble invJac
 
double lAmbda
 

Detailed Description

Common data structure used to pass data between operators

Examples
cell_forces.cpp.

Definition at line 31 of file CellForces.hpp.

Constructor & Destructor Documentation

◆ CommonData()

CellEngineering::CommonData::CommonData ( )
inline

Definition at line 40 of file CellForces.hpp.

41  : dispX(boost::shared_ptr<VectorDouble>(new VectorDouble())),
42  dispY(boost::shared_ptr<VectorDouble>(new VectorDouble())) {}

Member Function Documentation

◆ getParameters()

MoFEMErrorCode CellEngineering::CommonData::getParameters ( )
inline

Definition at line 184 of file DispMap.hpp.

184  {
185 
187  CHKERR PetscOptionsBegin(PETSC_COMM_WORLD, "", "", "none");
188 
189  this->lAmbda = 1;
190  CHKERR PetscOptionsScalar("-lambda", "lambda parameter", "", 1, &lAmbda,
191  PETSC_NULL);
192  ierr = PetscOptionsEnd();
193  CHKERRG(ierr);
194 
196  }

Member Data Documentation

◆ dispAtGaussPts

VectorDouble CellEngineering::CommonData::dispAtGaussPts

Values at integration Pts.

Definition at line 175 of file DispMap.hpp.

◆ dispX

boost::shared_ptr<VectorDouble> CellEngineering::CommonData::dispX

Definition at line 37 of file CellForces.hpp.

◆ dispY

boost::shared_ptr<VectorDouble> CellEngineering::CommonData::dispY

Definition at line 38 of file CellForces.hpp.

◆ forceAtGaussPts

MatrixDouble CellEngineering::CommonData::forceAtGaussPts

Definition at line 33 of file CellForces.hpp.

◆ forcePotentialAtGaussPoints

VectorDouble CellEngineering::CommonData::forcePotentialAtGaussPoints

Definition at line 34 of file CellForces.hpp.

◆ globA

Mat CellEngineering::CommonData::globA

Global matrix.

Definition at line 179 of file DispMap.hpp.

◆ globF

Vec CellEngineering::CommonData::globF

Definition at line 180 of file DispMap.hpp.

◆ gradForceAtGaussPtrs

MatrixDouble CellEngineering::CommonData::gradForceAtGaussPtrs

Definition at line 35 of file CellForces.hpp.

◆ invJac

MatrixDouble CellEngineering::CommonData::invJac

Definition at line 181 of file DispMap.hpp.

◆ lAmbda

double CellEngineering::CommonData::lAmbda

Definition at line 182 of file DispMap.hpp.

◆ locA

MatrixDouble CellEngineering::CommonData::locA

Local element matrix.

Definition at line 177 of file DispMap.hpp.

◆ locF

VectorDouble CellEngineering::CommonData::locF

Local element rhs vector.

Definition at line 176 of file DispMap.hpp.

◆ transLocA

MatrixDouble CellEngineering::CommonData::transLocA

Definition at line 178 of file DispMap.hpp.


The documentation for this struct was generated from the following files:
CellEngineering::CommonData::dispX
boost::shared_ptr< VectorDouble > dispX
Definition: CellForces.hpp:37
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:548
CellEngineering::CommonData::lAmbda
double lAmbda
Definition: DispMap.hpp:182
MoFEM::Exceptions::ierr
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
Definition: Exceptions.hpp:76
MoFEM::Types::VectorDouble
UBlasVector< double > VectorDouble
Definition: Types.hpp:68
CellEngineering::CommonData::dispY
boost::shared_ptr< VectorDouble > dispY
Definition: CellForces.hpp:38
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429
CHKERRG
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
Definition: definitions.h:496
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:359