www.mooseframework.org
Functions
InternalVolume.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("MiscApp", InternalVolume)
 
template<>
InputParameters validParams< InternalVolume > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "MiscApp"  ,
InternalVolume   
)

◆ validParams< InternalVolume >()

template<>
InputParameters validParams< InternalVolume > ( )

Definition at line 19 of file InternalVolume.C.

20 {
21  InputParameters params = validParams<SideIntegralPostprocessor>();
22  params.addClassDescription("Computes the volume of an enclosed area by "
23  "performing an integral over a user-supplied boundary.");
24  params.addRangeCheckedParam<unsigned int>(
25  "component", 0, "component<3", "The component to use in the integration");
26  params.addParam<Real>(
27  "scale_factor", 1, "A scale factor to be applied to the internal volume calculation");
28  params.addParam<FunctionName>("addition",
29  0,
30  "An additional volume to be included in the "
31  "internal volume calculation. A time-dependent "
32  "function is expected.");
33  params.set<bool>("use_displaced_mesh") = true;
34  return params;
35 }