www.mooseframework.org
Functions
EBSDMesh.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< EBSDMesh > ()
 

Function Documentation

template<>
InputParameters validParams< EBSDMesh > ( )

Definition at line 14 of file EBSDMesh.C.

15 {
16  InputParameters params = validParams<GeneratedMesh>();
17  params.addClassDescription("Mesh generated from a specified DREAM.3D EBSD data file.");
18  params.addRequiredParam<FileName>("filename", "The name of the file containing the EBSD data");
19  params.addParam<unsigned int>(
20  "uniform_refine", 0, "Number of coarsening levels available in adaptive mesh refinement.");
21 
22  // suppress parameters
23  params.suppressParameter<MooseEnum>("dim");
24  params.set<MooseEnum>("dim") = MooseEnum("1=1 2 3", "1");
25  params.suppressParameter<unsigned int>("nx");
26  params.suppressParameter<unsigned int>("ny");
27  params.suppressParameter<unsigned int>("nz");
28  params.suppressParameter<Real>("xmin");
29  params.suppressParameter<Real>("ymin");
30  params.suppressParameter<Real>("zmin");
31  params.suppressParameter<Real>("xmax");
32  params.suppressParameter<Real>("ymax");
33  params.suppressParameter<Real>("zmax");
34 
35  return params;
36 }