DiFfRG
|
#include <coordinates.hh>
Public Types | |
using | ctype = NT |
Public Member Functions | |
LogarithmicCoordinates1D (uint grid_extent, NT start, NT stop, NT bias) | |
template<typename NT2 > | |
LogarithmicCoordinates1D (const LogarithmicCoordinates1D< NT2 > &other) | |
NT __forceinline__ __device__ __host__ | forward (const uint &x) const |
Transform from the grid to the physical space. | |
NT __forceinline__ __device__ __host__ | backward (const NT &y) const |
Transform from the physical space to the grid. | |
NT __forceinline__ __device__ __host__ | backward_derivative (const NT &y) const |
uint | size () const |
Public Attributes | |
const NT | start |
const NT | stop |
const NT | bias |
Static Public Attributes | |
static constexpr uint | dim = 1 |
Private Attributes | |
const uint | grid_extent |
const NT | gem1 |
const NT | gem1inv |
NT | a |
NT | b |
NT | c |
using DiFfRG::LogarithmicCoordinates1D< NT >::ctype = NT |
|
inline |
|
inline |
|
inline |
Transform from the physical space to the grid.
y | physical coordinate |
|
inline |
|
inline |
Transform from the grid to the physical space.
x | grid coordinate |
|
inline |
|
private |
|
private |
const NT DiFfRG::LogarithmicCoordinates1D< NT >::bias |
|
private |
|
staticconstexpr |
|
private |
|
private |
|
private |
const NT DiFfRG::LogarithmicCoordinates1D< NT >::start |
const NT DiFfRG::LogarithmicCoordinates1D< NT >::stop |