v0.16.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
EshelbianPlasticity::TopologicalData Struct Reference

#include "users_modules/eshelbian_plasticity/src/EshelbianTopologicalDerivative.hpp"

Inheritance diagram for EshelbianPlasticity::TopologicalData:
[legend]
Collaboration diagram for EshelbianPlasticity::TopologicalData:
[legend]

Public Member Functions

auto getFTensorJacobian (const int nb_gauss_pts)
 
auto getFTensorInvJacobian (const int nb_gauss_pts)
 
auto getFTensorDetJacobian (const int nb_gauss_pts)
 
auto getFTensorTangent1 (const int nb_gauss_pts)
 
auto getFTensorTangent2 (const int nb_gauss_pts)
 
auto getFTensorNormal (const int nb_gauss_pts)
 
auto getFTensorObj (const int nb_gauss_pts)
 
auto getFTensorObjDStrain (const int nb_gauss_pts)
 
auto getFTensorObjDStress (const int nb_gauss_pts)
 
auto getFTensorObjDDisplacement (const int nb_gauss_pts)
 
auto getFTensorObjDRotation (const int nb_gauss_pts)
 
auto getJacobianAtPts ()
 
auto getInvJacobianAtPts ()
 
auto getDetJacobianAtPts ()
 
auto getTangent1AtPts ()
 
auto getTangent2AtPts ()
 
auto getNormalAtPts ()
 
auto getObjAtPts ()
 
auto getObjDStrainAtPts ()
 
auto getObjDStressAtPts ()
 
auto getObjDDisplacementAtPts ()
 
auto getObjDRotationAtPts ()
 
 MatOpsTopoData ()
 
- Public Member Functions inherited from EshelbianPlasticity::MatOpsTopoData
 MatOpsTopoData ()
 

Static Public Member Functions

template<class Tensor >
static auto getFTensor (MatrixDouble &m, const int nb_gauss_pts)
 
template<class Tensor >
static auto getFTensor (MatrixPtr m, const int nb_gauss_pts)
 
static auto getFTensor0 (MatrixPtr m, const int nb_gauss_pts)
 

Additional Inherited Members

- Public Attributes inherited from EshelbianPlasticity::MatOpsTopoData
boost::shared_ptr< MatOps::MatOpsDatamatOpsData
 

Detailed Description

Definition at line 39 of file EshelbianTopologicalDerivative.hpp.

Member Function Documentation

◆ getDetJacobianAtPts()

auto EshelbianPlasticity::TopologicalData::getDetJacobianAtPts ( )
inline

Definition at line 134 of file EshelbianTopologicalDerivative.hpp.

134 {
135 return matOpsData->getCommonDataPtr("detJacobianAtPts");
136 }
boost::shared_ptr< MatOps::MatOpsData > matOpsData

◆ getFTensor() [1/2]

template<class Tensor >
static auto EshelbianPlasticity::TopologicalData::getFTensor ( MatrixDouble &  m,
const int  nb_gauss_pts 
)
inlinestatic

Definition at line 44 of file EshelbianTopologicalDerivative.hpp.

44 {
45 return MatrixSizeHelper<Tensor, DL>::get(m, nb_gauss_pts)();
46 }
FTensor::Index< 'm', 3 > m

◆ getFTensor() [2/2]

template<class Tensor >
static auto EshelbianPlasticity::TopologicalData::getFTensor ( MatrixPtr  m,
const int  nb_gauss_pts 
)
inlinestatic

Definition at line 49 of file EshelbianTopologicalDerivative.hpp.

49 {
50 return getFTensor<Tensor>(*m, nb_gauss_pts);
51 }

◆ getFTensor0()

static auto EshelbianPlasticity::TopologicalData::getFTensor0 ( MatrixPtr  m,
const int  nb_gauss_pts 
)
inlinestatic

Definition at line 53 of file EshelbianTopologicalDerivative.hpp.

53 {
54#ifndef NDEBUG
55 if (!m)
56 THROW_MESSAGE("TopologicalData matrix pointer is not available");
57
58 const auto nb = static_cast<size_t>(nb_gauss_pts);
59 if (!((m->size1() == nb && m->size2() == 1) ||
60 (m->size1() == 1 && m->size2() == nb)))
61 THROW_MESSAGE("Scalar matrix size is not compatible with the number of "
62 "integration points");
63#endif
64 return getFTensor0FromMat(*m);
65 }
#define THROW_MESSAGE(msg)
Throw MoFEM exception.
auto getFTensor0FromMat(M &data)
Get tensor rank 0 (scalar) form data vector.

