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:

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
double lAmbda

Detailed Description

Common data structure used to pass data between operators


Definition at line 31 of file CellForces.hpp.

Constructor & Destructor Documentation

◆ CommonData()

CellEngineering::CommonData::CommonData ( )

Definition at line 40 of file CellForces.hpp.

41 : dispX(boost::shared_ptr<VectorDouble>(new VectorDouble())),
42 dispY(boost::shared_ptr<VectorDouble>(new VectorDouble())) {}
UBlasVector< double > VectorDouble
Definition: Types.hpp:68
boost::shared_ptr< VectorDouble > dispY
Definition: CellForces.hpp:38
boost::shared_ptr< VectorDouble > dispX
Definition: CellForces.hpp:37

Member Function Documentation

◆ getParameters()

MoFEMErrorCode CellEngineering::CommonData::getParameters ( )

Definition at line 183 of file DispMap.hpp.

183 {
186 CHKERR PetscOptionsBegin(PETSC_COMM_WORLD, "", "", "none");
188 this->lAmbda = 1;
189 CHKERR PetscOptionsScalar("-lambda", "lambda parameter", "", 1, &lAmbda,
191 ierr = PetscOptionsEnd();
192 CHKERRG(ierr);
195 }
static PetscErrorCode ierr
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
Definition: definitions.h:483
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
#define CHKERR
Inline error check.
Definition: definitions.h:535

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.

◆ lAmbda

double CellEngineering::CommonData::lAmbda

Definition at line 181 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: