Implementation of Kelvin Voigt Damper.
More...
#include "users_modules/basic_finite_elements/src/KelvinVoigtDamper.hpp"
◆ ConstitutiveEquationMap
◆ TagEvaluate
◆ KelvinVoigtDamper()
◆ setBlockDataMap()
| MoFEMErrorCode KelvinVoigtDamper::setBlockDataMap |
( |
| ) |
|
|
inline |
Definition at line 799 of file KelvinVoigtDamper.hpp.
799 {
801
803 if (
it->getName().compare(0, 6,
"DAMPER") == 0) {
804 std::vector<double> data;
806 if (data.size() < 2) {
807 SETERRQ(PETSC_COMM_SELF, 1, "Data inconsistency");
808 }
811 true);
814 }
815 }
817 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
#define _IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP_(MESHSET_MANAGER, CUBITBCTYPE, IT)
Iterator that loops over a specific Cubit MeshSet having a particular BC meshset in a moFEM field.
std::map< int, BlockMaterialData > blockMaterialDataMap
virtual moab::Interface & get_moab()=0
◆ setOperators()
| MoFEMErrorCode KelvinVoigtDamper::setOperators |
( |
const int |
tag | ) |
|
|
inline |
Definition at line 819 of file KelvinVoigtDamper.hpp.
819 {
821
823
824
825 fe_ptr->getOpPtrVector().push_back(
826 new OpCalculateVectorFieldGradient<3, 3>(
829 fe_ptr->getOpPtrVector().push_back(new OpGetDataAtGaussPts(
831 fe_ptr->getOpPtrVector().push_back(
832 new OpCalculateVectorFieldGradientDot<3, 3>(
835 fe_ptr->getOpPtrVector().push_back(new OpGetDataAtGaussPts(
837 }
838
839
840 std::vector<int> tags;
842
845 ConstitutiveEquation<adouble> &ce =
847
851
852
857 }
858
860 }
string spatialPositionName
boost::shared_ptr< MatrixDouble > gradDataAtGaussTmpPtr
ConstitutiveEquationMap constitutiveEquationMap
boost::ptr_deque< UserDataOperator > & getOpPtrVector()
Use to push back operator for row operator.
◆ blockMaterialDataMap
◆ commonData
◆ constitutiveEquationMap
◆ feLhs
◆ feRhs
◆ mField
The documentation for this struct was generated from the following file: