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

This postprocessor allows to extract view factors from ViewFactor userobjects. More...

#include <ViewFactorPP.h>

Inheritance diagram for ViewFactorPP:
[legend]

Public Member Functions

 ViewFactorPP (const InputParameters &parameters)
 
virtual void initialize () override
 
virtual void execute () override
 
virtual PostprocessorValue getValue () override
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Attributes

const ViewFactorBase_vf_uo
 
const BoundaryID _from_bnd_id
 
const BoundaryID _to_bnd_id
 

Detailed Description

This postprocessor allows to extract view factors from ViewFactor userobjects.

Definition at line 23 of file ViewFactorPP.h.

Constructor & Destructor Documentation

◆ ViewFactorPP()

ViewFactorPP::ViewFactorPP ( const InputParameters &  parameters)

Definition at line 32 of file ViewFactorPP.C.

33  : GeneralPostprocessor(parameters),
34  _vf_uo(getUserObject<ViewFactorBase>("view_factor_object_name")),
35  _from_bnd_id(_fe_problem.mesh().getBoundaryID(getParam<BoundaryName>("from_boundary"))),
36  _to_bnd_id(_fe_problem.mesh().getBoundaryID(getParam<BoundaryName>("to_boundary")))
37 {
38 }

Member Function Documentation

◆ execute()

virtual void ViewFactorPP::execute ( )
inlineoverridevirtual

Definition at line 31 of file ViewFactorPP.h.

31 {}

◆ getValue()

PostprocessorValue ViewFactorPP::getValue ( )
overridevirtual

Definition at line 41 of file ViewFactorPP.C.

42 {
44 }

◆ initialize()

virtual void ViewFactorPP::initialize ( )
inlineoverridevirtual

Definition at line 30 of file ViewFactorPP.h.

30 {}

◆ validParams()

InputParameters ViewFactorPP::validParams ( )
static

Definition at line 18 of file ViewFactorPP.C.

19 {
20  InputParameters params = GeneralPostprocessor::validParams();
21  params.addRequiredParam<UserObjectName>("view_factor_object_name",
22  "Name of the ViewFactor userobjects.");
23  params.addRequiredParam<BoundaryName>("from_boundary",
24  "The boundary from which to compute the view factor.");
25  params.addRequiredParam<BoundaryName>("to_boundary",
26  "The boundary from which to compute the view factor.");
27  params.addClassDescription(
28  "This postprocessor allows to extract view factors from ViewFactor userobjects.");
29  return params;
30 }

Member Data Documentation

◆ _from_bnd_id

const BoundaryID ViewFactorPP::_from_bnd_id
protected

Definition at line 36 of file ViewFactorPP.h.

Referenced by getValue().

◆ _to_bnd_id

const BoundaryID ViewFactorPP::_to_bnd_id
protected

Definition at line 37 of file ViewFactorPP.h.

Referenced by getValue().

◆ _vf_uo

const ViewFactorBase& ViewFactorPP::_vf_uo
protected

Definition at line 35 of file ViewFactorPP.h.

Referenced by getValue().


The documentation for this class was generated from the following files:
ViewFactorPP::_to_bnd_id
const BoundaryID _to_bnd_id
Definition: ViewFactorPP.h:37
ViewFactorPP::_vf_uo
const ViewFactorBase & _vf_uo
Definition: ViewFactorPP.h:35
ViewFactorBase::getViewFactor
Real getViewFactor(BoundaryID from_id, BoundaryID to_id) const
public interface for obtaining view factors
Definition: ViewFactorBase.C:52
ViewFactorPP::_from_bnd_id
const BoundaryID _from_bnd_id
Definition: ViewFactorPP.h:36
validParams
InputParameters validParams()