|
REMORA
Regional Modeling of Oceans Refined Adaptively
|
#include <REMORA_ParticleData.H>

Public Member Functions | |
| ParticleData () | |
| ~ParticleData () | |
| void | Checkpoint (const std::string &a_fname) const |
| void | writePlotFile (const std::string &a_fname, const amrex::Vector< amrex::MultiFab > &a_xy) const |
| void | Restart (amrex::ParGDBBase *a_gdb, const std::string &a_fname) |
| void | GetMeshPlotVarNames (amrex::Vector< std::string > &a_names) const |
| void | GetMeshPlotVar (const std::string &a_var_name, amrex::MultiFab &a_mf, const int a_lev) |
| void | Redistribute () |
| REMORAPC * | GetSpecies (const std::string &a_name) |
| REMORAPC * | operator[] (const std::string &a_name) |
| const REMORAPC * | GetSpecies (const std::string &a_name) const |
| const REMORAPC * | operator[] (const std::string &a_name) const |
| void | pushBack (const std::string &a_name, REMORAPC *const a_pc) |
| void | addName (const std::string &a_name) |
| const ParticlesNamesVector & | getNames () const |
| ParticlesNamesList & | getNamesUnalloc () |
| bool | contains (const std::string &a_name) const |
| bool | isEmpty () const |
Private Attributes | |
| ParticleSpeciesMap | m_particle_species |
| ParticlesNamesVector | m_namelist |
| ParticlesNamesList | m_namelist_unalloc |
Definition at line 27 of file REMORA_ParticleData.H.
|
inline |
Constructor
Definition at line 32 of file REMORA_ParticleData.H.

|
inline |
Destructor
Definition at line 41 of file REMORA_ParticleData.H.

Add a name; particle container will be initialized later
Definition at line 205 of file REMORA_ParticleData.H.
Referenced by REMORA::readTracersParams().


Write checkpoint files
Definition at line 54 of file REMORA_ParticleData.H.
Referenced by REMORA::WriteCheckpointFile().


|
inline |
queries if container has species of a certain name
Definition at line 226 of file REMORA_ParticleData.H.
Referenced by pushBack().


|
inline |
Definition at line 106 of file REMORA_ParticleData.H.
Referenced by REMORA::WritePlotFile().


|
inline |
Get mesh plot quantities from each particle container
Definition at line 91 of file REMORA_ParticleData.H.
Referenced by REMORA::append2DPlotVariables(), REMORA::append3DPlotVariables(), and REMORA::WritePlotFile().


|
inline |
Returns list of names of particle species
Definition at line 212 of file REMORA_ParticleData.H.
Referenced by REMORA::ErrorEst(), and REMORA::WritePlotFile().


|
inline |
Returns list of names of particle species that are unallocated
Definition at line 219 of file REMORA_ParticleData.H.
Referenced by REMORA::initializeTracers(), and REMORA::set3DPlotVariables().


Get species of a given name
Definition at line 139 of file REMORA_ParticleData.H.

Get species of a given name (const version)
Definition at line 167 of file REMORA_ParticleData.H.

|
inline |
query if container is empty
Definition at line 234 of file REMORA_ParticleData.H.
Referenced by Restart(), and REMORA::WritePlotFile().


accessor
Definition at line 153 of file REMORA_ParticleData.H.

accessor
Definition at line 181 of file REMORA_ParticleData.H.

Add a particle species to this container
Definition at line 195 of file REMORA_ParticleData.H.
Referenced by REMORA::initializeTracers(), and Restart().


|
inline |
Redistribute/rebalance particles data
Definition at line 130 of file REMORA_ParticleData.H.
Referenced by REMORA::MakeNewLevelFromScratch(), REMORA::post_timestep(), REMORA::RemakeLevel(), and REMORA::timeStep().


Read from restart file
Definition at line 77 of file REMORA_ParticleData.H.
Referenced by REMORA::ReadCheckpointFile().


|
inline |
Write particles to a plotfile, with x and y in physical coordinates
Definition at line 65 of file REMORA_ParticleData.H.
Referenced by REMORA::WritePlotFile().


|
private |
Vector of particle species names
Definition at line 246 of file REMORA_ParticleData.H.
Referenced by Checkpoint(), GetMeshPlotVar(), GetMeshPlotVarNames(), getNames(), ParticleData(), pushBack(), Redistribute(), writePlotFile(), and ~ParticleData().
|
private |
List with names of unallocated species
Definition at line 248 of file REMORA_ParticleData.H.
Referenced by addName(), getNamesUnalloc(), ParticleData(), Restart(), and ~ParticleData().
|
private |
Vector of all particle species
Definition at line 244 of file REMORA_ParticleData.H.
Referenced by Checkpoint(), contains(), GetMeshPlotVar(), GetMeshPlotVarNames(), GetSpecies(), GetSpecies(), isEmpty(), operator[](), operator[](), ParticleData(), pushBack(), Redistribute(), writePlotFile(), and ~ParticleData().