www.mooseframework.org
LayeredIntegral.h
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 #ifndef LAYEREDINTEGRAL_H
16 #define LAYEREDINTEGRAL_H
17 
18 // MOOSE includes
20 #include "LayeredBase.h"
21 
22 // Forward Declarations
23 class LayeredIntegral;
24 
25 template <>
27 
33 {
34 public:
36 
42  virtual Real spatialValue(const Point & p) const override { return integralValue(p); }
43 
44  virtual void initialize() override;
45  virtual void execute() override;
46  virtual void finalize() override;
47  virtual void threadJoin(const UserObject & y) override;
48 };
49 
50 #endif
This UserObject computes volume integrals of a variable storing partial sums for the specified number...
virtual Real spatialValue(const Point &p) const override
Given a Point return the integral value associated with the layer that point falls in...
InputParameters validParams< LayeredIntegral >()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual void execute() override
Execute method.
virtual void initialize() override
virtual Real integralValue(Point p) const
Given a Point return the integral value associated with the layer that point falls in...
Definition: LayeredBase.C:107
This UserObject computes volume integrals of a variable storing partial sums for the specified number...
Definition: LayeredBase.h:44
virtual void threadJoin(const UserObject &y) override
This postprocessor computes a volume integral of the specified variable.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
LayeredIntegral(const InputParameters &parameters)
Base class for user-specific data.
Definition: UserObject.h:42
virtual void finalize() override