v0.16.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OpHybridBaseTimesBrokenDisp Struct Reference

#include "users_modules/eshelbian_plasticity/src/EshelbianOperators.hpp"

Inheritance diagram for OpHybridBaseTimesBrokenDisp:
[legend]
Collaboration diagram for OpHybridBaseTimesBrokenDisp:
[legend]

Public Types

using OP = OpBaseTimesVectorFace
 

Public Member Functions

 OpHybridBaseTimesBrokenDisp (const std::string row_field, boost::shared_ptr< std::vector< BrokenBaseSideData > > broken_base_side_data, ScalarFun beta_coeff, boost::shared_ptr< Range > ents_ptr=nullptr)
 

Protected Member Functions

MoFEMErrorCode iNtegrate (EntitiesFieldData::EntData &data)
 

Protected Attributes

boost::shared_ptr< std::vector< BrokenBaseSideData > > brokenBaseSideDataPtr
 

Detailed Description

Examples
/home/lk58p/mofem_install/vanilla_dev_release/mofem-cephas/mofem/users_modules/eshelbian_plasticity/src/impl/EshelbianPlasticity.cpp.

Definition at line 1164 of file EshelbianOperators.hpp.

Member Typedef Documentation

◆ OP

Definition at line 1166 of file EshelbianOperators.hpp.

Constructor & Destructor Documentation

◆ OpHybridBaseTimesBrokenDisp()

OpHybridBaseTimesBrokenDisp::OpHybridBaseTimesBrokenDisp ( const std::string  row_field,
boost::shared_ptr< std::vector< BrokenBaseSideData > >  broken_base_side_data,
ScalarFun  beta_coeff,
boost::shared_ptr< Range ents_ptr = nullptr 
)
Examples
/home/lk58p/mofem_install/vanilla_dev_release/mofem-cephas/mofem/users_modules/eshelbian_plasticity/src/impl/EshelbianOperators.cpp.

Definition at line 3961 of file EshelbianOperators.cpp.

3965 : OP(row_field, boost::shared_ptr<MatrixDouble>(), beta_coeff, ents_ptr),
3966 brokenBaseSideDataPtr(broken_base_side_data) {
3967 this->betaCoeff = beta_coeff;
3968}
boost::shared_ptr< std::vector< BrokenBaseSideData > > brokenBaseSideDataPtr

Member Function Documentation

◆ iNtegrate()

MoFEMErrorCode OpHybridBaseTimesBrokenDisp::iNtegrate ( EntitiesFieldData::EntData data)
protected
Examples
/home/lk58p/mofem_install/vanilla_dev_release/mofem-cephas/mofem/users_modules/eshelbian_plasticity/src/impl/EshelbianOperators.cpp.

Definition at line 3971 of file EshelbianOperators.cpp.

3971 {
3973 for (auto &bd : (*brokenBaseSideDataPtr)) {
3974 this->sourceVec =
3975 boost::shared_ptr<MatrixDouble>(brokenBaseSideDataPtr, &bd.getFlux());
3976
3977#ifndef NDEBUG
3978 if (this->sourceVec->size2() != SPACE_DIM) {
3979 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
3980 "Inconsistent size of the source vector");
3981 }
3982 if (this->sourceVec->size1() != OP::getGaussPts().size2()) {
3983 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
3984 "Inconsistent size of the source vector");
3985 }
3986#endif // NDEBUG
3987
3988 CHKERR OP::iNtegrate(data);
3989
3990 this->sourceVec.reset();
3991 }
3993}
constexpr int SPACE_DIM
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
@ MOFEM_DATA_INCONSISTENCY
Definition definitions.h:31
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.

Member Data Documentation

◆ brokenBaseSideDataPtr

boost::shared_ptr<std::vector<BrokenBaseSideData> > OpHybridBaseTimesBrokenDisp::brokenBaseSideDataPtr
protected

Definition at line 1174 of file EshelbianOperators.hpp.


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