34 #ifndef radiation_reflectionModel_H 35 #define radiation_reflectionModel_H 110 virtual scalar
rho(
const scalar incidentAngle)
const = 0;
virtual vector R(const vector &incident, const vector &n) const =0
Return reflected direction.
virtual scalar rho(const scalar incidentAngle) const =0
Return reflectivity from medium1 to medium2 and a incident angle.
reflectionModel(const dictionary &dict, const fvMesh &mesh)
Construct from components.
Base class for radiation scattering.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static autoPtr< reflectionModel > New(const dictionary &dict, const fvMesh &mesh)
const fvMesh & mesh_
Reference to the fvMesh.
virtual ~reflectionModel()=default
Destructor.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
declareRunTimeSelectionTable(autoPtr, reflectionModel, dictionary,(const dictionary &dict, const fvMesh &mesh),(dict, mesh))
Macros to ease declaration of run-time selection tables.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
TypeName("reflectionModel")
Runtime type information.