|
| static __forceinline__ __device__ uint | getLinearIndex (uint3 blockIdx, uint3 threadIdx, uint3 gridDim, uint3 blockDim, uint fOffset) |
| | Get linear index of flattened data with original layout fzyx.
|
| |
| static dim3 | calculate_dim_grid (uint const threads_x, uint const blocks_per_grid_y, uint const threads_per_block) |
| |
| __global__ void | walberla::lbm::accessor::Population::kernel_get (gpu::FieldAccessor< double > pdf, double *RESTRICT pop) |
| |
| __global__ void | walberla::lbm::accessor::Population::kernel_set (gpu::FieldAccessor< double > pdf, double const *RESTRICT pop) |
| |
| __global__ void | walberla::lbm::accessor::Population::kernel_broadcast (gpu::FieldAccessor< double > pdf, double const *RESTRICT pop) |
| |
| __global__ void | walberla::lbm::accessor::Population::kernel_set_vel (gpu::FieldAccessor< double > pdf, gpu::FieldAccessor< double > velocity, gpu::FieldAccessor< double > force, double const *RESTRICT pop) |
| |
| std::array< double, 19u > | walberla::lbm::accessor::Population::get (gpu::GPUField< double > const *pdf_field, Cell const &cell) |
| | Get populations from a single cell.
|
| |
| void | walberla::lbm::accessor::Population::set (gpu::GPUField< double > *pdf_field, std::array< double, 19u > const &pop, Cell const &cell) |
| | Set populations on a single cell.
|
| |
| void | walberla::lbm::accessor::Population::set (gpu::GPUField< double > *pdf_field, gpu::GPUField< double > *velocity_field, gpu::GPUField< double > const *force_field, std::array< double, 19u > const &pop, Cell const &cell) |
| | Set populations and recalculate velocities on a single cell.
|
| |
| void | walberla::lbm::accessor::Population::initialize (gpu::GPUField< double > *pdf_field, std::array< double, 19u > const &pop) |
| | Initialize all cells with the same value.
|
| |
| std::vector< double > | walberla::lbm::accessor::Population::get (gpu::GPUField< double > const *pdf_field, CellInterval const &ci) |
| | Get populations from a cell interval.
|
| |
| void | walberla::lbm::accessor::Population::set (gpu::GPUField< double > *pdf_field, std::vector< double > const &values, CellInterval const &ci) |
| | Set populations on a cell interval.
|
| |
| void | walberla::lbm::accessor::Population::set (gpu::GPUField< double > *pdf_field, gpu::GPUField< double > *velocity_field, gpu::GPUField< double > const *force_field, std::vector< double > const &values, CellInterval const &ci) |
| | Set populations and recalculate velocities on a cell interval.
|
| |
| __global__ void | walberla::lbm::accessor::Vector::kernel_get (gpu::FieldAccessor< double > vec, double *u_out) |
| |
| __global__ void | walberla::lbm::accessor::Vector::kernel_set (gpu::FieldAccessor< double > vec, double const *RESTRICT u_in) |
| |
| __global__ void | walberla::lbm::accessor::Vector::kernel_broadcast (gpu::FieldAccessor< double > vec, double const *RESTRICT u_in) |
| |
| __global__ void | walberla::lbm::accessor::Vector::kernel_add (gpu::FieldAccessor< double > vec, double const *RESTRICT u_in) |
| |
| __global__ void | walberla::lbm::accessor::Vector::kernel_broadcast_add (gpu::FieldAccessor< double > vec, double const *RESTRICT u_in) |
| |
| __global__ void | walberla::lbm::accessor::Vector::kernel_set_from_list (gpu::FieldAccessor< double > vec, int const *RESTRICT const indices, double const *RESTRICT const values, uint length) |
| |
| Vector3< double > | walberla::lbm::accessor::Vector::get (gpu::GPUField< double > const *field, Cell const &cell) |
| | Get value from a single cell.
|
| |
| void | walberla::lbm::accessor::Vector::set (gpu::GPUField< double > *field, Vector3< double > const &vec, Cell const &cell) |
| | Set value on a single cell.
|
| |
| void | walberla::lbm::accessor::Vector::add (gpu::GPUField< double > *field, Vector3< double > const &vec, Cell const &cell) |
| | Add value to a single cell.
|
| |
| void | walberla::lbm::accessor::Vector::initialize (gpu::GPUField< double > *field, Vector3< double > const &vec) |
| | Initialize all cells with the same value.
|
| |
| void | walberla::lbm::accessor::Vector::add_to_all (gpu::GPUField< double > *field, Vector3< double > const &vec) |
| | Add value to all cells.
|
| |
| std::vector< double > | walberla::lbm::accessor::Vector::get (gpu::GPUField< double > const *vec_field, CellInterval const &ci) |
| | Get values from a cell interval.
|
| |
| void | walberla::lbm::accessor::Vector::set (gpu::GPUField< double > *vec_field, std::vector< double > const &values, CellInterval const &ci) |
| | Set values on a cell interval.
|
| |
| void | walberla::lbm::accessor::Vector::set_from_list (gpu::GPUField< double > const *field, thrust::device_vector< int > const &indices, thrust::device_vector< double > const &values, uint gl) |
| |
| static __forceinline__ __device__ void | walberla::lbm::accessor::Interpolation::calculate_weights (double const *RESTRICT const pos, int *RESTRICT const corner, double *RESTRICT const weights, uint gl) |
| | Calculate interpolation 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) |
| |
| __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) |
| |
| __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) |
| |
| std::vector< double > | walberla::lbm::accessor::Interpolation::get_rho (gpu::GPUField< double > const *field, std::vector< double > const &pos, double const density, uint gl) |
| |
| std::vector< double > | walberla::lbm::accessor::Interpolation::get_vel (gpu::GPUField< double > const *field, std::vector< double > const &pos, 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) |
| |
| __device__ void | walberla::lbm::accessor::Equilibrium::kernel_set_device (gpu::FieldAccessor< double > pdf, double const *RESTRICT const u, double rho) |
| |
| __global__ void | walberla::lbm::accessor::Density::kernel_get (gpu::FieldAccessor< double > pdf, double *RESTRICT rho_out, double const density) |
| |
| __global__ void | walberla::lbm::accessor::Density::kernel_set (gpu::FieldAccessor< double > pdf, double const *RESTRICT rho_in, double const density) |
| |
| double | walberla::lbm::accessor::Density::get (gpu::GPUField< double > const *pdf_field, double const density, Cell const &cell) |
| |
| std::vector< double > | walberla::lbm::accessor::Density::get (gpu::GPUField< double > const *pdf_field, double const density, CellInterval const &ci) |
| |
| void | walberla::lbm::accessor::Density::set (gpu::GPUField< double > *pdf_field, double const rho, double const density, Cell const &cell) |
| |
| void | walberla::lbm::accessor::Density::set (gpu::GPUField< double > *pdf_field, std::vector< double > const &values, double const density, CellInterval const &ci) |
| |
| __global__ void | walberla::lbm::accessor::Velocity::kernel_get (gpu::FieldAccessor< double > pdf, gpu::FieldAccessor< double > force, double *RESTRICT u_out) |
| |
| __global__ void | walberla::lbm::accessor::Velocity::kernel_set (gpu::FieldAccessor< double > pdf, gpu::FieldAccessor< double > velocity, gpu::FieldAccessor< double > force, double const *RESTRICT u_in) |
| |
| Vector3< double > | walberla::lbm::accessor::Velocity::get (gpu::GPUField< double > const *pdf_field, gpu::GPUField< double > const *force_field, Cell const &cell) |
| |
| std::vector< double > | walberla::lbm::accessor::Velocity::get (gpu::GPUField< double > const *pdf_field, gpu::GPUField< double > const *force_field, CellInterval const &ci) |
| |
| void | walberla::lbm::accessor::Velocity::set (gpu::GPUField< double > *pdf_field, gpu::GPUField< double > *velocity_field, gpu::GPUField< double > const *force_field, Vector3< double > const &u, Cell const &cell) |
| |
| void | walberla::lbm::accessor::Velocity::set (gpu::GPUField< double > *pdf_field, gpu::GPUField< double > *velocity_field, gpu::GPUField< double > const *force_field, std::vector< double > const &values, CellInterval const &ci) |
| |
| __global__ void | walberla::lbm::accessor::Force::kernel_set (gpu::FieldAccessor< double > pdf, gpu::FieldAccessor< double > velocity, gpu::FieldAccessor< double > force, double const *RESTRICT f_in, double const density) |
| |
| void | walberla::lbm::accessor::Force::set (gpu::GPUField< double > const *pdf_field, gpu::GPUField< double > *velocity_field, gpu::GPUField< double > *force_field, Vector3< double > const &u, double const density, Cell const &cell) |
| |
| void | walberla::lbm::accessor::Force::set (gpu::GPUField< double > const *pdf_field, gpu::GPUField< double > *velocity_field, gpu::GPUField< double > *force_field, std::vector< double > const &values, double const density, CellInterval const &ci) |
| |
| __global__ void | walberla::lbm::accessor::MomentumDensity::kernel_get (gpu::FieldAccessor< double > pdf, gpu::FieldAccessor< double > force, double *RESTRICT out, double const density) |
| |
| Vector3< double > | walberla::lbm::accessor::MomentumDensity::reduce (gpu::GPUField< double > const *pdf_field, gpu::GPUField< double > const *force_field, double const density) |
| |
| __global__ void | walberla::lbm::accessor::PressureTensor::kernel_get (gpu::FieldAccessor< double > pdf, double *RESTRICT p_out) |
| |
| Matrix3< double > | walberla::lbm::accessor::PressureTensor::get (gpu::GPUField< double > const *pdf_field, double const density, Cell const &cell) |
| |
| std::vector< double > | walberla::lbm::accessor::PressureTensor::get (gpu::GPUField< double > const *pdf_field, double const density, CellInterval const &ci) |
| |
| Matrix3< double > | walberla::lbm::accessor::PressureTensor::reduce (gpu::GPUField< double > const *pdf_field, double const density) |
| |