www.mooseframework.org
Public Member Functions | Protected Attributes | List of all members
PorousFlowPlotQuantity Class Reference

Extracts the value from PorousFlowSumQuantity userobject. More...

#include <PorousFlowPlotQuantity.h>

Inheritance diagram for PorousFlowPlotQuantity:
[legend]

Public Member Functions

 PorousFlowPlotQuantity (const InputParameters &parameters)
 
virtual ~PorousFlowPlotQuantity ()
 
virtual void initialize () override
 
virtual void execute () override
 
virtual PostprocessorValue getValue () override
 returns the value of the PorousFlowSumQuantity More...
 

Protected Attributes

const PorousFlowSumQuantity_total_mass
 the PorousFlowSumQuantity userobject More...
 

Detailed Description

Extracts the value from PorousFlowSumQuantity userobject.

Definition at line 22 of file PorousFlowPlotQuantity.h.

Constructor & Destructor Documentation

PorousFlowPlotQuantity::PorousFlowPlotQuantity ( const InputParameters &  parameters)

Definition at line 22 of file PorousFlowPlotQuantity.C.

23  : GeneralPostprocessor(parameters), _total_mass(getUserObject<PorousFlowSumQuantity>("uo"))
24 {
25 }
const PorousFlowSumQuantity & _total_mass
the PorousFlowSumQuantity userobject
PorousFlowPlotQuantity::~PorousFlowPlotQuantity ( )
virtual

Definition at line 27 of file PorousFlowPlotQuantity.C.

27 {}

Member Function Documentation

void PorousFlowPlotQuantity::execute ( )
overridevirtual

Definition at line 35 of file PorousFlowPlotQuantity.C.

36 {
37 }
PostprocessorValue PorousFlowPlotQuantity::getValue ( )
overridevirtual

returns the value of the PorousFlowSumQuantity

Definition at line 40 of file PorousFlowPlotQuantity.C.

41 {
42  return _total_mass.getValue();
43 }
virtual Real getValue() const
returns _total
const PorousFlowSumQuantity & _total_mass
the PorousFlowSumQuantity userobject
void PorousFlowPlotQuantity::initialize ( )
overridevirtual

Definition at line 30 of file PorousFlowPlotQuantity.C.

31 {
32 }

Member Data Documentation

const PorousFlowSumQuantity& PorousFlowPlotQuantity::_total_mass
protected

the PorousFlowSumQuantity userobject

Definition at line 36 of file PorousFlowPlotQuantity.h.

Referenced by getValue().


The documentation for this class was generated from the following files: