ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
walberla::lbm::accessor::MomentumDensity Namespace Reference

Functions

auto reduce (GhostLayerField< double, uint_t{19u}> const *pdf_field, GhostLayerField< double, uint_t{3u}> const *force_field)
 
__global__ void kernel_get (gpu::FieldAccessor< double > pdf, gpu::FieldAccessor< double > force, double *RESTRICT out)
 
Vector3< double > reduce (gpu::GPUField< double > const *pdf_field, gpu::GPUField< double > const *force_field)
 
auto reduce (GhostLayerField< float, uint_t{19u}> const *pdf_field, GhostLayerField< float, uint_t{3u}> const *force_field)
 
__global__ void kernel_get (gpu::FieldAccessor< float > pdf, gpu::FieldAccessor< float > force, float *RESTRICT out)
 
Vector3< float > reduce (gpu::GPUField< float > const *pdf_field, gpu::GPUField< float > const *force_field)
 

Function Documentation

◆ kernel_get() [1/2]

__global__ void walberla::lbm::accessor::MomentumDensity::kernel_get ( gpu::FieldAccessor< double >  pdf,
gpu::FieldAccessor< double >  force,
double *RESTRICT  out 
)

Definition at line 1051 of file FieldAccessorsDoublePrecisionCUDA.cu.

References getLinearIndex().

Referenced by reduce(), and reduce().

◆ kernel_get() [2/2]

__global__ void walberla::lbm::accessor::MomentumDensity::kernel_get ( gpu::FieldAccessor< float >  pdf,
gpu::FieldAccessor< float >  force,
float *RESTRICT  out 
)

Definition at line 1051 of file FieldAccessorsSinglePrecisionCUDA.cu.

References getLinearIndex().

◆ reduce() [1/4]

auto walberla::lbm::accessor::MomentumDensity::reduce ( GhostLayerField< double, uint_t{19u}> const *  pdf_field,
GhostLayerField< double, uint_t{3u}> const *  force_field 
)
inline

◆ reduce() [2/4]

auto walberla::lbm::accessor::MomentumDensity::reduce ( GhostLayerField< float, uint_t{19u}> const *  pdf_field,
GhostLayerField< float, uint_t{3u}> const *  force_field 
)
inline

Definition at line 1091 of file FieldAccessorsSinglePrecision.h.

◆ reduce() [3/4]

Vector3< double > walberla::lbm::accessor::MomentumDensity::reduce ( gpu::GPUField< double > const *  pdf_field,
gpu::GPUField< double > const *  force_field 
)

Definition at line 1096 of file FieldAccessorsDoublePrecisionCUDA.cu.

References kernel_get().

◆ reduce() [4/4]

Vector3< float > walberla::lbm::accessor::MomentumDensity::reduce ( gpu::GPUField< float > const *  pdf_field,
gpu::GPUField< float > const *  force_field 
)

Definition at line 1096 of file FieldAccessorsSinglePrecisionCUDA.cu.

References kernel_get().