![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Rescale values in a device vector by some constant. More...
Public Member Functions | |
| algo_rescale (double scale_factor) | |
| __host__ __device__ constexpr double | operator() (double const &x) const |
| algo_rescale (float scale_factor) | |
| __host__ __device__ constexpr float | operator() (float const &x) const |
Public Attributes | |
| double | m_scale_factor |
| float | m_scale_factor |
Rescale values in a device vector by some constant.
Definition at line 89 of file FieldAccessorsDoublePrecisionCUDA.cu.
|
inline |
Definition at line 91 of file FieldAccessorsDoublePrecisionCUDA.cu.
|
inline |
Definition at line 91 of file FieldAccessorsSinglePrecisionCUDA.cu.
|
inlineconstexpr |
Definition at line 93 of file FieldAccessorsDoublePrecisionCUDA.cu.
References m_scale_factor.
|
inlineconstexpr |
Definition at line 93 of file FieldAccessorsSinglePrecisionCUDA.cu.
References m_scale_factor.
| double algo_rescale::m_scale_factor |
Definition at line 90 of file FieldAccessorsDoublePrecisionCUDA.cu.
Referenced by operator()(), and operator()().
| float algo_rescale::m_scale_factor |
Definition at line 90 of file FieldAccessorsSinglePrecisionCUDA.cu.