www.mooseframework.org
InternalVolume.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "SideIntegralPostprocessor.h"
13 
14 class InternalVolume;
15 
16 template <>
17 InputParameters validParams<InternalVolume>();
18 
30 class InternalVolume : public SideIntegralPostprocessor
31 {
32 public:
33  InternalVolume(const InputParameters & parameters);
34 
35  void initialSetup();
36 
37 protected:
38  virtual Real computeQpIntegral();
39  virtual Real getValue();
40 
41  const unsigned int _component;
42  const Real _scale;
43  const Function & _addition;
44 };
InternalVolume::_component
const unsigned int _component
Definition: InternalVolume.h:41
InternalVolume::initialSetup
void initialSetup()
Definition: InternalVolume.C:72
InternalVolume
This class computes the volume of an interior space.
Definition: InternalVolume.h:30
InternalVolume::_scale
const Real _scale
Definition: InternalVolume.h:42
InternalVolume::getValue
virtual Real getValue()
Definition: InternalVolume.C:132
InternalVolume::InternalVolume
InternalVolume(const InputParameters &parameters)
Definition: InternalVolume.C:37
validParams< InternalVolume >
InputParameters validParams< InternalVolume >()
Definition: InternalVolume.C:19
InternalVolume::computeQpIntegral
virtual Real computeQpIntegral()
Definition: InternalVolume.C:105
InternalVolume::_addition
const Function & _addition
Definition: InternalVolume.h:43