TerraNeo
Extreme-Scale Mantle Convection
Loading...
Searching...
No Matches
types.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
terra
{
4
using
real_t
= double;
5
6
/// @brief Cast to type real_t using "real_c(x)".
7
template
<
typename
T >
8
real_t
real_c
( T t )
9
{
10
return
static_cast<
real_t
>
( t );
11
}
12
}
// namespace terra
terra
Definition
buffer_copy_kernels.hpp:5
terra::real_t
double real_t
Definition
types.hpp:4
terra::real_c
real_t real_c(T t)
Cast to type real_t using "real_c(x)".
Definition
types.hpp:8
src
terra
types.hpp
Generated by
1.9.8