www.mooseframework.org
RichardsMass.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 
8 #ifndef RICHARDSMASS_H
9 #define RICHARDSMASS_H
10 
11 #include "ElementIntegralVariablePostprocessor.h"
12 #include "RichardsVarNames.h"
13 
14 // Forward Declarations
15 class RichardsMass;
16 
17 template <>
18 InputParameters validParams<RichardsMass>();
19 
24 class RichardsMass : public ElementIntegralVariablePostprocessor
25 {
26 public:
27  RichardsMass(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeQpIntegral();
31 
34 
36  unsigned int _pvar;
37 
39  const MaterialProperty<std::vector<Real>> & _mass;
40 };
41 
42 #endif
InputParameters validParams< RichardsMass >()
Definition: RichardsMass.C:15
This holds maps between pressure_var or pressure_var, sat_var used in RichardsMaterial and kernels...
const RichardsVarNames & _richards_name_UO
userobject that holds Richards variable names
Definition: RichardsMass.h:33
This postprocessor computes the fluid mass by integrating the density over the volume.
Definition: RichardsMass.h:24
const MaterialProperty< std::vector< Real > > & _mass
Mass, or vector of masses in multicomponent situation.
Definition: RichardsMass.h:39
virtual Real computeQpIntegral()
Definition: RichardsMass.C:35
RichardsMass(const InputParameters &parameters)
Definition: RichardsMass.C:24
unsigned int _pvar
Richards variable number that we want the mass for.
Definition: RichardsMass.h:36