ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Functions | |
static __forceinline__ __device__ void | calculate_weights (double const *RESTRICT const pos, int *RESTRICT const corner, double *RESTRICT const weights, uint gl) |
Calculate interpolation weights. | |
__global__ void | kernel_get (gpu::FieldAccessor< double > vec, double const *RESTRICT const pos, double *RESTRICT const vel, uint n_pos, uint gl) |
__global__ void | kernel_set (gpu::FieldAccessor< double > vec, double const *RESTRICT const pos, double const *RESTRICT const forces, uint n_pos, uint gl) |
static dim3 | calculate_dim_grid (uint const threads_x, uint const blocks_per_grid_y, uint const threads_per_block) |
std::vector< double > | get (gpu::GPUField< double > const *vec_field, std::vector< double > const &pos, uint gl) |
void | set (gpu::GPUField< double > const *vec_field, std::vector< double > const &pos, std::vector< double > const &forces, uint gl) |
static __forceinline__ __device__ void | calculate_weights (float const *RESTRICT const pos, int *RESTRICT const corner, float *RESTRICT const weights, uint gl) |
Calculate interpolation weights. | |
__global__ void | kernel_get (gpu::FieldAccessor< float > vec, float const *RESTRICT const pos, float *RESTRICT const vel, uint n_pos, uint gl) |
__global__ void | kernel_set (gpu::FieldAccessor< float > vec, float const *RESTRICT const pos, float const *RESTRICT const forces, uint n_pos, uint gl) |
static dim3 | calculate_dim_grid (uint const threads_x, uint const blocks_per_grid_y, uint const threads_per_block) |
std::vector< float > | get (gpu::GPUField< float > const *vec_field, std::vector< float > const &pos, uint gl) |
void | set (gpu::GPUField< float > const *vec_field, std::vector< float > const &pos, std::vector< float > const &forces, uint gl) |
|
static |
|
static |
Definition at line 584 of file FieldAccessorsSinglePrecisionCUDA.cu.
|
static |
Calculate interpolation weights.
Definition at line 490 of file FieldAccessorsDoublePrecisionCUDA.cu.
Referenced by kernel_get(), kernel_get(), kernel_set(), and kernel_set().
|
static |
Calculate interpolation weights.
Definition at line 490 of file FieldAccessorsSinglePrecisionCUDA.cu.
std::vector< double > walberla::lbm::accessor::Interpolation::get | ( | gpu::GPUField< double > const * | vec_field, |
std::vector< double > const & | pos, | ||
uint | gl | ||
) |
Definition at line 596 of file FieldAccessorsDoublePrecisionCUDA.cu.
References calculate_dim_grid().
Referenced by walberla::LBWalberlaImpl< FloatType, Architecture >::get_velocities_at_pos().
std::vector< float > walberla::lbm::accessor::Interpolation::get | ( | gpu::GPUField< float > const * | vec_field, |
std::vector< float > const & | pos, | ||
uint | gl | ||
) |
Definition at line 596 of file FieldAccessorsSinglePrecisionCUDA.cu.
References calculate_dim_grid().
__global__ void walberla::lbm::accessor::Interpolation::kernel_get | ( | gpu::FieldAccessor< double > | vec, |
double const *RESTRICT const | pos, | ||
double *RESTRICT const | vel, | ||
uint | n_pos, | ||
uint | gl | ||
) |
Definition at line 506 of file FieldAccessorsDoublePrecisionCUDA.cu.
References calculate_weights(), and weight().
__global__ void walberla::lbm::accessor::Interpolation::kernel_get | ( | gpu::FieldAccessor< float > | vec, |
float const *RESTRICT const | pos, | ||
float *RESTRICT const | vel, | ||
uint | n_pos, | ||
uint | gl | ||
) |
Definition at line 506 of file FieldAccessorsSinglePrecisionCUDA.cu.
References calculate_weights(), and weight().
__global__ void walberla::lbm::accessor::Interpolation::kernel_set | ( | gpu::FieldAccessor< double > | vec, |
double const *RESTRICT const | pos, | ||
double const *RESTRICT const | forces, | ||
uint | n_pos, | ||
uint | gl | ||
) |
Definition at line 543 of file FieldAccessorsDoublePrecisionCUDA.cu.
References calculate_weights(), and weight().
__global__ void walberla::lbm::accessor::Interpolation::kernel_set | ( | gpu::FieldAccessor< float > | vec, |
float const *RESTRICT const | pos, | ||
float const *RESTRICT const | forces, | ||
uint | n_pos, | ||
uint | gl | ||
) |
Definition at line 543 of file FieldAccessorsSinglePrecisionCUDA.cu.
References calculate_weights(), and weight().
void walberla::lbm::accessor::Interpolation::set | ( | gpu::GPUField< double > const * | vec_field, |
std::vector< double > const & | pos, | ||
std::vector< double > const & | forces, | ||
uint | gl | ||
) |
Definition at line 617 of file FieldAccessorsDoublePrecisionCUDA.cu.
References calculate_dim_grid().
Referenced by walberla::LBWalberlaImpl< FloatType, Architecture >::add_forces_at_pos().
void walberla::lbm::accessor::Interpolation::set | ( | gpu::GPUField< float > const * | vec_field, |
std::vector< float > const & | pos, | ||
std::vector< float > const & | forces, | ||
uint | gl | ||
) |
Definition at line 617 of file FieldAccessorsSinglePrecisionCUDA.cu.
References calculate_dim_grid().