v0.14.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp > Struct Template Reference

#include <users_modules/tutorials/vec-0/src/ElasticSpring.hpp>

Inheritance diagram for OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >:
[legend]
Collaboration diagram for OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >:
[legend]

Public Types

using OpBase = OpBaseImpl< A, EleOp >
 

Public Member Functions

 OpFluxRhsImpl (MoFEM::Interface &m_field, int ms_id, std::string field_name, boost::shared_ptr< MatrixDouble > u_ptr, double scale)
 
- Public Member Functions inherited from OpBaseImpl
MoFEM::OpBaseImpl< A, ContactOps::BoundaryEleOp >::MatSetValuesHook matSetValuesHook
 
MoFEM::OpBaseImpl< SCHUR, DomainEleOp >::MatSetValuesHook matSetValuesHook
 [Specialisation for assembly] More...
 
MoFEM::OpBaseImpl< SCHUR, BoundaryEleOp >::MatSetValuesHook matSetValuesHook
 
MoFEM::OpBaseImpl< SCHUR, BoundaryEleOpStab >::MatSetValuesHook matSetValuesHook
 Specialise assembly for Stabilised matrix. More...
 
MoFEM::OpBaseImpl< AT, DomainEleOp >::MatSetValuesHook matSetValuesHook
 
MoFEM::OpBaseImpl< AT, DomainEleOpStab >::MatSetValuesHook matSetValuesHook
 Specialise assembly for Stabilised matrix. More...
 

Protected Member Functions

MoFEMErrorCode iNtegrate (EntitiesFieldData::EntData &data)
 

Protected Attributes

double normalStiffness
 
double tangentStiffness
 
double rhsScale
 
boost::shared_ptr< MatrixDouble > uPtr
 

Detailed Description

template<int FIELD_DIM, AssemblyType A, typename EleOp>
struct OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >

Definition at line 61 of file ElasticSpring.hpp.

Member Typedef Documentation

◆ OpBase

template<int FIELD_DIM, AssemblyType A, typename EleOp >
using OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::OpBase = OpBaseImpl<A, EleOp>

Definition at line 64 of file ElasticSpring.hpp.

Constructor & Destructor Documentation

◆ OpFluxRhsImpl()

template<int FIELD_DIM, AssemblyType A, typename EleOp >
OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::OpFluxRhsImpl ( MoFEM::Interface m_field,
int  ms_id,
std::string  field_name,
boost::shared_ptr< MatrixDouble >  u_ptr,
double  scale 
)

Definition at line 95 of file ElasticSpring.hpp.

99  : OpBase(field_name, field_name, OpBase::OPROW), uPtr(u_ptr), rhsScale(scale) {
101  this->normalStiffness, this->tangentStiffness,
102  this->entsPtr, m_field, ms_id),
103  "Can not read spring stiffness data from blockset");
104 }

Member Function Documentation

◆ iNtegrate()

template<int FIELD_DIM, AssemblyType A, typename EleOp >
MoFEMErrorCode OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::iNtegrate ( EntitiesFieldData::EntData data)
protected

Member Data Documentation

◆ normalStiffness

template<int FIELD_DIM, AssemblyType A, typename EleOp >
double OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::normalStiffness
protected

Definition at line 70 of file ElasticSpring.hpp.

◆ rhsScale

template<int FIELD_DIM, AssemblyType A, typename EleOp >
double OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::rhsScale
protected

Definition at line 72 of file ElasticSpring.hpp.

◆ tangentStiffness

template<int FIELD_DIM, AssemblyType A, typename EleOp >
double OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::tangentStiffness
protected

Definition at line 71 of file ElasticSpring.hpp.

◆ uPtr

template<int FIELD_DIM, AssemblyType A, typename EleOp >
boost::shared_ptr<MatrixDouble> OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::uPtr
protected

Definition at line 73 of file ElasticSpring.hpp.


The documentation for this struct was generated from the following file:
ElasticExample::GetSpringStiffness
Definition: ElasticSpring.hpp:16
OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::rhsScale
double rhsScale
Definition: ElasticSpring.hpp:72
CHK_THROW_MESSAGE
#define CHK_THROW_MESSAGE(err, msg)
Check and throw MoFEM exception.
Definition: definitions.h:596
OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::tangentStiffness
double tangentStiffness
Definition: ElasticSpring.hpp:71
ContactOps::scale
double scale
Definition: EshelbianContact.hpp:22
field_name
constexpr auto field_name
Definition: poisson_2d_homogeneous.cpp:13
OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::uPtr
boost::shared_ptr< MatrixDouble > uPtr
Definition: ElasticSpring.hpp:73
OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::OpBase
OpBaseImpl< A, EleOp > OpBase
Definition: ElasticSpring.hpp:64
OpFluxRhsImpl< ElasticExample::SpringBcType< BLOCKSET >, 1, FIELD_DIM, A, GAUSS, EleOp >::normalStiffness
double normalStiffness
Definition: ElasticSpring.hpp:70