scifir-units
2.0.0
scifir-units is a library of units of measurement, angles, coordinates, fields, and related data, all lightweight, that help in the development of scientific software and scientific machines
Loading...
Searching...
No Matches
derived_units
space_units.hpp
Go to the documentation of this file.
1
#ifndef SCIFIR_UNITS_DERIVED_UNITS_SPACE_UNITS_HPP_INCLUDED
2
#define SCIFIR_UNITS_DERIVED_UNITS_SPACE_UNITS_HPP_INCLUDED
3
4
#include "../units/scalar_unit.hpp"
5
#include "../units/vector_unit_3d.hpp"
6
#include "../units/base_units.hpp"
7
8
using namespace
std;
9
10
namespace
scifir
11
{
12
template
<
typename
T>
13
class
size_2d;
14
15
template
<
typename
T>
16
class
size_3d;
17
18
SCALAR_UNIT_HPP_BEGIN
(
area
);
19
public
:
20
explicit
area
(
const
size_2d<length>
&);
21
22
SCALAR_UNIT_HPP_END
();
23
24
SCALAR_UNIT_HPP_BEGIN
(
volume
);
25
public
:
26
explicit
volume
(
const
size_3d<length>
&);
27
28
SCALAR_UNIT_HPP_END
();
29
30
SCALAR_UNIT_HPP
(
volume_4d
);
31
32
SCALAR_UNIT_HPP
(
curvature
);
33
}
34
35
#endif
// SCIFIR_UNITS_DERIVED_UNITS_SPACE_UNITS_HPP_INCLUDED
scifir::coordinates_1d
Definition
coordinates_1d.hpp:18
scifir
The namespace scifir contains all scifir-units, excepting the string literals, which are outside.
Definition
address.cpp:6
scifir::volume
volume(const size_3d< length > &)
Definition
space_units.cpp:22
scifir::SCALAR_UNIT_HPP_END
SCALAR_UNIT_HPP_END()
scifir::area
area(const size_2d< length > &)
Definition
space_units.cpp:13
SCALAR_UNIT_HPP
#define SCALAR_UNIT_HPP(name)
Definition
scalar_unit.hpp:50
SCALAR_UNIT_HPP_BEGIN
#define SCALAR_UNIT_HPP_BEGIN(name)
Definition
scalar_unit.hpp:16
Generated by
1.9.8