LogarithmicCoordinates1D< NT > Class Template Reference#
|
DiFfRG
|
Public Types |
Public Member Functions |
Public Attributes |
Static Public Attributes |
Private Attributes |
Friends |
List of all members
DiFfRG::LogarithmicCoordinates1D< NT > Class Template Reference
#include <coordinates.hh>
Public Types | |
| using | ctype = NT |
Public Member Functions | |
| LogarithmicCoordinates1D (size_t grid_extent, NT start, NT stop, NT bias) | |
| template<typename NT2 > | |
| LogarithmicCoordinates1D (const LogarithmicCoordinates1D< NT2 > &other) | |
| device::array< size_t, 1 > KOKKOS_FORCEINLINE_FUNCTION | from_linear_index (size_t i) const |
| template<typename IT > | |
| NT KOKKOS_FORCEINLINE_FUNCTION | forward (const IT &x) const |
| Transform from the grid to the physical space. | |
| template<typename IT > | |
| device::array< NT, 1 > KOKKOS_FORCEINLINE_FUNCTION | forward (const device::array< IT, 1 > &x) const |
| NT KOKKOS_FORCEINLINE_FUNCTION | backward (const NT &y) const |
| Transform from the physical space to the grid. | |
| NT KOKKOS_FORCEINLINE_FUNCTION | backward_derivative (const NT &y) const |
| size_t KOKKOS_FORCEINLINE_FUNCTION | size () const |
| device::array< size_t, 1 > KOKKOS_FORCEINLINE_FUNCTION | sizes () const |
| std::string | to_string () const |
Public Attributes | |
| const NT | start |
| const NT | stop |
| const NT | bias |
Static Public Attributes | |
| static constexpr size_t | dim = 1 |
Private Attributes | |
| const size_t | grid_extent |
| const NT | gem1 |
| const NT | gem1inv |
| NT | a |
| NT | b |
| NT | c |
Friends | |
| template<typename NT2 > | |
| bool | operator== (const LogarithmicCoordinates1D< NT > &lhs, const LogarithmicCoordinates1D< NT2 > &rhs) |
Member Typedef Documentation
◆ ctype
template<typename NT = double>
| using DiFfRG::LogarithmicCoordinates1D< NT >::ctype = NT |
Constructor & Destructor Documentation
◆ LogarithmicCoordinates1D() [1/2]
template<typename NT = double>
|
inline |
◆ LogarithmicCoordinates1D() [2/2]
template<typename NT = double>
template<typename NT2 >
|
inline |
Member Function Documentation
◆ backward()
template<typename NT = double>
|
inline |
Transform from the physical space to the grid.
- Parameters
-
y physical coordinate
- Returns
- double grid coordinate
◆ backward_derivative()
template<typename NT = double>
|
inline |
◆ forward() [1/2]
template<typename NT = double>
template<typename IT >
|
inline |
◆ forward() [2/2]
template<typename NT = double>
template<typename IT >
|
inline |
Transform from the grid to the physical space.
- Parameters
-
x grid coordinate
- Returns
- NumberType physical coordinate
◆ from_linear_index()
template<typename NT = double>
|
inline |
◆ size()
template<typename NT = double>
|
inline |
◆ sizes()
template<typename NT = double>
|
inline |
◆ to_string()
template<typename NT = double>
|
inline |
Friends And Related Symbol Documentation
◆ operator==
template<typename NT = double>
template<typename NT2 >
|
friend |
Member Data Documentation
◆ a
template<typename NT = double>
|
private |
◆ b
template<typename NT = double>
|
private |
◆ bias
template<typename NT = double>
| const NT DiFfRG::LogarithmicCoordinates1D< NT >::bias |
◆ c
template<typename NT = double>
|
private |
◆ dim
template<typename NT = double>
|
staticconstexpr |
◆ gem1
template<typename NT = double>
|
private |
◆ gem1inv
template<typename NT = double>
|
private |
◆ grid_extent
template<typename NT = double>
|
private |
◆ start
template<typename NT = double>
| const NT DiFfRG::LogarithmicCoordinates1D< NT >::start |
◆ stop
template<typename NT = double>
| const NT DiFfRG::LogarithmicCoordinates1D< NT >::stop |
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/coordinates/coordinates.hh
Generated by