|
|
| DischargeInceptionTagger ()=delete |
| | Disallowed constructor.
|
| |
|
| DischargeInceptionTagger (const DischargeInceptionTagger &)=delete |
| | Disallowed constructor.
|
| |
|
| DischargeInceptionTagger (const DischargeInceptionTagger &&)=delete |
| | Disallowed constructor.
|
| |
| | DischargeInceptionTagger (const RefCountedPtr< AmrMesh > &a_amrMesh, const EBAMRCellData *const a_electricField, const std::function< Real(const Real E, const RealVect x)> &a_alphaEff, const phase::which_phase a_phase=phase::gas) |
| | Full constructor.
|
| |
|
virtual | ~DischargeInceptionTagger () |
| | Destructor.
|
| |
| virtual void | parseOptions () override final |
| | Parse options.
|
| |
| virtual void | regrid () override final |
| | Regrid hook. Re-allocates internal data holders after the AMR hierarchy changes.
|
| |
| virtual bool | tagCells (EBAMRTags &a_tags) override final |
| | Tag cells for refinement.
|
| |
| virtual int | getNumberOfPlotVariables () const override |
| | Get number of plot variables that will be written to file (by Driver).
|
| |
| virtual void | writePlotData (EBAMRCellData &a_output, Vector< std::string > &a_plotVariableNames, int &a_icomp) const |
| | Write plot data.
|
| |
|
| CellTagger () |
| | Weak constructor (does nothing)
|
| |
|
virtual | ~CellTagger () |
| | Destructor (does nothing).
|
| |
| virtual void | preRegrid () noexcept |
| | Pre-regrid function for cell-tagger.
|
| |
| virtual void | parseRuntimeOptions () |
| | Parse runtime class options.
|
| |
| virtual void | prePlot () const noexcept |
| | Perform pre-plotting operations (if necessary)
|
| |
| virtual Vector< std::string > | getPlotVariableNames () const |
| | Get plot variable names.
|
| |
| virtual void | writePlotData (LevelData< EBCellFAB > &a_output, int &a_icomp, const std::string &a_outputRealm, const int a_level) const |
| | Write plot data.
|
| |
| virtual int | getBuffer () const |
| | Get tag buffer.
|
| |
|
|
RefCountedPtr< AmrMesh > | m_amr |
| | AmrMesh reference.
|
| |
|
const EBAMRCellData * | m_electricField |
| | Pointer to electric field.
|
| |
|
EBAMRCellData | m_tracerField |
| | Tracer field. Will be populated with |grad(E)|*dx/|E|.
|
| |
|
std::function< Real(const Real &E, const RealVect x)> | m_alphaEff |
| | Net effective ionization coefficient \( \alpha_\mathrm{eff}(E, x) \) callable.
|
| |
|
phase::which_phase | m_phase |
| | Phase (gas/solid) on which the tagger operates.
|
| |
|
std::string | m_realm |
| | Realm name where solver data lives.
|
| |
|
Real | m_refAlpha |
| | Threshold for refinement: refine if \( \alpha_\mathrm{eff} \cdot \Delta x > m\_refAlpha \).
|
| |
|
Real | m_maxVoltage |
| | Reference voltage used to scale the electric field when computing the tracer field.
|
| |
|
bool | m_plot |
| | If true, write the tracer field to the plot file.
|
| |
|
std::string | m_name |
| | Cell tagger class name (default is CellTagger).
|
| |
|
int | m_verbosity |
| | Class verbosity.
|
| |
|
int | m_buffer |
| | Tag buffer. Grow tags by this amount (finest level only)
|
| |
|
Vector< RealBox > | m_tagBoxes |
| | Boxes that can be used to restrict tagging.
|
| |
|
std::vector< std::pair< RealBox, int > > | m_refBoxes |
| | Refinement boxes for adding manual refinement.
|
| |
CellTagger for the DischargeInception module.
Flags cells for refinement where the effective ionization coefficient scaled by the local grid spacing exceeds a threshold: \( \alpha_\mathrm{eff} \cdot \Delta x > \text{threshold} \). The effective ionization coefficient \( \alpha_\mathrm{eff}(E, \mathbf{x}) \) is supplied by the caller and is typically the net Townsend coefficient \( \alpha - \eta \).