◆ getFTensorDetJacobian()

auto EshelbianPlasticity::TopologicalData::getFTensorDetJacobian ( const int  nb_gauss_pts)
inline

Definition at line 79 of file EshelbianTopologicalDerivative.hpp.

79 {
80 return getFTensor0(matOpsData->getCommonDataPtr("detJacobianAtPts"),
81 nb_gauss_pts);
82 }
static auto getFTensor0(MatrixPtr m, const int nb_gauss_pts)

◆ getFTensorInvJacobian()

auto EshelbianPlasticity::TopologicalData::getFTensorInvJacobian ( const int  nb_gauss_pts)
inline

Definition at line 73 of file EshelbianTopologicalDerivative.hpp.

73 {
74 return getFTensor<
76 matOpsData->getCommonDataPtr("invJacobianAtPtr"), nb_gauss_pts);
77 }
constexpr int SPACE_DIM
DataLayoutTraits< DataLayout::GaussByCoeffs > DL
decltype(GetFTensor2FromMatImpl< Tensor_Dim0, Tensor_Dim1, S, DL, M >::get(std::declval< M & >(), 0, 0)) GetFTensor2FromMatType
static auto getFTensor(MatrixDouble &m, const int nb_gauss_pts)

◆ getFTensorJacobian()

auto EshelbianPlasticity::TopologicalData::getFTensorJacobian ( const int  nb_gauss_pts)
inline

Definition at line 67 of file EshelbianTopologicalDerivative.hpp.

67 {
68 return getFTensor<
70 matOpsData->getCommonDataPtr("jacobianAtPts"), nb_gauss_pts);
71 }

◆ getFTensorNormal()

auto EshelbianPlasticity::TopologicalData::getFTensorNormal ( const int  nb_gauss_pts)
inline

Definition at line 94 of file EshelbianTopologicalDerivative.hpp.

94 {
96 matOpsData->getCommonDataPtr("normalAtPts"), nb_gauss_pts);
97 }
decltype(GetFTensor1FromMatImpl< Tensor_Dim, S, DL, M >::get(std::declval< M & >(), 0, 0)) GetFTensor1FromMatType

◆ getFTensorObj()

auto EshelbianPlasticity::TopologicalData::getFTensorObj ( const int  nb_gauss_pts)
inline

Definition at line 99 of file EshelbianTopologicalDerivative.hpp.

99 {
100 return getFTensor0(matOpsData->getCommonDataPtr("objAtPts"),
101 nb_gauss_pts);
102 }

◆ getFTensorObjDDisplacement()

auto EshelbianPlasticity::TopologicalData::getFTensorObjDDisplacement ( const int  nb_gauss_pts)
inline

Definition at line 116 of file EshelbianTopologicalDerivative.hpp.

116 {
118 matOpsData->getCommonDataPtr("objDDisplacementAtPts"), nb_gauss_pts);
119 }

◆ getFTensorObjDRotation()

auto EshelbianPlasticity::TopologicalData::getFTensorObjDRotation ( const int  nb_gauss_pts)
inline

Definition at line 121 of file EshelbianTopologicalDerivative.hpp.

121 {
123 matOpsData->getCommonDataPtr("objDRotationAtPts"), nb_gauss_pts);
124 }

◆ getFTensorObjDStrain()

auto EshelbianPlasticity::TopologicalData::getFTensorObjDStrain ( const int  nb_gauss_pts)
inline

Definition at line 104 of file EshelbianTopologicalDerivative.hpp.

104 {
105 return getFTensor<
107 matOpsData->getCommonDataPtr("objDStrainAtPts"), nb_gauss_pts);
108 }

◆ getFTensorObjDStress()

auto EshelbianPlasticity::TopologicalData::getFTensorObjDStress ( const int  nb_gauss_pts)
inline

Definition at line 110 of file EshelbianTopologicalDerivative.hpp.

110 {
111 return getFTensor<
113 matOpsData->getCommonDataPtr("objDStressAtPts"), nb_gauss_pts);
114 }

◆ getFTensorTangent1()

auto EshelbianPlasticity::TopologicalData::getFTensorTangent1 ( const int  nb_gauss_pts)
inline

Definition at line 84 of file EshelbianTopologicalDerivative.hpp.

84 {
86 matOpsData->getCommonDataPtr("tangent1AtPts"), nb_gauss_pts);
87 }

