www.mooseframework.org
Functions
LevelSetVolume.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< LevelSetVolume > ()
 

Function Documentation

template<>
InputParameters validParams< LevelSetVolume > ( )

Definition at line 12 of file LevelSetVolume.C.

13 {
14  InputParameters params = validParams<ElementVariablePostprocessor>();
15  params.addClassDescription(
16  "Compute the area or volume of the region inside or outside of a level set contour.");
17  params.addParam<Real>(
18  "threshold", 0.0, "The level set threshold to consider for computing area/volume.");
19 
20  MooseEnum loc("inside=0 outside=1", "inside");
21  params.addParam<MooseEnum>("location", loc, "The location of the area/volume to be computed.");
22  return params;
23 }