chombo-discharge
Loading...
Searching...
No Matches
CD_ItoKMCPhysics.H File Reference

Declaration of the Physics::ItoKMC::ItoKMCPhysics abstract base class. More...

#include <memory>
#include <vector>
#include <RealVect.H>
#include <RefCountedPtr.H>
#include <List.H>
#include <CD_ItoSpecies.H>
#include <CD_CdrSpecies.H>
#include <CD_RtSpecies.H>
#include <CD_Photon.H>
#include <CD_ItoParticle.H>
#include <CD_ParticleSoA.H>
#include <CD_ItoKMCPhotoReaction.H>
#include <CD_ItoKMCSurfaceReactionSet.H>
#include <CD_KMCDualState.H>
#include <CD_KMCDualStateReaction.H>
#include <CD_KMCSolver.H>
#include <CD_NamespaceHeader.H>
#include <CD_NamespaceFooter.H>
#include <CD_ItoKMCPhysicsImplem.H>
Include dependency graph for CD_ItoKMCPhysics.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Physics::ItoKMC::ItoKMCPhysics
 Abstract base class coupling Kinetic Monte Carlo chemistry to Ito/CDR plasma solvers. More...

Namespaces

namespace  Physics
 Namespace containing physics models for use with chombo-discharge.

Typedefs

using Physics::ItoKMC::FPR = Real
 Floating-point type used to represent particle counts in the KMC state.
using Physics::ItoKMC::KMCState = KMCDualState<FPR>
 KMC state (dual-state representation) used in the Kinetic Monte Carlo advancement.
using Physics::ItoKMC::KMCReaction = KMCDualStateReaction<KMCState, FPR>
 KMC reaction type used in the Kinetic Monte Carlo advancement.
using Physics::ItoKMC::KMCSolverType = KMCSolver<KMCReaction, KMCState, FPR>
 KMC solver type used in the Kinetic Monte Carlo advancement.
using Physics::ItoKMC::DiffusionFunction = std::function<RealVect(const ItoParticle& p, const Real& a_dt)>
 Basic function for diffusing a particle.

Enumerations

enum  Physics::ItoKMC::SpeciesType { Physics::ItoKMC::Ito , Physics::ItoKMC::CDR }
 Tag for distinguishing species solved with an Ito diffusion or CDR fluid formalism. More...

Detailed Description

Declaration of the Physics::ItoKMC::ItoKMCPhysics abstract base class.

Author
Robert Marskar

Typedef Documentation

◆ DiffusionFunction

using Physics::ItoKMC::DiffusionFunction = std::function<RealVect(const ItoParticle& p, const Real& a_dt)>

Basic function for diffusing a particle.

Returns the stochastic diffusion hop only. The grad(D) drift correction that makes the particles transport the same diffusive flux as the CDR solvers is a separate, deterministic term, added to the displacement by the time stepper – see ItoKMCGodunovStepper::diffuseParticlesEulerMaruyama. When the stepper calls this function the particle's scratch vector columns (p.scratch_x etc.) hold grad(D) at the particle position, which a diffusion model may read but must not assume it can write.

Enumeration Type Documentation

◆ SpeciesType

Tag for distinguishing species solved with an Ito diffusion or CDR fluid formalism.

Enumerator
Ito 

Ito stochastic drift-diffusion solver.

CDR 

Convection-diffusion-reaction (fluid) solver.