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 24 of file PorousFlowPlotQuantity.h.

Constructor & Destructor Documentation

◆ PorousFlowPlotQuantity()

PorousFlowPlotQuantity::PorousFlowPlotQuantity ( const InputParameters &  parameters)

Definition at line 26 of file PorousFlowPlotQuantity.C.

27  : GeneralPostprocessor(parameters), _total_mass(getUserObject<PorousFlowSumQuantity>("uo"))
28 {
29 }
const PorousFlowSumQuantity & _total_mass
The PorousFlowSumQuantity userobject.

◆ ~PorousFlowPlotQuantity()

PorousFlowPlotQuantity::~PorousFlowPlotQuantity ( )
virtual

Definition at line 31 of file PorousFlowPlotQuantity.C.

31 {}

Member Function Documentation

◆ execute()

void PorousFlowPlotQuantity::execute ( )
overridevirtual

Definition at line 39 of file PorousFlowPlotQuantity.C.

40 {
41 }

◆ getValue()

PostprocessorValue PorousFlowPlotQuantity::getValue ( )
overridevirtual

Returns the value of the PorousFlowSumQuantity.

Definition at line 44 of file PorousFlowPlotQuantity.C.

45 {
46  return _total_mass.getValue();
47 }
virtual Real getValue() const
Returns _total.
const PorousFlowSumQuantity & _total_mass
The PorousFlowSumQuantity userobject.

◆ initialize()

void PorousFlowPlotQuantity::initialize ( )
overridevirtual

Definition at line 34 of file PorousFlowPlotQuantity.C.

35 {
36 }

Member Data Documentation

◆ _total_mass

const PorousFlowSumQuantity& PorousFlowPlotQuantity::_total_mass
protected

The PorousFlowSumQuantity userobject.

Definition at line 38 of file PorousFlowPlotQuantity.h.

Referenced by getValue().


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