CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
quantity_io_kelvin.hpp
Go to the documentation of this file.
1
16
#ifndef PHYS_UNITS_QUANTITY_IO_KELVIN_HPP_INCLUDED
17
#define PHYS_UNITS_QUANTITY_IO_KELVIN_HPP_INCLUDED
18
19
#include "
corsika/framework/units/quantity_io.hpp
"
20
21
namespace
phys
{
namespace
units {
22
24
25
template
<>
26
struct
unit_info< thermodynamic_temperature_d >
27
{
28
static
bool
single
() {
return
true
; }
29
static
std::string
name
() {
return
"kelvin"
; }
30
static
std::string
symbol
() {
return
"K"
; }
31
};
32
33
}}
// namespace phys::units
34
35
#endif // PHYS_UNITS_QUANTITY_IO_KELVIN_HPP_INCLUDED
36
37
/*
38
* end of file
39
*/
phys
namespace phys.
phys::units::unit_info::symbol
static std::string symbol()
provide unit's symbol.
Definition:
quantity_io.hpp:125
phys::units::unit_info::single
static bool single()
true if base dimension.
Definition:
quantity_io.hpp:111
phys::units::unit_info::name
static std::string name()
provide unit's name.
Definition:
quantity_io.hpp:118
quantity_io.hpp
IO for quantity library.
corsika
framework
units
quantity_io_kelvin.hpp
Generated by
1.8.13