PLaSK library
Loading...
Searching...
No Matches
thermal.hpp
Go to the documentation of this file.
1/*
2 * This file is part of PLaSK (https://plask.app) by Photonics Group at TUL
3 * Copyright (c) 2022 Lodz University of Technology
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14#ifndef PLASK__TEMPERATURE_H
15#define PLASK__TEMPERATURE_H
16
19
20namespace plask {
21
75 static constexpr const char* NAME = "temperature";
76 static constexpr const char* UNIT = "K";
77 static inline double getDefaultValue() { return 300.; }
78};
79
84 static constexpr const char* NAME = "heat flux";
85 static constexpr const char* UNIT = "W/m²";
86};
87
92 static constexpr const char* NAME = "heat sources density";
93 static constexpr const char* UNIT = "W/m³";
94};
95
99template <typename SpaceT>
100struct HeatSumProvider: public FieldSumProvider<Heat, SpaceT> {};
101
106 static constexpr const char* NAME = "thermal conductivity";
107 static constexpr const char* UNIT = "W/(m×K)";
108};
109
110} // namespace plask
111
112#endif // PLASK__TEMPERATURE_H