www.mooseframework.org
xfem
test
include
postprocessors
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
TestCrackCounter
;
16
class
XFEM
;
17
18
template
<>
19
InputParameters
validParams<TestCrackCounter>
();
20
21
class
TestCrackCounter
:
public
GeneralPostprocessor
22
{
23
public
:
24
TestCrackCounter
(
const
InputParameters & parameters);
25
27
virtual
void
initialize
();
28
30
virtual
void
execute
();
31
33
virtual
Real
getValue
();
34
35
protected
:
37
unsigned
int
_number_of_cracks
;
38
39
private
:
40
std::shared_ptr<XFEM>
_xfem
;
41
};
42
TestCrackCounter::TestCrackCounter
TestCrackCounter(const InputParameters ¶meters)
Definition:
TestCrackCounter.C:26
TestCrackCounter::initialize
virtual void initialize()
Initialize the number of Cracks.
Definition:
TestCrackCounter.C:38
TestCrackCounter
Definition:
TestCrackCounter.h:21
TestCrackCounter::getValue
virtual Real getValue()
Get number of Cracks.
Definition:
TestCrackCounter.C:53
TestCrackCounter::_number_of_cracks
unsigned int _number_of_cracks
Variable used to write out the number of Cracks.
Definition:
TestCrackCounter.h:37
validParams< TestCrackCounter >
InputParameters validParams< TestCrackCounter >()
Definition:
TestCrackCounter.C:17
TestCrackCounter::_xfem
std::shared_ptr< XFEM > _xfem
Definition:
TestCrackCounter.h:40
TestCrackCounter::execute
virtual void execute()
Calculates the number of Cracks.
Definition:
TestCrackCounter.C:44
XFEM
This is the XFEM class.
Definition:
XFEM.h:61
Generated on Sat Jan 25 2020 12:04:48 for www.mooseframework.org by
1.8.16