Line data Source code
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 "GeometricCut2DUserObject.h" 13 : 14 : // Forward declarations 15 : 16 : class LineSegmentCutSetUserObject : public GeometricCut2DUserObject 17 : { 18 : public: 19 : static InputParameters validParams(); 20 : 21 : LineSegmentCutSetUserObject(const InputParameters & parameters); 22 : 23 : virtual const std::vector<Point> 24 : 25 : getCrackFrontPoints(unsigned int num_crack_front_points) const override; 26 : 27 : virtual const std::vector<RealVectorValue> 28 : 29 : getCrackPlaneNormals(unsigned int num_crack_front_points) const override; 30 : 31 : /** 32 : * Get the cut location information 33 : */ 34 0 : virtual std::vector<Real> getCutData() const { return _cut_data; }; 35 : 36 : protected: 37 : std::vector<Real> _cut_data; 38 : };