12 #ifndef CD_ItoKMCFieldTagger_H
13 #define CD_ItoKMCFieldTagger_H
17 #include <CD_NamespaceHeader.H>
115 const RealVect a_gradE,
116 const Real a_minGradE,
117 const Real a_maxGradE) const noexcept = 0;
133 const Vector<Real> a_tagFields,
134 const Vector<RealVect> a_gradTagFields) const noexcept override = 0;
150 const Vector<Real> a_tagFields,
151 const Vector<RealVect> a_gradTagFields) const noexcept override = 0;
156 #include <CD_NamespaceFooter.H>
Implementation of CD_ItoKMCFieldTagger.H.
Parent tagger class for ItoKMC.
Lightweight tagging class. Only tags cells based on the electric field.
Definition: CD_ItoKMCFieldTagger.H:30
EBAMRCellData m_gradE
Storage for grad(|E|)
Definition: CD_ItoKMCFieldTagger.H:74
ItoKMCFieldTagger() noexcept
Weak constructor. User MUST subsequently call define.
Definition: CD_ItoKMCFieldTaggerImplem.H:24
virtual void computeElectricField(EBAMRCellData &a_E, EBAMRCellData &a_gradE) const noexcept
Compute electric field.
Definition: CD_ItoKMCFieldTaggerImplem.H:70
virtual bool coarsenCell(const RealVect a_pos, const Real a_time, const Real a_dx, const int a_lvl, const Vector< Real > a_tagFields, const Vector< RealVect > a_gradTagFields) const noexcept override=0
Determine if a particular cell should be coarsened or not.
EBAMRCellData m_E
Storage for the electric field E.
Definition: CD_ItoKMCFieldTagger.H:69
virtual bool refineCell(const RealVect a_pos, const Real a_time, const Real a_dx, const int a_lvl, const Vector< Real > a_tagFields, const Vector< RealVect > a_gradTagFields) const noexcept override=0
Determine if a particular cell should be refined or not.
EBAMRCellData m_scratch
Scratch storage.
Definition: CD_ItoKMCFieldTagger.H:64
virtual void allocateStorage() const noexcept
Allocate memory for scratch, electric field, and gradient of electric field.
Definition: CD_ItoKMCFieldTaggerImplem.H:40
virtual ~ItoKMCFieldTagger() noexcept
Destructor.
Definition: CD_ItoKMCFieldTaggerImplem.H:35
virtual void computeTagFields() const noexcept override
Compute tagging fields.
Definition: CD_ItoKMCFieldTaggerImplem.H:95
virtual void parseRuntimeOptions() override=0
Parse run-time configurable options.
virtual void parseOptions() override=0
Parse options.
virtual void deallocateStorage() const noexcept
Deallocate memory.
Definition: CD_ItoKMCFieldTaggerImplem.H:56
Class for tagging grid cells using the Ito-KMC-Poisson module. Note that S is the time integrator typ...
Definition: CD_ItoKMCTagger.H:30
Name containing various physics models for running chombo-discharge code.
Definition: CD_AdvectionDiffusion.H:15