DiFfRG
Loading...
Searching...
No Matches
DiFfRG::LogarithmicCoordinates1D< NT > Class Template Reference

#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
 

Member Typedef Documentation

◆ ctype

template<typename NT >
using DiFfRG::LogarithmicCoordinates1D< NT >::ctype = NT

Constructor & Destructor Documentation

◆ LogarithmicCoordinates1D() [1/2]

template<typename NT >
DiFfRG::LogarithmicCoordinates1D< NT >::LogarithmicCoordinates1D ( uint grid_extent,
NT start,
NT stop,
NT bias )
inline

◆ LogarithmicCoordinates1D() [2/2]

template<typename NT >
template<typename NT2 >
DiFfRG::LogarithmicCoordinates1D< NT >::LogarithmicCoordinates1D ( const LogarithmicCoordinates1D< NT2 > & other)
inline

Member Function Documentation

◆ backward()

template<typename NT >
NT __forceinline__ __device__ __host__ DiFfRG::LogarithmicCoordinates1D< NT >::backward ( const NT & y) const
inline

Transform from the physical space to the grid.

Parameters
yphysical coordinate
Returns
double grid coordinate

◆ backward_derivative()

template<typename NT >
NT __forceinline__ __device__ __host__ DiFfRG::LogarithmicCoordinates1D< NT >::backward_derivative ( const NT & y) const
inline

◆ forward()

template<typename NT >
NT __forceinline__ __device__ __host__ DiFfRG::LogarithmicCoordinates1D< NT >::forward ( const uint & x) const
inline

Transform from the grid to the physical space.

Parameters
xgrid coordinate
Returns
NumberType physical coordinate

◆ size()

template<typename NT >
uint DiFfRG::LogarithmicCoordinates1D< NT >::size ( ) const
inline

Member Data Documentation

◆ a

template<typename NT >
NT DiFfRG::LogarithmicCoordinates1D< NT >::a
private

◆ b

template<typename NT >
NT DiFfRG::LogarithmicCoordinates1D< NT >::b
private

◆ bias

template<typename NT >
const NT DiFfRG::LogarithmicCoordinates1D< NT >::bias

◆ c

template<typename NT >
NT DiFfRG::LogarithmicCoordinates1D< NT >::c
private

◆ dim

template<typename NT >
uint DiFfRG::LogarithmicCoordinates1D< NT >::dim = 1
staticconstexpr

◆ gem1

template<typename NT >
const NT DiFfRG::LogarithmicCoordinates1D< NT >::gem1
private

◆ gem1inv

template<typename NT >
const NT DiFfRG::LogarithmicCoordinates1D< NT >::gem1inv
private

◆ grid_extent

template<typename NT >
const uint DiFfRG::LogarithmicCoordinates1D< NT >::grid_extent
private

◆ start

template<typename NT >
const NT DiFfRG::LogarithmicCoordinates1D< NT >::start

◆ stop

template<typename NT >
const NT DiFfRG::LogarithmicCoordinates1D< NT >::stop

The documentation for this class was generated from the following file: