Chombo + EB + MF  3.2
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
MFFluxFAB Class Reference

Container for face-centered fluxes for multifluid. More...

#include <MFFluxFAB.H>

Public Member Functions

 MFFluxFAB ()
 
virtual ~MFFluxFAB ()
 
 MFFluxFAB (const Vector< EBISBox > &a_phaseGraphs, const Box &a_region, const Vector< int > &a_nVar)
 
void setVal (Vector< Real > a_value)
 
void setVal (const Real &a_value)
 
int nComp (int a_phase) const
 
int numPhases () const
 
const Boxbox () const
 
EBFluxFABgetPhase (int a_phase)
 return the single-phase EBFluxFAB More...
 
const EBFluxFABgetPhase (int a_phase) const
 return a const single-phase EBFluxFAB More...
 
EBFluxFABgetPhasePtr (int a_phase)
 
MFFluxFABcopy (const MFFluxFAB &a_src)
 
void copy (const Box &RegionFrom, const Interval &destInt, const Box &RegionTo, const MFFluxFAB &source, const Interval &srcInt)
 
int size (const Box &R, const Interval &comps) const
 
void linearOut (void *buf, const Box &R, const Interval &comps) const
 
void linearIn (void *buf, const Box &R, const Interval &comps)
 
 MFFluxFAB (const Box &a_region, int a_nVar)
 invalid but necessary for leveldata to compile More...
 

Static Public Member Functions

static int preAllocatable ()
 

Private Member Functions

void operator= (const MFFluxFAB &rhs)
 

Private Attributes

Vector< EBFluxFAB * > m_phase
 
Box m_box
 

Detailed Description

Container for face-centered fluxes for multifluid.

Constructor & Destructor Documentation

◆ MFFluxFAB() [1/3]

MFFluxFAB::MFFluxFAB ( )
inline

References setVal(), and ~MFFluxFAB().

◆ ~MFFluxFAB()

virtual MFFluxFAB::~MFFluxFAB ( )
virtual

Referenced by MFFluxFAB().

◆ MFFluxFAB() [2/3]

MFFluxFAB::MFFluxFAB ( const Vector< EBISBox > &  a_phaseGraphs,
const Box a_region,
const Vector< int > &  a_nVar 
)

◆ MFFluxFAB() [3/3]

MFFluxFAB::MFFluxFAB ( const Box a_region,
int  a_nVar 
)
inline

invalid but necessary for leveldata to compile

References MayDay::Error(), and operator=().

Member Function Documentation

◆ setVal() [1/2]

void MFFluxFAB::setVal ( Vector< Real a_value)

Referenced by MFFluxFAB().

◆ setVal() [2/2]

void MFFluxFAB::setVal ( const Real a_value)

◆ nComp()

int MFFluxFAB::nComp ( int  a_phase) const
inline

References m_phase.

◆ numPhases()

int MFFluxFAB::numPhases ( ) const
inline

References m_phase, and Vector< T >::size().

◆ box()

const Box& MFFluxFAB::box ( ) const
inline

References m_box.

◆ getPhase() [1/2]

EBFluxFAB& MFFluxFAB::getPhase ( int  a_phase)
inline

return the single-phase EBFluxFAB

References m_phase.

◆ getPhase() [2/2]

const EBFluxFAB& MFFluxFAB::getPhase ( int  a_phase) const
inline

return a const single-phase EBFluxFAB

References m_phase.

◆ getPhasePtr()

EBFluxFAB* MFFluxFAB::getPhasePtr ( int  a_phase)
inline

References copy(), and m_phase.

◆ copy() [1/2]

MFFluxFAB& MFFluxFAB::copy ( const MFFluxFAB a_src)

Referenced by getPhasePtr().

◆ copy() [2/2]

void MFFluxFAB::copy ( const Box RegionFrom,
const Interval destInt,
const Box RegionTo,
const MFFluxFAB source,
const Interval srcInt 
)

◆ preAllocatable()

static int MFFluxFAB::preAllocatable ( )
inlinestatic

References linearIn(), linearOut(), and size().

◆ size()

int MFFluxFAB::size ( const Box R,
const Interval comps 
) const

Referenced by preAllocatable().

◆ linearOut()

void MFFluxFAB::linearOut ( void *  buf,
const Box R,
const Interval comps 
) const

Referenced by preAllocatable().

◆ linearIn()

void MFFluxFAB::linearIn ( void *  buf,
const Box R,
const Interval comps 
)

Referenced by preAllocatable().

◆ operator=()

void MFFluxFAB::operator= ( const MFFluxFAB rhs)
private

Referenced by MFFluxFAB().

Member Data Documentation

◆ m_phase

Vector<EBFluxFAB*> MFFluxFAB::m_phase
private

◆ m_box

Box MFFluxFAB::m_box
private

Referenced by box().


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