www.mooseframework.org
DomainIntegralQFunction.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 #ifndef DOMAININTEGRALQFUNCTION_H
8 #define DOMAININTEGRALQFUNCTION_H
9 
10 #include "AuxKernel.h"
11 #include "CrackFrontDefinition.h"
12 
16 class DomainIntegralQFunction : public AuxKernel
17 {
18 public:
23  DomainIntegralQFunction(const InputParameters & parameters);
24 
26 
27 protected:
28  virtual void initialSetup();
29  virtual Real computeValue();
30  void projectToFrontAtPoint(Real & dist_to_front, Real & dist_along_tangent);
31 
32 private:
37  const unsigned int _crack_front_point_index;
40 };
41 
42 template <>
43 InputParameters validParams<DomainIntegralQFunction>();
44 
45 #endif // DOMAININTEGRALQFUNCTION_H
Coupled auxiliary value.
Works on top of NodalNormalsPreprocessor.
InputParameters validParams< DomainIntegralQFunction >()
void projectToFrontAtPoint(Real &dist_to_front, Real &dist_along_tangent)
const CrackFrontDefinition *const _crack_front_definition
DomainIntegralQFunction(const InputParameters &parameters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
const unsigned int _crack_front_point_index