chombo-discharge
CD_CdrPlasmaReactionJSON.H
Go to the documentation of this file.
1 /* chombo-discharge
2  * Copyright © 2022 SINTEF Energy Research.
3  * Please refer to Copyright.txt and LICENSE in the chombo-discharge root directory.
4  */
5 
12 #ifndef CD_CdrPlasmaReactionJSON_H
13 #define CD_CdrPlasmaReactionJSON_H
14 
15 // Std includes
16 #include <map>
17 #include <vector>
18 #include <list>
19 
20 // Our includes
21 #include <CD_CdrPlasmaPhysics.H>
22 #include <CD_NamespaceHeader.H>
23 
24 namespace Physics {
25  namespace CdrPlasma {
26 
32  {
33  public:
38 
46  CdrPlasmaReactionJSON(const std::list<int> a_plasmaReactants,
47  const std::list<int> a_neutralReactants,
48  const std::list<int> a_plasmaProducts,
49  const std::list<int> a_photonProducts);
50 
54  virtual ~CdrPlasmaReactionJSON();
55 
60  const std::list<int>&
61  getPlasmaReactants() const;
62 
67  const std::list<int>&
68  getNeutralReactants() const;
69 
74  const std::list<int>&
75  getPlasmaProducts() const;
76 
81  const std::list<int>&
82  getPhotonProducts() const;
83 
84  protected:
88  std::list<int> m_plasmaReactants;
89 
93  std::list<int> m_neutralReactants;
94 
98  std::list<int> m_plasmaProducts;
99 
103  std::list<int> m_photonProducts;
104  };
105  } // namespace CdrPlasma
106 } // namespace Physics
107 
108 #include <CD_NamespaceFooter.H>
109 
110 #endif
Declaration of basic physics coupling functions for Physics/CdrPlasma.
Class for encapsulating reactive process of type X1 + X2 -> X3 + Y for CdrPlasmaPhysics....
Definition: CD_CdrPlasmaReactionJSON.H:32
CdrPlasmaReactionJSON()=delete
Disallowed weak construction.
std::list< int > m_plasmaProducts
Particles on the right-hand side of the reaction.
Definition: CD_CdrPlasmaReactionJSON.H:98
virtual ~CdrPlasmaReactionJSON()
Destructor.
Definition: CD_CdrPlasmaReactionJSON.cpp:29
std::list< int > m_neutralReactants
Neutral species on the left-hand side of the reaction.
Definition: CD_CdrPlasmaReactionJSON.H:93
const std::list< int > & getNeutralReactants() const
Get the neutral reactants.
Definition: CD_CdrPlasmaReactionJSON.cpp:39
const std::list< int > & getPlasmaReactants() const
Get the plasma reactants.
Definition: CD_CdrPlasmaReactionJSON.cpp:33
const std::list< int > & getPlasmaProducts() const
Get the plasma products.
Definition: CD_CdrPlasmaReactionJSON.cpp:45
std::list< int > m_plasmaReactants
Plasma species on the left-hand side of the reaction.
Definition: CD_CdrPlasmaReactionJSON.H:88
std::list< int > m_photonProducts
Photons on the right-hand side of the reaction.
Definition: CD_CdrPlasmaReactionJSON.H:103
const std::list< int > & getPhotonProducts() const
Get the photon products.
Definition: CD_CdrPlasmaReactionJSON.cpp:51
Name containing various physics models for running chombo-discharge code.
Definition: CD_AdvectionDiffusion.H:15