12 #ifndef CD_CdrPlasmaStreamerTagger_H
13 #define CD_CdrPlasmaStreamerTagger_H
17 #include <CD_NamespaceHeader.H>
42 const RefCountedPtr<CdrPlasmaStepper>& a_timeStepper,
43 const RefCountedPtr<AmrMesh>& a_amr,
44 const RefCountedPtr<ComputationalGeometry>& a_computationalGeometry);
76 tracer(
const RealVect a_pos,
79 const RealVect a_electricField,
80 const Real a_minElectricField,
81 const Real a_maxElectricField,
82 const RealVect a_gradElectricField,
83 const Real a_minGradElectricField,
84 const Real a_maxGradElectricField)
const override;
101 const Vector<Real> a_tracers,
102 const Vector<RealVect> a_gradTracers)
const override;
119 const Vector<Real> a_tracers,
120 const Vector<RealVect> a_gradTracers)
const override;
151 #include <CD_NamespaceFooter.H>
Cell tagger class for Physics/CdrPlasma.
Lightweight tagging class which flags cells for refinement/coarsening using the electric field only.
Definition: CD_CdrPlasmaFieldTagger.H:28
Class which implements CdrPlasmaFieldTagger and refines cells based on the criterion alpha*dx > thres...
Definition: CD_CdrPlasmaStreamerTagger.H:27
Real m_coarCurv
Threshold for coarsening based on curvature.
Definition: CD_CdrPlasmaStreamerTagger.H:126
virtual bool refineCell(const RealVect a_pos, const Real a_time, const Real a_dx, const int a_lvl, const Vector< Real > a_tracers, const Vector< RealVect > a_gradTracers) const override
Cell-refinement method.
Definition: CD_CdrPlasmaStreamerTagger.cpp:126
virtual bool coarsenCell(const RealVect a_pos, const Real a_time, const Real a_dx, const int a_lvl, const Vector< Real > a_tracers, const Vector< RealVect > a_gradTracers) const override
Cell-coarsening method.
Definition: CD_CdrPlasmaStreamerTagger.cpp:104
virtual Vector< Real > tracer(const RealVect a_pos, const Real a_time, const Real a_dx, const RealVect a_electricField, const Real a_minElectricField, const Real a_maxElectricField, const RealVect a_gradElectricField, const Real a_minGradElectricField, const Real a_maxGradElectricField) const override
Compute tracer fields.
Definition: CD_CdrPlasmaStreamerTagger.cpp:79
Real m_coarAlpha
Threshold for refinement based on Townsend ionization coefficient.
Definition: CD_CdrPlasmaStreamerTagger.H:141
virtual ~CdrPlasmaStreamerTagger()
Destructor.
Definition: CD_CdrPlasmaStreamerTagger.cpp:21
virtual void parseRuntimeOptions() override
Parse runtime options.
Definition: CD_CdrPlasmaStreamerTagger.cpp:69
Real m_refiAlpha
Threshold for refinement based on Townsend ionization coefficient.
Definition: CD_CdrPlasmaStreamerTagger.H:136
CdrPlasmaStreamerTagger()=delete
Disallowed weak constructor.
int m_maxCoarsenLevel
Set coarsening level.
Definition: CD_CdrPlasmaStreamerTagger.H:146
virtual void parseOptions() override
Parse class options.
Definition: CD_CdrPlasmaStreamerTagger.cpp:47
Real m_refiCurv
Threshold for refinement based on curvature.
Definition: CD_CdrPlasmaStreamerTagger.H:131
Name containing various physics models for running chombo-discharge code.
Definition: CD_AdvectionDiffusion.H:15