www.mooseframework.org
VolumePostprocessor.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #include "VolumePostprocessor.h"
16 
17 template <>
20 {
22  return params;
23 }
24 
26  : ElementIntegralPostprocessor(parameters)
27 {
28 }
29 
30 void
32 {
33  const VolumePostprocessor & pps = static_cast<const VolumePostprocessor &>(y);
35 }
36 
37 Real
39 {
40  return 1.0;
41 }
This postprocessor computes a volume integral of the specified variable.
This postprocessor computes the volume of a specified block.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
VolumePostprocessor(const InputParameters &parameters)
virtual void threadJoin(const UserObject &y) override
Must override.
virtual Real computeQpIntegral() override
InputParameters validParams< VolumePostprocessor >()
InputParameters validParams< ElementIntegralPostprocessor >()
Base class for user-specific data.
Definition: UserObject.h:42