v0.15.5
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 1145 of file EshelbianOperators.hpp.

Member Typedef Documentation

◆ OP

Definition at line 1147 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
mofem/users_modules/eshelbian_plasticity/src/impl/EshelbianOperators.cpp.

Definition at line 3909 of file EshelbianOperators.cpp.

3913 : OP(row_field, boost::shared_ptr<MatrixDouble>(), beta_coeff, ents_ptr),
3914 brokenBaseSideDataPtr(broken_base_side_data) {
3915 this->betaCoeff = beta_coeff;
3916}
boost::shared_ptr< std::vector< BrokenBaseSideData > > brokenBaseSideDataPtr

Member Function Documentation

◆ iNtegrate()

MoFEMErrorCode OpHybridBaseTimesBrokenDisp::iNtegrate ( EntitiesFieldData::EntData data)
protected
Examples
mofem/users_modules/eshelbian_plasticity/src/impl/EshelbianOperators.cpp.

Definition at line 3919 of file EshelbianOperators.cpp.

3919 {
3921 for (auto &bd : (*brokenBaseSideDataPtr)) {
3922 this->sourceVec =
3923 boost::shared_ptr<MatrixDouble>(brokenBaseSideDataPtr, &bd.getFlux());
3924
3925#ifndef NDEBUG
3926 if (this->sourceVec->size1() != SPACE_DIM) {
3927 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
3928 "Inconsistent size of the source vector");
3929 }
3930 if (this->sourceVec->size2() != OP::getGaussPts().size2()) {
3931 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
3932 "Inconsistent size of the source vector");
3933 }
3934#endif // NDEBUG
3935
3936 CHKERR OP::iNtegrate(data);
3937
3938 this->sourceVec.reset();
3939 }
3941}
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 1155 of file EshelbianOperators.hpp.


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