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