v0.15.4
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 1141 of file EshelbianOperators.hpp.

Member Typedef Documentation

◆ OP

Definition at line 1143 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 3871 of file EshelbianOperators.cpp.

3875 : OP(row_field, boost::shared_ptr<MatrixDouble>(), beta_coeff, ents_ptr),
3876 brokenBaseSideDataPtr(broken_base_side_data) {
3877 this->betaCoeff = beta_coeff;
3878}
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 3881 of file EshelbianOperators.cpp.

3881 {
3883 for (auto &bd : (*brokenBaseSideDataPtr)) {
3884 this->sourceVec =
3885 boost::shared_ptr<MatrixDouble>(brokenBaseSideDataPtr, &bd.getFlux());
3886
3887#ifndef NDEBUG
3888 if (this->sourceVec->size1() != SPACE_DIM) {
3889 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
3890 "Inconsistent size of the source vector");
3891 }
3892 if (this->sourceVec->size2() != OP::getGaussPts().size2()) {
3893 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
3894 "Inconsistent size of the source vector");
3895 }
3896#endif // NDEBUG
3897
3898 CHKERR OP::iNtegrate(data);
3899
3900 this->sourceVec.reset();
3901 }
3903}
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 1151 of file EshelbianOperators.hpp.


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