ImageMesh.C File Reference

Go to the source code of this file.


InputParameters validParams< ImageMesh > ()

Function Documentation

Definition at line 27 of file ImageMesh.C.

28 {
31  params.addClassDescription("Generated mesh with the aspect ratio of a given image stack.");
33  // Add ImageMesh-specific params
34  params.addParam<bool>(
35  "scale_to_one", true, "Whether or not to scale the image so its max dimension is 1");
36  params.addRangeCheckedParam<Real>("cells_per_pixel",
37  1.0,
38  "cells_per_pixel<=1.0",
39  "The number of mesh cells per pixel, must be <=1 ");
41  return params;
42 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< GeneratedMesh >()
Definition: GeneratedMesh.C:28
InputParameters validParams< FileRangeBuilder >()
To be called in the validParams functions of classes that need to operate on ranges of files...
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...