chombo-discharge
Loading...
Searching...
No Matches
MFReflux Class Reference

Class which wraps EBRefluxs in multiphase. More...

#include <CD_MFReflux.H>

Public Member Functions

 MFReflux ()
 Weak constructor. Must subsequently call define.
 MFReflux (const Vector< RefCountedPtr< EBReflux > > &a_fluxRegs)
 Full constructor. Calls define.
 ~MFReflux ()
 Destructor (does nothing).
void define (const Vector< RefCountedPtr< EBReflux > > &a_fluxRegs)
 Define function.
const RefCountedPtr< EBReflux > & getFluxRegPointer (const int a_phase) const
 Get flux register for specified phase.
EBReflux & getFluxReg (const int a_phase)
 Get flux register for specified phase.
const EBReflux & getFluxReg (const int a_phase) const
 Get flux register for specified phase.

Protected Attributes

Vector< RefCountedPtr< EBReflux > > m_fluxRegs
 Flux register for each phase.

Detailed Description

Class which wraps EBRefluxs in multiphase.

Constructor & Destructor Documentation

◆ MFReflux()

MFReflux::MFReflux ( const Vector< RefCountedPtr< EBReflux > > & a_fluxRegs)

Full constructor. Calls define.

Parameters
[in]a_fluxRegsFlux registers on each phase

Member Function Documentation

◆ define()

void MFReflux::define ( const Vector< RefCountedPtr< EBReflux > > & a_fluxRegs)

Define function.

Parameters
[in]a_fluxRegsFlux registers on each phase

◆ getFluxReg() [1/2]

EBReflux & MFReflux::getFluxReg ( const int a_phase)

Get flux register for specified phase.

Parameters
[in]a_phasePhase
Returns
Reference to flux register for the given phase.

◆ getFluxReg() [2/2]

const EBReflux & MFReflux::getFluxReg ( const int a_phase) const

Get flux register for specified phase.

Parameters
[in]a_phasePhase
Returns
Const reference to flux register for the given phase.

◆ getFluxRegPointer()

const RefCountedPtr< EBReflux > & MFReflux::getFluxRegPointer ( const int a_phase) const

Get flux register for specified phase.

Parameters
[in]a_phasePhase
Returns
Const reference-counted pointer to flux register for the given phase.

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