◆ getFTensorTangent2()

auto EshelbianPlasticity::TopologicalData::getFTensorTangent2 ( const int  nb_gauss_pts)
inline

Definition at line 89 of file EshelbianTopologicalDerivative.hpp.

89 {
91 matOpsData->getCommonDataPtr("tangent2AtPts"), nb_gauss_pts);
92 }

◆ getInvJacobianAtPts()

auto EshelbianPlasticity::TopologicalData::getInvJacobianAtPts ( )
inline

Definition at line 130 of file EshelbianTopologicalDerivative.hpp.

130 {
131 return matOpsData->getCommonDataPtr("invJacobianAtPtr");
132 }

◆ getJacobianAtPts()

auto EshelbianPlasticity::TopologicalData::getJacobianAtPts ( )
inline

Definition at line 126 of file EshelbianTopologicalDerivative.hpp.

126 {
127 return matOpsData->getCommonDataPtr("jacobianAtPts");
128 }

◆ getNormalAtPts()

auto EshelbianPlasticity::TopologicalData::getNormalAtPts ( )
inline

Definition at line 146 of file EshelbianTopologicalDerivative.hpp.

146 {
147 return matOpsData->getCommonDataPtr("normalAtPts");
148 }

◆ getObjAtPts()

auto EshelbianPlasticity::TopologicalData::getObjAtPts ( )
inline

Definition at line 150 of file EshelbianTopologicalDerivative.hpp.

150 {
151 return matOpsData->getCommonDataPtr("objAtPts");
152 }

◆ getObjDDisplacementAtPts()

auto EshelbianPlasticity::TopologicalData::getObjDDisplacementAtPts ( )
inline

Definition at line 162 of file EshelbianTopologicalDerivative.hpp.

162 {
163 return matOpsData->getCommonDataPtr("objDDisplacementAtPts");
164 }

◆ getObjDRotationAtPts()

auto EshelbianPlasticity::TopologicalData::getObjDRotationAtPts ( )
inline

Definition at line 166 of file EshelbianTopologicalDerivative.hpp.

166 {
167 return matOpsData->getCommonDataPtr("objDRotationAtPts");
168 }

◆ getObjDStrainAtPts()

auto EshelbianPlasticity::TopologicalData::getObjDStrainAtPts ( )
inline

Definition at line 154 of file EshelbianTopologicalDerivative.hpp.

154 {
155 return matOpsData->getCommonDataPtr("objDStrainAtPts");
156 }

◆ getObjDStressAtPts()

auto EshelbianPlasticity::TopologicalData::getObjDStressAtPts ( )
inline

Definition at line 158 of file EshelbianTopologicalDerivative.hpp.

158 {
159 return matOpsData->getCommonDataPtr("objDStressAtPts");
160 }

◆ getTangent1AtPts()

auto EshelbianPlasticity::TopologicalData::getTangent1AtPts ( )
inline

Definition at line 138 of file EshelbianTopologicalDerivative.hpp.

138 {
139 return matOpsData->getCommonDataPtr("tangent1AtPts");
140 }

◆ getTangent2AtPts()

auto EshelbianPlasticity::TopologicalData::getTangent2AtPts ( )
inline

Definition at line 142 of file EshelbianTopologicalDerivative.hpp.

142 {
143 return matOpsData->getCommonDataPtr("tangent2AtPts");
144 }

◆ MatOpsTopoData()

EshelbianPlasticity::MatOpsTopoData::MatOpsTopoData ( )
inline

Definition at line 19 of file EshelbianTopologicalDerivative.hpp.

19 {
21 matOpsData->insertCommonData("jacobianAtPts");
22 matOpsData->insertCommonData("invJacobianAtPtr");
23 matOpsData->insertCommonData("detJacobianAtPts");
24 matOpsData->insertCommonData("tangent1AtPts");
25 matOpsData->insertCommonData("tangent2AtPts");
26 matOpsData->insertCommonData("normalAtPts");
27 matOpsData->insertCommonData("objAtPts");
28 matOpsData->insertCommonData("objDStrainAtPts");
29 matOpsData->insertCommonData("objDStressAtPts");
30 matOpsData->insertCommonData("objDRotationAtPts");
31 matOpsData->insertCommonData("objDDisplacementAtPts");
32 }
boost::shared_ptr< MatOpsData > createMatOpsDataPtr()
Definition MatOps.cpp:671

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