www.mooseframework.org
CrackFrontData.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 CRACKFRONTDATA_H
9 #define CRACKFRONTDATA_H
10 
11 #include "GeneralPostprocessor.h"
12 #include "CrackFrontDefinition.h"
13 // libMesh
14 #include "libmesh/node.h"
15 
16 class MooseMesh;
17 
18 // Forward Declarations
19 class CrackFrontData;
20 
21 template <>
22 InputParameters validParams<CrackFrontData>();
23 
24 class CrackFrontData : public GeneralPostprocessor
25 {
26 public:
27  CrackFrontData(const InputParameters & parameters);
28 
29  virtual void initialize();
30  virtual void execute() {}
31 
35  virtual Real getValue();
36 
37 protected:
39  const unsigned int _crack_front_point_index;
40  const Node * _crack_front_node;
41  MooseMesh & _mesh;
42  std::string _var_name;
43  const Real _scale_factor;
44 };
45 
46 #endif // CRACKFRONTDATA_H
virtual void execute()
CrackFrontData(const InputParameters &parameters)
const CrackFrontDefinition *const _crack_front_definition
const Real _scale_factor
virtual Real getValue()
This will return the degrees of freedom in the system.
Works on top of NodalNormalsPreprocessor.
const unsigned int _crack_front_point_index
InputParameters validParams< CrackFrontData >()
std::string _var_name
virtual void initialize()
MooseMesh & _mesh
const Node * _crack_front_node