#include <TestCrackCounter.h>
Definition at line 21 of file TestCrackCounter.h.
◆ TestCrackCounter()
TestCrackCounter::TestCrackCounter |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 26 of file TestCrackCounter.C.
29 FEProblemBase * fe_problem = dynamic_cast<FEProblemBase *>(&_subproblem);
30 if (fe_problem ==
nullptr)
31 mooseError(
"Problem casting _subproblem to FEProblemBase in TestCrackCounter");
32 _xfem = MooseSharedNamespace::dynamic_pointer_cast<XFEM>(fe_problem->getXFEM());
34 mooseError(
"Problem casting to XFEM in TestCrackCounter");
◆ execute()
void TestCrackCounter::execute |
( |
| ) |
|
|
virtual |
Calculates the number of Cracks.
Definition at line 44 of file TestCrackCounter.C.
46 const std::map<const Elem *, std::vector<Point>> & crack_origins_map =
47 _xfem->getCrackTipOriginMap();
◆ getValue()
Real TestCrackCounter::getValue |
( |
| ) |
|
|
virtual |
◆ initialize()
void TestCrackCounter::initialize |
( |
| ) |
|
|
virtual |
◆ _number_of_cracks
unsigned int TestCrackCounter::_number_of_cracks |
|
protected |
◆ _xfem
std::shared_ptr<XFEM> TestCrackCounter::_xfem |
|
private |
The documentation for this class was generated from the following files: