v0.14.0
Classes | Namespaces | Functions | Variables
EshelbianPlasticity.cpp File Reference

Implementation of automatic differentiation. More...

#include <MoFEM.hpp>
#include <CGGTonsorialBubbleBase.hpp>
#include <EshelbianPlasticity.hpp>
#include <boost/math/constants/constants.hpp>
#include <cholesky.hpp>
#include <EshelbianContact.hpp>
#include "impl/EshelbianMonitor.cpp"
#include "impl/TSElasticPostStep.cpp"
#include "impl/SetUpSchurImpl.cpp"
#include <impl/EshelbianContact.cpp>

Go to the source code of this file.

Classes

struct  EshelbianPlasticity::VolUserDataOperatorStabAssembly
 
struct  EshelbianPlasticity::FaceUserDataOperatorStabAssembly
 
struct  EshelbianPlasticity::VolRule
 Set integration rule on element. More...
 
struct  EshelbianPlasticity::FaceRule
 
struct  EshelbianPlasticity::CGGUserPolynomialBase
 

Namespaces

 EshelbianPlasticity
 

Functions

static auto get_range_from_block (MoFEM::Interface &m_field, const std::string block_name)
 

Variables

enum RotSelector EshelbianPlasticity::EshelbianCore
 

Detailed Description

Implementation of automatic differentiation.

Definition in file EshelbianPlasticity.cpp.

Function Documentation

◆ get_range_from_block()

static auto get_range_from_block ( MoFEM::Interface m_field,
const std::string  block_name 
)
static
Examples
EshelbianPlasticity.cpp.

Definition at line 46 of file EshelbianPlasticity.cpp.

47  {
48  Range r;
49 
50  auto mesh_mng = m_field.getInterface<MeshsetsManager>();
51  auto bcs = mesh_mng->getCubitMeshsetPtr(
52 
53  std::regex((boost::format("%s(.*)") % block_name).str())
54 
55  );
56 
57  for (auto bc : bcs) {
58  Range faces;
60  bc->getMeshsetIdEntitiesByDimension(m_field.get_moab(), 2, faces, true),
61  "get meshset ents");
62  r.merge(faces);
63  }
64 
65  return r;
66 };
MoFEM::UnknownInterface::getInterface
MoFEMErrorCode getInterface(IFACE *&iface) const
Get interface refernce to pointer of interface.
Definition: UnknownInterface.hpp:93
CHK_MOAB_THROW
#define CHK_MOAB_THROW(err, msg)
Check error code of MoAB function and throw MoFEM exception.
Definition: definitions.h:576
sdf.r
int r
Definition: sdf.py:8
MoFEM::CoreInterface::get_moab
virtual moab::Interface & get_moab()=0
Range
MoFEM::MeshsetsManager
Interface for managing meshsets containing materials and boundary conditions.
Definition: MeshsetsManager.hpp:104
MoFEM::MeshsetsManager::getCubitMeshsetPtr
MoFEMErrorCode getCubitMeshsetPtr(const int ms_id, const CubitBCType cubit_bc_type, const CubitMeshSets **cubit_meshset_ptr) const
get cubit meshset
Definition: MeshsetsManager.cpp:575