www.mooseframework.org
EnrichmentFunctionCalculation.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef ENRICHMENTFUNCTIONCALCULATION_H
9 #define ENRICHMENTFUNCTIONCALCULATION_H
10 
11 #include "CrackFrontDefinition.h"
12 
14 
15 template <>
17 
22 {
23 public:
24  EnrichmentFunctionCalculation(const CrackFrontDefinition * crack_front_definition);
25 
29  virtual unsigned int crackTipEnrichementFunctionAtPoint(const Point & point,
30  std::vector<Real> & B);
31 
35  virtual unsigned int
37  std::vector<RealVectorValue> & dB);
38 
42  void rotateFromCrackFrontCoordsToGlobal(const RealVectorValue & vector,
43  RealVectorValue & rotated_vector,
44  const unsigned int point_index);
45 
46 private:
48  Real _r;
49  Real _theta;
50 };
51 
52 #endif // ENRICHMENTFUNCTIONCALCULATION_H
const CrackFrontDefinition * _crack_front_definition
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
Works on top of NodalNormalsPreprocessor.
Perform calculation of enrichment function values and derivatives.
InputParameters validParams< EnrichmentFunctionCalculation >()
virtual unsigned int crackTipEnrichementFunctionDerivativeAtPoint(const Point &point, std::vector< RealVectorValue > &dB)
calculate the enrichment function derivatives at point