www.mooseframework.org
Classes | Functions
LineSegmentCutUserObject.h File Reference

Go to the source code of this file.

Classes

class  LineSegmentCutUserObject
 

Functions

template<>
InputParameters validParams< LineSegmentCutUserObject > ()
 

Function Documentation

template<>
InputParameters validParams< LineSegmentCutUserObject > ( )

Definition at line 12 of file LineSegmentCutUserObject.C.

13 {
14  // Get input parameters from parent class
15  InputParameters params = validParams<GeometricCut2DUserObject>();
16 
17  // Add required parameters
18  params.addRequiredParam<std::vector<Real>>("cut_data",
19  "Vector of Real values providing cut information");
20  // Add optional parameters
21  params.addParam<std::vector<Real>>("cut_scale", "X,Y scale factors for geometric cuts");
22  params.addParam<std::vector<Real>>("cut_translate", "X,Y translations for geometric cuts");
23  // Class description
24  params.addClassDescription("Creates a UserObject for a line segment cut on 2D meshes for XFEM");
25  // Return the parameters
26  return params;
27 }
InputParameters validParams< GeometricCut2DUserObject >()