www.mooseframework.org
InternalVolume.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef INTERNALVOLUME_H
8 #define INTERNALVOLUME_H
9 
10 #include "SideIntegralPostprocessor.h"
11 
12 class InternalVolume;
13 
14 template <>
15 InputParameters validParams<InternalVolume>();
16 
28 class InternalVolume : public SideIntegralPostprocessor
29 {
30 public:
31  InternalVolume(const InputParameters & parameters);
32 
33  void initialSetup();
34 
35 protected:
36  virtual Real computeQpIntegral();
37  virtual Real getValue();
38 
39  const unsigned int _component;
40  const Real _scale;
41  const Real _addition;
42 };
43 
44 #endif // INTERNALVOLUME_H
virtual Real getValue()
const Real _addition
const Real _scale
InputParameters validParams< InternalVolume >()
InternalVolume(const InputParameters &parameters)
virtual Real computeQpIntegral()
This class computes the volume of an interior space.
const unsigned int _component