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

Factory class for creating MFBaseIVFABs. More...

#include <CD_MFBaseIVFAB.H>

Inheritance diagram for MFBaseIVFABFactory:
Collaboration diagram for MFBaseIVFABFactory:

Public Member Functions

 MFBaseIVFABFactory ()=delete
 Don't see why we need a default constructor.
 MFBaseIVFABFactory (Vector< EBISLayout > &a_ebisl, const Vector< int > &a_nComp)
 Full constructor.
virtual ~MFBaseIVFABFactory ()
 Destructor.
virtual void define (Vector< EBISLayout > &a_ebisl, const Vector< int > &a_nComp)
 Define function.
virtual MFBaseIVFAB * create (const Box &a_box, int a_ignored_argument, const DataIndex &a_dit) const
 Factory method.

Protected Attributes

Vector< EBISLayout > m_ebisl
 EBIS layouts for different phases.
Vector< int > m_nComp
 Components per phase.

Detailed Description

Factory class for creating MFBaseIVFABs.

Constructor & Destructor Documentation

◆ MFBaseIVFABFactory()

MFBaseIVFABFactory::MFBaseIVFABFactory ( Vector< EBISLayout > & a_ebisl,
const Vector< int > & a_nComp )

Full constructor.

Parameters
[in]a_ebislEBIS layouts for different phases
[in]a_nCompComponents per phase

Member Function Documentation

◆ create()

MFBaseIVFAB * MFBaseIVFABFactory::create ( const Box & a_box,
int a_ignored_argument,
const DataIndex & a_dit ) const
virtual

Factory method.

Parameters
[in]a_boxGrid box
[in]a_ignored_argumentIgnored argument (required by Chombo interface)
[in]a_ditData index
Returns
Newly allocated MFBaseIVFAB

◆ define()

void MFBaseIVFABFactory::define ( Vector< EBISLayout > & a_ebisl,
const Vector< int > & a_nComp )
virtual

Define function.

Parameters
[in]a_ebislEBIS layouts for different phases
[in]a_nCompComponents per phase

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