chombo-discharge
Loading...
Searching...
No Matches
CD_RtSpecies.H
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021-2026 SINTEF Energy Research
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
13#ifndef CD_RTSPECIES_H
14#define CD_RTSPECIES_H
15
16// Std includes
17#include <functional>
18
19// Chombo includes
20#include <RealVect.H>
21
22// Our includes
23#include <CD_NamespaceHeader.H>
24
32{
33public:
37 RtSpecies();
38
42 virtual ~RtSpecies();
43
48 std::string
49 getName() const;
50
56 virtual Real
57 getAbsorptionCoefficient(const RealVect& a_pos) const = 0;
58
65 virtual Real
66 getScatteringCoefficient(const RealVect& a_pos) const;
67
68protected:
72 std::string m_name;
73};
74
75#include <CD_NamespaceFooter.H>
76
77#endif
Declaration of a class that defines an interface to radiative transfer solvers, i....
Definition CD_RtSpecies.H:32
std::string getName() const
Get species name.
Definition CD_RtSpecies.cpp:25
virtual Real getScatteringCoefficient(const RealVect &a_pos) const
Get scattering coefficient (i.e. the inverse scattering length) at physical coordinates.
Definition CD_RtSpecies.cpp:31
std::string m_name
Group name.
Definition CD_RtSpecies.H:72
RtSpecies()
Weak constructor. Sets absorption length and scattering coefficients to one.
Definition CD_RtSpecies.cpp:17
virtual Real getAbsorptionCoefficient(const RealVect &a_pos) const =0
Get kappa (i.e. the inverse absorption length) at physical coordinates.
virtual ~RtSpecies()
Weak constructor. Sets absorption length and scattering coefficients to one.