www.mooseframework.org
RectangleCutUserObject.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef RECTANGLECUTUSEROBJECT_H
9 #define RECTANGLECUTUSEROBJECT_H
10 
12 
13 // Forward declarations
15 
16 template <>
17 InputParameters validParams<RectangleCutUserObject>();
18 
20 {
21 public:
22  RectangleCutUserObject(const InputParameters & parameters);
23 
24  virtual void initialize() override{};
25  virtual void execute() override{};
26  virtual void finalize() override{};
27  virtual const std::vector<Point>
28  getCrackFrontPoints(unsigned int num_crack_front_points) const override;
29 
30 protected:
31  std::vector<Real> _cut_data;
32 
33 private:
34  std::vector<Point> _vertices;
35 
36  bool isInsideCutPlane(Point p) const override;
37 };
38 
39 #endif // RECTANGLECUTUSEROBJECT_H
virtual void finalize() override
virtual void execute() override
virtual void initialize() override
std::vector< Real > _cut_data
InputParameters validParams< RectangleCutUserObject >()
virtual const std::vector< Point > getCrackFrontPoints(unsigned int num_crack_front_points) const override
get a set of points along a crack front from a XFEM GeometricCutUserObject
RectangleCutUserObject(const InputParameters &parameters)
bool isInsideCutPlane(Point p) const override
std::vector< Point > _vertices