www.mooseframework.org
CrackFrontData.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "GeneralPostprocessor.h"
13 #include "CrackFrontDefinition.h"
14 // libMesh
15 #include "libmesh/node.h"
16 
17 class MooseMesh;
18 
19 // Forward Declarations
20 
22 {
23 public:
25 
27 
28  virtual void initialize() override;
29  virtual void execute() override;
30  virtual void finalize() override;
31 
35  virtual Real getValue() const override;
36 
37 protected:
39  const unsigned int _crack_front_point_index;
40  const Node * _crack_front_node;
42  std::string _var_name;
46 };
static InputParameters validParams()
CrackFrontData(const InputParameters &parameters)
const CrackFrontDefinition *const _crack_front_definition
const Real _scale_factor
MooseVariable & _field_var
virtual Real getValue() const override
This will return the degrees of freedom in the system.
virtual void execute() override
Class used in fracture integrals to define geometric characteristics of the crack front...
const unsigned int _crack_front_point_index
std::string _var_name
virtual void initialize() override
MooseMesh & _mesh
const Node * _crack_front_node
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
virtual void finalize() override