DiFfRG
Loading...
Searching...
No Matches
common.hh
Go to the documentation of this file.
1
#pragma once
2
3
// external libraries
4
#include <autodiff/forward/real.hpp>
5
6
namespace
DiFfRG
7
{
8
namespace
internal
9
{
10
template
<
typename
NT>
struct
__TLITypes
;
11
12
template
<>
struct
__TLITypes
<float> {
13
using
ReturnType
= float;
14
};
15
16
template
<>
struct
__TLITypes
<double> {
17
using
ReturnType
= float;
18
};
19
20
template
<>
struct
__TLITypes
<
autodiff
::
real
> {
21
using
ReturnType
= autodiff::real;
22
};
23
}
// namespace internal
24
}
// namespace DiFfRG
DiFfRG
Definition
complex_math.hh:14
DiFfRG::real
AUTODIFF_DEVICE_FUNC auto real(const autodiff::Real< N, T > &a)
Definition
complex_math.hh:148
autodiff
Definition
complex_math.hh:59
DiFfRG::internal::__TLITypes< autodiff::real >::ReturnType
autodiff::real ReturnType
Definition
common.hh:21
DiFfRG::internal::__TLITypes< double >::ReturnType
float ReturnType
Definition
common.hh:17
DiFfRG::internal::__TLITypes< float >::ReturnType
float ReturnType
Definition
common.hh:13
DiFfRG::internal::__TLITypes
Definition
common.hh:10
DiFfRG
include
DiFfRG
physics
interpolation
common.hh
Generated by
1.12.0