Block-Structured AMR Software Framework
amrex::AmrParGDB Class Reference

#include <AMReX_AmrParGDB.H>

Inheritance diagram for amrex::AmrParGDB:
amrex::ParGDBBase

Public Member Functions

 AmrParGDB (AmrCore *amr) noexcept
 
const GeometryParticleGeom (int level) const override
 
const GeometryGeom (int level) const override
 
const Vector< Geometry > & ParticleGeom () const override
 
const Vector< Geometry > & Geom () const override
 
const DistributionMappingParticleDistributionMap (int level) const override
 
const DistributionMappingDistributionMap (int level) const override
 
const Vector< DistributionMapping > & ParticleDistributionMap () const override
 
const Vector< DistributionMapping > & DistributionMap () const override
 
const BoxArrayParticleBoxArray (int level) const override
 
const BoxArrayboxArray (int level) const override
 
const Vector< BoxArray > & ParticleBoxArray () const override
 
const Vector< BoxArray > & boxArray () const override
 
void SetParticleBoxArray (int level, const BoxArray &new_ba) override
 
void SetParticleDistributionMap (int level, const DistributionMapping &new_dm) override
 
void SetParticleGeometry (int level, const Geometry &new_geom) override
 
void ClearParticleBoxArray (int level) override
 
void ClearParticleDistributionMap (int level) override
 
void ClearParticleGeometry (int level) override
 
bool LevelDefined (int level) const override
 
int finestLevel () const override
 
int maxLevel () const override
 
IntVect refRatio (int level) const override
 
int MaxRefRatio (int level) const override
 
Vector< IntVectrefRatio () const override
 
- Public Member Functions inherited from amrex::ParGDBBase
 ParGDBBase () noexcept=default
 
virtual ~ParGDBBase ()=default
 
 ParGDBBase (ParGDBBase const &) noexcept=default
 
 ParGDBBase (ParGDBBase &&) noexcept=default
 
ParGDBBaseoperator= (ParGDBBase const &) noexcept=default
 
ParGDBBaseoperator= (ParGDBBase &&) noexcept=default
 
template<class MF >
bool OnSameGrids (int level, const MF &mf) const
 

Protected Attributes

AmrCorem_amrcore
 
Vector< Geometrym_geom
 
Vector< intm_has_geom
 
Vector< DistributionMappingm_dmap
 
Vector< BoxArraym_ba
 

Private Attributes

friend AmrCore
 

Constructor & Destructor Documentation

◆ AmrParGDB()

amrex::AmrParGDB::AmrParGDB ( AmrCore amr)
inlineexplicitnoexcept

Member Function Documentation

◆ boxArray() [1/2]

const Vector< BoxArray > & amrex::AmrParGDB::boxArray ( ) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ boxArray() [2/2]

const BoxArray & amrex::AmrParGDB::boxArray ( int  level) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ ClearParticleBoxArray()

void amrex::AmrParGDB::ClearParticleBoxArray ( int  level)
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ ClearParticleDistributionMap()

void amrex::AmrParGDB::ClearParticleDistributionMap ( int  level)
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ ClearParticleGeometry()

void amrex::AmrParGDB::ClearParticleGeometry ( int  level)
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ DistributionMap() [1/2]

const Vector< DistributionMapping > & amrex::AmrParGDB::DistributionMap ( ) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ DistributionMap() [2/2]

const DistributionMapping & amrex::AmrParGDB::DistributionMap ( int  level) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ finestLevel()

int amrex::AmrParGDB::finestLevel ( ) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ Geom() [1/2]

const Vector< Geometry > & amrex::AmrParGDB::Geom ( ) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ Geom() [2/2]

const Geometry & amrex::AmrParGDB::Geom ( int  level) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ LevelDefined()

bool amrex::AmrParGDB::LevelDefined ( int  level) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ maxLevel()

int amrex::AmrParGDB::maxLevel ( ) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ MaxRefRatio()

int amrex::AmrParGDB::MaxRefRatio ( int  level) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ ParticleBoxArray() [1/2]

const Vector< BoxArray > & amrex::AmrParGDB::ParticleBoxArray ( ) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ ParticleBoxArray() [2/2]

const BoxArray & amrex::AmrParGDB::ParticleBoxArray ( int  level) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ ParticleDistributionMap() [1/2]

const Vector< DistributionMapping > & amrex::AmrParGDB::ParticleDistributionMap ( ) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ ParticleDistributionMap() [2/2]

const DistributionMapping & amrex::AmrParGDB::ParticleDistributionMap ( int  level) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ ParticleGeom() [1/2]

const Vector< Geometry > & amrex::AmrParGDB::ParticleGeom ( ) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ ParticleGeom() [2/2]

const Geometry & amrex::AmrParGDB::ParticleGeom ( int  level) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ refRatio() [1/2]

Vector< IntVect > amrex::AmrParGDB::refRatio ( ) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ refRatio() [2/2]

IntVect amrex::AmrParGDB::refRatio ( int  level) const
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ SetParticleBoxArray()

void amrex::AmrParGDB::SetParticleBoxArray ( int  level,
const BoxArray new_ba 
)
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ SetParticleDistributionMap()

void amrex::AmrParGDB::SetParticleDistributionMap ( int  level,
const DistributionMapping new_dm 
)
inlineoverridevirtual

Implements amrex::ParGDBBase.

◆ SetParticleGeometry()

void amrex::AmrParGDB::SetParticleGeometry ( int  level,
const Geometry new_geom 
)
inlineoverridevirtual

Implements amrex::ParGDBBase.

Member Data Documentation

◆ AmrCore

friend amrex::AmrParGDB::AmrCore
private

◆ m_amrcore

AmrCore* amrex::AmrParGDB::m_amrcore
protected

◆ m_ba

Vector<BoxArray> amrex::AmrParGDB::m_ba
protected

◆ m_dmap

Vector<DistributionMapping> amrex::AmrParGDB::m_dmap
protected

◆ m_geom

Vector<Geometry> amrex::AmrParGDB::m_geom
protected

◆ m_has_geom

Vector<int> amrex::AmrParGDB::m_has_geom
protected

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