|
| void | run (const Real a_startTime, const Real a_endTime, const int a_maxSteps) |
| | Run a simulation for a specific time, or until a maximum number of steps have been performed.
|
| |
| void | setup (const std::string a_inputFile, const int a_initialRegrids, const bool a_restart, const std::string a_restartFile) |
| | Setup function.
|
| |
| void | setAmr (const RefCountedPtr< AmrMesh > &a_amrMesh) |
| | Set amr.
|
| |
|
void | sanityCheck () |
| | Sanity check.
|
| |
| void | parseOptions () |
| | Parse options.
|
| |
| void | parseRuntimeOptions () |
| | Parse runtime options.
|
| |
| void | parseGeometryRefinement () |
| | Parse geometrical refinement.
|
| |
|
void | parsePlotVariables () |
| | Parse plot variables.
|
| |
| void | parseGeometryGeneration () |
| | Parse option for geometry generation.
|
| |
| void | parseIrregTagGrowth () |
| | Parse irregular tag growth.
|
| |
|
void | createOutputDirectories () |
| | Create output directories.
|
| |
|
void | allocateInternals () |
| | Allocate internal storage for Driver.
|
| |
|
void | cacheTags (const EBAMRTags &a_tags) |
| | Cache tags. This is used.
|
| |
|
void | writeEBIS () |
| | Write the geometry to file.
|
| |
| void | getGeometryTags () |
| | Get geometric tags.
|
| |
| void | getCellsAndBoxes (long long &a_numLocalCells, long long &a_numLocalCellsGhosts, long long &a_numLocalBoxes, long long &a_numTotalCells, long long &a_numTotalCellsGhosts, long long &a_numTotalBoxes, Vector< long long > &a_numLocalLevelBoxes, Vector< long long > &a_numTotalLevelBoxes, Vector< long long > &a_numLocalLevelCells, Vector< long long > &a_numTotalLevelCells, const int &a_finestLevel, const Vector< DisjointBoxLayout > &a_grids) |
| | Get statics about a DisjointBoxLaout. This will compute the number of grid cells and patches both locally and globally.
|
| |
|
void | gridReport () |
| | Print regrid report.
|
| |
| void | regrid (const int a_lmin, const int a_lmax, const bool a_useInitialData) |
| | Do a regrid step.
|
| |
| void | regridInternals (const int a_oldFinestLevel, const int a_newFinestLevel) |
| | Regrid internal storage for this class.
|
| |
| void | setComputationalGeometry (const RefCountedPtr< ComputationalGeometry > &a_computationalGeometry) |
| | Set the computational geometry.
|
| |
| void | setTimeStepper (const RefCountedPtr< TimeStepper > &a_timeStepper) |
| | Set the time stepper.
|
| |
| void | setCellTagger (const RefCountedPtr< CellTagger > &a_cellTagger) |
| | Set the cell tagger.
|
| |
|
void | setupFresh (const int a_initialRegrids) |
| | Setup function.
|
| |
| void | setupGeometryOnly () |
| | Set for restart.
|
| |
|
void | checkRestartFile (const std::string a_restartFile) const |
| | Check if restart file exists.
|
| |
|
void | stepReport (const Real a_startTime, const Real a_endTime, const int a_maxSteps) |
| | Write a time step report.
|
| |
| void | writePlotFile (const std::string a_filename) |
| | Write a plot file.
|
| |
|
void | writePlotFile () |
| | Write a plot file. This writes to plt/.
|
| |
| void | writePreRegridFile () |
| | Write a regrid file.
|
| |
| void | writePostRegridFile () |
| | Write a regrid file.
|
| |
| void | writeRestartFile () |
| | Write a restart file.
|
| |
| void | writeCrashFile () |
| | Write a crash file.
|
| |
|
void | writeMemoryUsage () |
| | Write the memory usage to file.
|
| |
|
void | writeComputationalLoads () |
| | Write computational loads.
|
| |
|
void | writeCheckpointFile () |
| | Write a checkpoint file.
|
| |
| void | writeGeometry () |
| | Write checkpoint data.
|
| |
|
bool | tagCells (Vector< IntVectSet > &a_allTags, EBAMRTags &a_cellTags) |
| | Tag cells for refinement. This computes cell tags and global tags (union of cell tags with geometric tags);.
|
| |
| int | getNumberOfPlotVariables () const |
| | Get number of plot variables.
|
| |
|
Vector< std::string > | getPlotVariableNames () const |
| | Get the string identifiers for the internal plot variables from Driver.
|
| |
| virtual void | writePlotData (LevelData< EBCellFAB > &a_output, int &a_comp, const int a_level) const noexcept |
| | Write internal plot data.
|
| |
| virtual void | writeTags (LevelData< EBCellFAB > &a_output, int &a_comp, const int a_level) const noexcept |
| | Write cell tags to file.
|
| |
| virtual void | writeRanks (LevelData< EBCellFAB > &a_output, int &a_comp, const int a_level) const noexcept |
| | Write MPI ranks to output.
|
| |
| virtual void | writeLevelset (LevelData< EBCellFAB > &a_output, int &a_comp, const int a_level) const noexcept |
| | Write level sets.
|
| |
| virtual void | writeLoads (LevelData< EBCellFAB > &a_output, int &a_comp, const int a_level) const noexcept |
| | Write computational loads to output.
|
| |
|
int | getFinestTagLevel (const EBAMRTags &a_cellTags) const |
| | Return the finest tag level.
|
| |
|
void | rebuildParmParse () const |
| | Rebuild Parmparse.
|
| |
|
|
RefCountedPtr< MultiFluidIndexSpace > | m_multifluidIndexSpace |
| | Index space.
|
| |
|
RefCountedPtr< AmrMesh > | m_amr |
| | AMR.
|
| |
|
RefCountedPtr< ComputationalGeometry > | m_computationalGeometry |
| | Geometry.
|
| |
|
RefCountedPtr< TimeStepper > | m_timeStepper |
| | Time stepper.
|
| |
|
RefCountedPtr< CellTagger > | m_cellTagger |
| | Cell tagger.
|
| |
|
std::string | m_inputFile |
| | Input file.
|
| |
|
std::string | m_realm |
| | Name of realm where Driver allocates his data. This is always Realm::Primal.
|
| |
|
std::string | m_geometryGeneration |
| | Geometry generation method – can choose between native Chombo or chombo-discharge.
|
| |
|
std::string | m_outputDirectory |
| | Output directory for output files.
|
| |
|
std::string | m_outputFileNames |
| | Prefix for all output files.
|
| |
|
int | m_verbosity |
| | Verbosity.
|
| |
|
int | m_irregTagGrowth |
| | Irregular tag growth.
|
| |
| int | m_geoScanLevel |
| | Geometry scan level.
|
| |
|
int | m_timeStep |
| | Time step.
|
| |
|
int | m_regridInterval |
| | Regrid interval.
|
| |
|
int | m_checkpointInterval |
| | Checkpoint interval.
|
| |
|
int | m_plotInterval |
| | Plot interval.
|
| |
|
int | m_geometricTagsDepth |
| | Geometric tag depth.
|
| |
|
int | m_conductorTagsDepth |
| | Geometric tag depth for conductors.
|
| |
|
int | m_dielectricTagsDepth |
| | Geometric tag depth for dielectrics.
|
| |
|
int | m_maxSteps |
| | Maximum number of steps.
|
| |
|
int | m_maxPlotLevel |
| | Maximum plot depth.
|
| |
|
int | m_maxCheckpointDepth |
| | Maximum plot depth.
|
| |
|
int | m_initialRegrids |
| | Number of initial regrids.
|
| |
|
int | m_numPlotGhost |
| | Number of ghost cells to plot.
|
| |
|
int | m_restartStep |
| | Restart step.
|
| |
|
int | m_growTags |
| | Grow tagged cells.
|
| |
|
Vector< IntVectSet > | m_geomTags |
| | Tags.
|
| |
|
EBAMRTags | m_tags |
| | Tags.
|
| |
|
EBAMRBool | m_cachedTags |
| | Cached tags. This is done so that when we regrid and change box ownership we can copy the tags around.
|
| |
|
Real | m_outputDt |
| | Time between outputs.
|
| |
|
Real | m_startTime |
| | Simulation start time.
|
| |
|
Real | m_stopTime |
| | Simulation stop time.
|
| |
|
Real | m_dt |
| | Time increment.
|
| |
|
Real | m_time |
| | Time.
|
| |
|
Real | m_capacitance |
| |
|
Real | m_wallClockStart |
| | MPI timer.
|
| |
|
Real | m_wallClockOne |
| | MPI timer.
|
| |
|
Real | m_wallClockTwo |
| | MPI timer.
|
| |
|
Real | m_refineAngle |
| | Angle refinement threshold.
|
| |
|
bool | m_profile |
| | Profile or not.
|
| |
|
bool | m_doCoarsening |
| | Turn on/off geometry coarsening below the base level.
|
| |
| bool | m_needsNewGeometricTags |
| | Special option for when geometric tags are changed during a simulation.
|
| |
|
bool | m_writeRegridFiles |
| | Write regrid files or not.
|
| |
|
bool | m_writeRestartFiles |
| | Write restart files or not.
|
| |
|
bool | m_allowCoarsening |
| | Allow grid coarsening.
|
| |
|
bool | m_doInitLoadBalancing |
| | Do init load balancing.
|
| |
|
bool | m_writeMemory |
| | Write memory report.
|
| |
|
bool | m_writeLoads |
| | Write loads to file or not.
|
| |
|
bool | m_restart |
| | Restart or not.
|
| |
|
bool | m_geometryOnly |
| | Geometry only.
|
| |
|
bool | m_ebisMemoryLoadBalance |
| | Use memory as load balance for EBIS.
|
| |
|
bool | m_plotTags |
| | Plot tagged cells.
|
| |
|
bool | m_plotRanks |
| | Plot MPI ranks.
|
| |
|
bool | m_plotLoads |
| | Plot patch loads.
|
| |
|
bool | m_plotLevelset |
| | Plot level sets.
|
| |
Main class for time/space advancement of streamer equations.
This class runs a simulation and controls input/output, regrid intervals etc.