https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
13
18{
19public:
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
38 void rotateFromCrackFrontCoordsToGlobal(const RealVectorValue & vector,
39 RealVectorValue & rotated_vector,
40 const unsigned int point_index);
41
42private:
44 Real _r;
45 Real _theta;
46};
Class used in fracture integrals to define geometric characteristics of the crack front.
Perform calculation of enrichment function values and derivatives.
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
virtual unsigned int crackTipEnrichementFunctionDerivativeAtPoint(const Point &point, std::vector< RealVectorValue > &dB)
calculate the enrichment function derivatives at point
const CrackFrontDefinition & _crack_front_definition