www.mooseframework.org
TestCrackCounter.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 
14 // Forward Declarations
15 class XFEM;
16 
18 {
19 public:
21 
23 
25  virtual void initialize() override;
26 
28  virtual void execute() override;
29 
31  virtual Real getValue() const override;
32 
33 protected:
35  unsigned int _number_of_cracks;
36 
37 private:
38  std::shared_ptr<XFEM> _xfem;
39 };
std::shared_ptr< XFEM > _xfem
virtual Real getValue() const override
Get number of Cracks.
This is the XFEM class.
Definition: XFEM.h:107
static InputParameters validParams()
virtual void execute() override
Calculates the number of Cracks.
TestCrackCounter(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void initialize() override
Initialize the number of Cracks.
const InputParameters & parameters() const
unsigned int _number_of_cracks
Variable used to write out the number of Cracks.