https://mooseframework.inl.gov
Loading...
Searching...
No Matches
XFEMCrackGrowthIncrement2DCut.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
12#include "libmesh/libmesh_common.h"
13#include "libmesh/libmesh.h" // libMesh::invalid_uint
14#include "libmesh/elem.h"
15
16using libMesh::Elem;
17using libMesh::Point;
18using libMesh::Real;
19
21{
22 unsigned int _id1;
23 unsigned int _id2;
25 unsigned int _host_side_id;
26};
27
29{
30public:
31 XFEMCrackGrowthIncrement2DCut(Real x0, Real y0, Real x1, Real y1, Real t0, Real t1);
32
33 virtual bool cutElementByCrackGrowthIncrement(const Elem * elem,
34 std::vector<CutEdgeForCrackGrowthIncr> & cut_edges,
35 Real time);
36
37 Real cutCompletionFraction(Real time);
38
39protected:
40 const std::pair<Real, Real> _time_range;
41
42private:
43 const std::pair<Point, Point> _cut_line_endpoints;
44};
const std::pair< Real, Real > _time_range
virtual bool cutElementByCrackGrowthIncrement(const Elem *elem, std::vector< CutEdgeForCrackGrowthIncr > &cut_edges, Real time)
const std::pair< Point, Point > _cut_line_endpoints
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real