v0.16.0
Loading...
Searching...
No Matches
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.
 
VectorDouble locF
 Local element rhs vector.
 
MatrixDouble locA
 Local element matrix.
 
MatrixDouble transLocA
 
Mat globA
 Global matrix.
 
Vec globF
 
double lAmbda
 

Detailed Description

Common data structure used to pass data between operators

Examples
cell_forces.cpp.

Definition at line 21 of file CellForces.hpp.

Constructor & Destructor Documentation

◆ CommonData()

CellEngineering::CommonData::CommonData ( )
inline

Definition at line 30 of file CellForces.hpp.

31 : dispX(boost::shared_ptr<VectorDouble>(new VectorDouble())),
32 dispY(boost::shared_ptr<VectorDouble>(new VectorDouble())) {}
UBlasVector< double > VectorDouble
Definition Types.hpp:68
boost::shared_ptr< VectorDouble > dispY
boost::shared_ptr< VectorDouble > dispX

Member Function Documentation

◆ getParameters()

MoFEMErrorCode CellEngineering::CommonData::getParameters ( )
inline

Definition at line 172 of file DispMap.hpp.

172 {
173
175 PetscOptionsBegin(PETSC_COMM_WORLD, "", "", "none");
176
177 this->lAmbda = 1;
178 CHKERR PetscOptionsScalar("-lambda", "lambda parameter", "", 1, &lAmbda,
179 PETSC_NULLPTR);
180 PetscOptionsEnd();
181
183 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.

Member Data Documentation

◆ dispAtGaussPts

VectorDouble CellEngineering::CommonData::dispAtGaussPts

Values at integration Pts.

Definition at line 164 of file DispMap.hpp.

◆ dispX

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

Definition at line 27 of file CellForces.hpp.

◆ dispY

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

Definition at line 28 of file CellForces.hpp.

◆ forceAtGaussPts

MatrixDouble CellEngineering::CommonData::forceAtGaussPts

Definition at line 23 of file CellForces.hpp.

◆ forcePotentialAtGaussPoints

VectorDouble CellEngineering::CommonData::forcePotentialAtGaussPoints

Definition at line 24 of file CellForces.hpp.

◆ globA

Mat CellEngineering::CommonData::globA

Global matrix.

Definition at line 168 of file DispMap.hpp.

◆ globF

Vec CellEngineering::CommonData::globF

Definition at line 169 of file DispMap.hpp.

◆ gradForceAtGaussPtrs

MatrixDouble CellEngineering::CommonData::gradForceAtGaussPtrs

Definition at line 25 of file CellForces.hpp.

◆ lAmbda

double CellEngineering::CommonData::lAmbda

Definition at line 170 of file DispMap.hpp.

◆ locA

MatrixDouble CellEngineering::CommonData::locA

Local element matrix.

Definition at line 166 of file DispMap.hpp.

◆ locF

VectorDouble CellEngineering::CommonData::locF

Local element rhs vector.

Definition at line 165 of file DispMap.hpp.

◆ transLocA

MatrixDouble CellEngineering::CommonData::transLocA

Definition at line 167 of file DispMap.hpp.


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