https://mooseframework.inl.gov
EnrichmentFunctionCalculation.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "CrackFrontDefinition.h"
13 
18 {
19 public:
20  EnrichmentFunctionCalculation(const CrackFrontDefinition * crack_front_definition);
21 
25  virtual unsigned int crackTipEnrichementFunctionAtPoint(const Point & point,
26  std::vector<Real> & B);
27 
31  virtual unsigned int
33  std::vector<RealVectorValue> & dB);
34 
39  RealVectorValue & rotated_vector,
40  const unsigned int point_index);
41 
42 private:
46 };
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
Class used in fracture integrals to define geometric characteristics of the crack front...
Perform calculation of enrichment function values and derivatives.
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