chombo-discharge
CD_RadiativeTransferSpecies.H
Go to the documentation of this file.
1 /* chombo-discharge
2  * Copyright © 2021 SINTEF Energy Research.
3  * Please refer to Copyright.txt and LICENSE in the chombo-discharge root directory.
4  */
5 
13 #ifndef CD_RadiativeTransferSpecies_H
14 #define CD_RadiativeTransferSpecies_H
15 
16 // Our includes
17 #include <CD_RtSpecies.H>
18 #include <CD_NamespaceHeader.H>
19 
20 namespace Physics {
21  namespace RadiativeTransfer {
22 
28  {
29  public:
34 
38  virtual ~RadiativeTransferSpecies();
39 
44  virtual Real
45  getAbsorptionCoefficient(const RealVect a_pos) const override;
46 
47  protected:
52  std::function<Real(const RealVect a_pos)> m_kappa;
53  };
54  } // namespace RadiativeTransfer
55 } // namespace Physics
56 
57 #include <CD_NamespaceFooter.H>
58 
59 #endif
Declaration of a class which supplies a user interface to radiative transfer code.
Implementation of RtSpecies for usage in RadiativeTransfer module.
Definition: CD_RadiativeTransferSpecies.H:28
virtual ~RadiativeTransferSpecies()
Destructor (does nothing)
Definition: CD_RadiativeTransferSpecies.cpp:41
RadiativeTransferSpecies()
Constructor (reads from input script)
Definition: CD_RadiativeTransferSpecies.cpp:22
virtual Real getAbsorptionCoefficient(const RealVect a_pos) const override
Get absorption coefficient (i.e. the inverse absorption length) at physical coordinates.
Definition: CD_RadiativeTransferSpecies.cpp:47
std::function< Real(const RealVect a_pos)> m_kappa
Absorption coefficient.
Definition: CD_RadiativeTransferSpecies.H:52
Declaration of a class that defines an interface to radiative transfer solvers, i....
Definition: CD_RtSpecies.H:30
Name containing various physics models for running chombo-discharge code.
Definition: CD_AdvectionDiffusion.H:15