![]() |
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_rho (gpu::FieldAccessor< double > pdf, double const *RESTRICT const pos, double *RESTRICT const rho_out, double const density, uint n_pos, uint gl) |
| __global__ void | kernel_get_vel (gpu::FieldAccessor< double > vel, double const *RESTRICT const pos, double *RESTRICT const vel_out, uint n_pos, uint gl) |
| __global__ void | kernel_add_force (gpu::FieldAccessor< double > force, double const *RESTRICT const pos, double const *RESTRICT const forces, uint n_pos, uint gl) |
| std::vector< double > | get_rho (gpu::GPUField< double > const *field, std::vector< double > const &pos, double const density, uint gl) |
| std::vector< double > | get_vel (gpu::GPUField< double > const *field, std::vector< double > const &pos, uint gl) |
| void | add_force (gpu::GPUField< double > const *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_rho (gpu::FieldAccessor< float > pdf, float const *RESTRICT const pos, float *RESTRICT const rho_out, float const density, uint n_pos, uint gl) |
| __global__ void | kernel_get_vel (gpu::FieldAccessor< float > vel, float const *RESTRICT const pos, float *RESTRICT const vel_out, uint n_pos, uint gl) |
| __global__ void | kernel_add_force (gpu::FieldAccessor< float > force, float const *RESTRICT const pos, float const *RESTRICT const forces, uint n_pos, uint gl) |
| std::vector< float > | get_rho (gpu::GPUField< float > const *field, std::vector< float > const &pos, float const density, uint gl) |
| std::vector< float > | get_vel (gpu::GPUField< float > const *field, std::vector< float > const &pos, uint gl) |
| void | add_force (gpu::GPUField< float > const *field, std::vector< float > const &pos, std::vector< float > const &forces, uint gl) |
| void walberla::lbm::accessor::Interpolation::add_force | ( | gpu::GPUField< double > const * | field, |
| std::vector< double > const & | pos, | ||
| std::vector< double > const & | forces, | ||
| uint | gl | ||
| ) |
Definition at line 746 of file FieldAccessorsDoublePrecisionCUDA.cu.
References calculate_dim_grid().
Referenced by walberla::LBWalberlaImpl< FloatType, Architecture >::add_forces_at_pos().
| void walberla::lbm::accessor::Interpolation::add_force | ( | gpu::GPUField< float > const * | field, |
| std::vector< float > const & | pos, | ||
| std::vector< float > const & | forces, | ||
| uint | gl | ||
| ) |
Definition at line 746 of file FieldAccessorsSinglePrecisionCUDA.cu.
References calculate_dim_grid().
|
static |
Calculate interpolation weights.
Definition at line 547 of file FieldAccessorsDoublePrecisionCUDA.cu.
Referenced by kernel_add_force(), kernel_add_force(), kernel_get_rho(), kernel_get_rho(), kernel_get_vel(), and kernel_get_vel().
|
static |
Calculate interpolation weights.
Definition at line 547 of file FieldAccessorsSinglePrecisionCUDA.cu.
| std::vector< double > walberla::lbm::accessor::Interpolation::get_rho | ( | gpu::GPUField< double > const * | field, |
| std::vector< double > const & | pos, | ||
| double const | density, | ||
| uint | gl | ||
| ) |
Definition at line 702 of file FieldAccessorsDoublePrecisionCUDA.cu.
References calculate_dim_grid(), and density.
Referenced by walberla::LBWalberlaImpl< FloatType, Architecture >::get_densities_at_pos().
| std::vector< float > walberla::lbm::accessor::Interpolation::get_rho | ( | gpu::GPUField< float > const * | field, |
| std::vector< float > const & | pos, | ||
| float const | density, | ||
| uint | gl | ||
| ) |
Definition at line 702 of file FieldAccessorsSinglePrecisionCUDA.cu.
References calculate_dim_grid(), and density.
| std::vector< double > walberla::lbm::accessor::Interpolation::get_vel | ( | gpu::GPUField< double > const * | field, |
| std::vector< double > const & | pos, | ||
| uint | gl | ||
| ) |
Definition at line 725 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_vel | ( | gpu::GPUField< float > const * | field, |
| std::vector< float > const & | pos, | ||
| uint | gl | ||
| ) |
Definition at line 725 of file FieldAccessorsSinglePrecisionCUDA.cu.
References calculate_dim_grid().
| __global__ void walberla::lbm::accessor::Interpolation::kernel_add_force | ( | gpu::FieldAccessor< double > | force, |
| double const *RESTRICT const | pos, | ||
| double const *RESTRICT const | forces, | ||
| uint | n_pos, | ||
| uint | gl | ||
| ) |
Definition at line 661 of file FieldAccessorsDoublePrecisionCUDA.cu.
References calculate_weights().
| __global__ void walberla::lbm::accessor::Interpolation::kernel_add_force | ( | gpu::FieldAccessor< float > | force, |
| float const *RESTRICT const | pos, | ||
| float const *RESTRICT const | forces, | ||
| uint | n_pos, | ||
| uint | gl | ||
| ) |
Definition at line 661 of file FieldAccessorsSinglePrecisionCUDA.cu.
References calculate_weights().
| __global__ void walberla::lbm::accessor::Interpolation::kernel_get_rho | ( | gpu::FieldAccessor< double > | pdf, |
| double const *RESTRICT const | pos, | ||
| double *RESTRICT const | rho_out, | ||
| double const | density, | ||
| uint | n_pos, | ||
| uint | gl | ||
| ) |
Definition at line 563 of file FieldAccessorsDoublePrecisionCUDA.cu.
References calculate_weights(), and density.
| __global__ void walberla::lbm::accessor::Interpolation::kernel_get_rho | ( | gpu::FieldAccessor< float > | pdf, |
| float const *RESTRICT const | pos, | ||
| float *RESTRICT const | rho_out, | ||
| float const | density, | ||
| uint | n_pos, | ||
| uint | gl | ||
| ) |
Definition at line 563 of file FieldAccessorsSinglePrecisionCUDA.cu.
References calculate_weights(), and density.
| __global__ void walberla::lbm::accessor::Interpolation::kernel_get_vel | ( | gpu::FieldAccessor< double > | vel, |
| double const *RESTRICT const | pos, | ||
| double *RESTRICT const | vel_out, | ||
| uint | n_pos, | ||
| uint | gl | ||
| ) |
Definition at line 623 of file FieldAccessorsDoublePrecisionCUDA.cu.
References calculate_weights().
| __global__ void walberla::lbm::accessor::Interpolation::kernel_get_vel | ( | gpu::FieldAccessor< float > | vel, |
| float const *RESTRICT const | pos, | ||
| float *RESTRICT const | vel_out, | ||
| uint | n_pos, | ||
| uint | gl | ||
| ) |
Definition at line 623 of file FieldAccessorsSinglePrecisionCUDA.cu.
References calculate_weights().