14 : _crack_front_definition(*crack_front_definition)
20 std::vector<Real> &
B)
22 unsigned int crack_front_point_index =
26 mooseError(
"EnrichmentFunctionCalculation: the distance between a point and the crack " 27 "tip/front is zero.");
39 return crack_front_point_index;
44 const Point & point, std::vector<RealVectorValue> & dB)
46 unsigned int crack_front_point_index =
50 mooseError(
"EnrichmentFunctionCalculation: the distance between a point and the crack " 51 "tip/front is zero.");
61 dB[0](0) = -0.5 / sr * st2;
62 dB[0](1) = 0.5 / sr * ct2;
64 dB[1](0) = 0.5 / sr * ct2;
65 dB[1](1) = 0.5 / sr * st2;
67 dB[2](0) = -0.5 / sr * st15 * st;
68 dB[2](1) = 0.5 / sr * (st2 + st15 * ct);
70 dB[3](0) = -0.5 / sr * ct15 * st;
71 dB[3](1) = 0.5 / sr * (ct2 + ct15 * ct);
74 return crack_front_point_index;
80 const unsigned int point_index)
const CrackFrontDefinition & _crack_front_definition
bool absoluteFuzzyEqual(const T &var1, const T2 &var2, const T3 &tol=libMesh::TOLERANCE *libMesh::TOLERANCE)
void mooseError(Args &&... args)
EnrichmentFunctionCalculation(const CrackFrontDefinition *crack_front_definition)
virtual unsigned int crackTipEnrichementFunctionAtPoint(const Point &point, std::vector< Real > &B)
calculate the enrichment function values at point
void rotateFromCrackFrontCoordsToGlobal(const RealVectorValue &vector, RealVectorValue &rotated_vector, const unsigned int point_index)
rotate a vector from crack front coordinate to global cooridate
ADRealEigenVector< T, D, asd > sqrt(const ADRealEigenVector< T, D, asd > &)
RealVectorValue rotateFromCrackFrontCoordsToGlobal(const RealVectorValue vector, const std::size_t point_index) const
Rotate a vector from crack front cartesian coordinate to global cartesian coordinate.
Class used in fracture integrals to define geometric characteristics of the crack front...
void calculateRThetaToCrackFront(const Point qp, const std::size_t point_index, Real &r, Real &theta) const
Calculate r and theta of a point in the crack front polar coordinates for a given crack point index...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual unsigned int crackTipEnrichementFunctionDerivativeAtPoint(const Point &point, std::vector< RealVectorValue > &dB)
calculate the enrichment function derivatives at point