13#ifndef CD_CELLTAGGER_H
14#define CD_CELLTAGGER_H
21#include <CD_NamespaceHeader.H>
198#include <CD_NamespaceFooter.H>
Declaration of core class for handling AMR-related operations (with embedded boundaries)
Declaration of base class for defining geometries.
Declaration of an axis-aligned box in space.
Base class for tagging cells across an AMR hierarchy.
Definition CD_CellTagger.H:32
int m_verbosity
Class verbosity.
Definition CD_CellTagger.H:134
virtual Vector< std::string > getPlotVariableNames() const
Get plot variable names.
Definition CD_CellTagger.cpp:65
virtual void parseTagBoxes()
Parse boxes.
Definition CD_CellTagger.cpp:108
virtual void parseOptions()=0
Parse class options.
virtual bool tagCells(EBAMRTags &a_tags)=0
Tag cells.
std::vector< std::pair< RealBox, int > > m_refBoxes
Refinement boxes for adding manual refinement.
Definition CD_CellTagger.H:149
virtual int getBuffer() const
Get tag buffer.
Definition CD_CellTagger.cpp:88
virtual void regrid()=0
Regrid function for cell tagger (in case it uses transient storage to do things)
virtual void parseVerbosity()
Parse the verbosity from the input file or command line.
Definition CD_CellTagger.cpp:236
virtual void writePlotData(LevelData< EBCellFAB > &a_output, int &a_icomp, const std::string &a_outputRealm, const int a_level) const
Write plot data.
Definition CD_CellTagger.cpp:76
std::string m_name
Cell tagger class name (default is CellTagger).
Definition CD_CellTagger.H:129
virtual void parseRefinementBoxes()
Parse refinement boxes.
Definition CD_CellTagger.cpp:159
virtual void parseBuffer()
Parse refinement buffer.
Definition CD_CellTagger.cpp:220
virtual int getNumberOfPlotVariables() const
Get number of plot variables that will be written to file (by Driver).
Definition CD_CellTagger.cpp:54
virtual void parseRuntimeOptions()
Parse runtime class options.
Definition CD_CellTagger.cpp:99
virtual void prePlot() const noexcept
Perform pre-plotting operations (if necessary)
Definition CD_CellTagger.cpp:45
virtual void preRegrid() noexcept
Pre-regrid function for cell-tagger.
Definition CD_CellTagger.cpp:36
virtual ~CellTagger()
Destructor (does nothing).
Definition CD_CellTagger.cpp:30
bool insideTagBox(const RealVect &a_pos) const
Check if a point is inside a tagging box.
Definition CD_CellTagger.cpp:250
int getManualRefinementLevel(const RealVect &a_pos) const
Get the specified level for this position when doing manual refinement.
Definition CD_CellTagger.cpp:273
int m_buffer
Tag buffer. Grow tags by this amount (finest level only)
Definition CD_CellTagger.H:139
Vector< RealBox > m_tagBoxes
Boxes that can be used to restrict tagging.
Definition CD_CellTagger.H:144
CellTagger()
Weak constructor (does nothing)
Definition CD_CellTagger.cpp:23
Rectangular box in real space.
Definition CD_RealBox.H:27
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38