www.mooseframework.org
EllipseCutUserObject.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 ELLIPSECUTUSEROBJECT_H
9 #define ELLIPSECUTUSEROBJECT_H
10 
12 
13 // Forward declarations
15 
16 template <>
17 InputParameters validParams<EllipseCutUserObject>();
18 
20 {
21 public:
22  EllipseCutUserObject(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  Point _unit_vec1;
36  Point _unit_vec2;
37  Real _long_axis;
39 
40  virtual bool isInsideCutPlane(Point p) const override;
41 };
42 
43 #endif // ELLIPSECUTUSEROBJECT_H
virtual void finalize() override
std::vector< Real > _cut_data
virtual bool isInsideCutPlane(Point p) const override
virtual void initialize() override
InputParameters validParams< EllipseCutUserObject >()
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
virtual void execute() override
std::vector< Point > _vertices
EllipseCutUserObject(const InputParameters &parameters)