v0.16.3
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 1208 of file EshelbianOperators.hpp.

Member Typedef Documentation

◆ OP

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

4661 : OP(row_field, boost::shared_ptr<MatrixDouble>(), beta_coeff, ents_ptr),
4662 brokenBaseSideDataPtr(broken_base_side_data) {
4663 this->betaCoeff = beta_coeff;
4664}
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 4667 of file EshelbianOperators.cpp.

4667 {
4669 for (auto &bd : (*brokenBaseSideDataPtr)) {
4670 this->sourceVec =
4671 boost::shared_ptr<MatrixDouble>(brokenBaseSideDataPtr, &bd.getFlux());
4672
4673#ifndef NDEBUG
4674 if (this->sourceVec->size2() != SPACE_DIM) {
4675 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
4676 "Inconsistent size of the source vector");
4677 }
4678 if (this->sourceVec->size1() != OP::getGaussPts().size2()) {
4679 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
4680 "Inconsistent size of the source vector");
4681 }
4682#endif // NDEBUG
4683
4684 CHKERR OP::iNtegrate(data);
4685
4686 this->sourceVec.reset();
4687 }
4689}
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 1218 of file EshelbianOperators.hpp.


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