www.mooseframework.org
CircleCutUserObject.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 CIRCLECUTUSEROBJECT_H
9 #define CIRCLECUTUSEROBJECT_H
10 
12 
13 // Forward declarations
15 
16 template <>
17 InputParameters validParams<CircleCutUserObject>();
18 
20 {
21 public:
22  CircleCutUserObject(const InputParameters & parameters);
23 
24  virtual void initialSetup() override{};
25  virtual void initialize() override{};
26  virtual void execute() override{};
27  virtual void finalize() override{};
28  virtual const std::vector<Point>
29  getCrackFrontPoints(unsigned int num_crack_front_points) const override;
30 
31 protected:
32  std::vector<Real> _cut_data;
33 
34 private:
35  std::vector<Point> _vertices;
36  Real _radius;
37  Real _angle;
38 
39  virtual bool isInsideCutPlane(Point p) const override;
40 };
41 
42 #endif // CIRCLECUTUSEROBJECT_H
virtual void initialSetup() override
virtual void execute() override
virtual void finalize() override
InputParameters validParams< CircleCutUserObject >()
CircleCutUserObject(const InputParameters &parameters)
std::vector< Real > _cut_data
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
std::vector< Point > _vertices
virtual void initialize() override
virtual bool isInsideCutPlane(Point p) const override