v0.10.0
Public Member Functions | List of all members
EshelbianPlasticity::OpL2Transform Struct Reference

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

Inherits VolUserDataOperator.

Public Member Functions

 OpL2Transform ()
 
MoFEMErrorCode doWork (int side, EntityType type, DataForcesAndSourcesCore::EntData &data)
 

Detailed Description

Definition at line 1186 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ OpL2Transform()

EshelbianPlasticity::OpL2Transform::OpL2Transform ( )

Definition at line 1188 of file EshelbianPlasticity.hpp.

1188 : VolUserDataOperator(L2) {}
VolumeElementForcesAndSourcesCore::UserDataOperator VolUserDataOperator
field with C-1 continuity
Definition: definitions.h:180

Member Function Documentation

◆ doWork()

MoFEMErrorCode EshelbianPlasticity::OpL2Transform::doWork ( int  side,
EntityType  type,
DataForcesAndSourcesCore::EntData data 
)

Definition at line 2493 of file EshelbianOperators.cpp.

2494  {
2496  if (type == MBTET) {
2497  auto v = getVolume();
2498  for (auto &base : data.getN(AINSWORTH_LEGENDRE_BASE).data())
2499  base /= v;
2500  }
2502 }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:485
Ainsworth Cole (Legendre) approx. base .
Definition: definitions.h:152
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:415
MatrixDouble & getN(const FieldApproximationBase base)
get base functions this return matrix (nb. of rows is equal to nb. of Gauss pts, nb....

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