www.mooseframework.org
Functions
LineSegmentCutSetUserObject.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< LineSegmentCutSetUserObject > ()
 

Function Documentation

template<>
InputParameters validParams< LineSegmentCutSetUserObject > ( )

Definition at line 15 of file LineSegmentCutSetUserObject.C.

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