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

Go to the source code of this file.

Classes

class  InternalVolume
 This class computes the volume of an interior space. More...
 

Functions

template<>
InputParameters validParams< InternalVolume > ()
 

Function Documentation

template<>
InputParameters validParams< InternalVolume > ( )

Definition at line 13 of file InternalVolume.C.

14 {
15  InputParameters params = validParams<SideIntegralPostprocessor>();
16  params.addClassDescription("Computes the volume of an enclosed area by "
17  "performing an integral over a user-supplied boundary.");
18  params.addRangeCheckedParam<unsigned int>(
19  "component", 0, "component<3", "The component to use in the integration");
20  params.addParam<Real>(
21  "scale_factor", 1, "A scale factor to be applied to the internal volume calculation");
22  params.addParam<Real>(
23  "addition", 0, "An additional volume to be included in the internal volume calculation");
24  params.set<bool>("use_displaced_mesh") = true;
25  return params;
26 }