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

Functions

void set (GhostLayerField< double, uint_t{19u}> const *pdf_field, GhostLayerField< double, uint_t{3u}> *velocity_field, GhostLayerField< double, uint_t{3u}> *force_field, Vector3< double > const &force, Cell const &cell)
 
void set (GhostLayerField< double, uint_t{19u}> const *pdf_field, GhostLayerField< double, uint_t{3u}> *velocity_field, GhostLayerField< double, uint_t{3u}> *force_field, std::vector< double > const &values, CellInterval const &ci)
 
__global__ void kernel_set (gpu::FieldAccessor< double > pdf, gpu::FieldAccessor< double > velocity, gpu::FieldAccessor< double > force, double const *RESTRICT f_in)
 
void set (gpu::GPUField< double > const *pdf_field, gpu::GPUField< double > *velocity_field, gpu::GPUField< double > *force_field, Vector3< double > const &u, Cell const &cell)
 
void set (gpu::GPUField< double > const *pdf_field, gpu::GPUField< double > *velocity_field, gpu::GPUField< double > *force_field, std::vector< double > const &values, CellInterval const &ci)
 
void set (GhostLayerField< float, uint_t{19u}> const *pdf_field, GhostLayerField< float, uint_t{3u}> *velocity_field, GhostLayerField< float, uint_t{3u}> *force_field, Vector3< float > const &force, Cell const &cell)
 
void set (GhostLayerField< float, uint_t{19u}> const *pdf_field, GhostLayerField< float, uint_t{3u}> *velocity_field, GhostLayerField< float, uint_t{3u}> *force_field, std::vector< float > const &values, CellInterval const &ci)
 
__global__ void kernel_set (gpu::FieldAccessor< float > pdf, gpu::FieldAccessor< float > velocity, gpu::FieldAccessor< float > force, float const *RESTRICT f_in)
 
void set (gpu::GPUField< float > const *pdf_field, gpu::GPUField< float > *velocity_field, gpu::GPUField< float > *force_field, Vector3< float > const &u, Cell const &cell)
 
void set (gpu::GPUField< float > const *pdf_field, gpu::GPUField< float > *velocity_field, gpu::GPUField< float > *force_field, std::vector< float > const &values, CellInterval const &ci)
 

Function Documentation

◆ kernel_set() [1/2]

__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 
)

Definition at line 964 of file FieldAccessorsDoublePrecisionCUDA.cu.

References getLinearIndex(), and velocity().

Referenced by set(), set(), set(), and set().

◆ kernel_set() [2/2]

__global__ void walberla::lbm::accessor::Force::kernel_set ( gpu::FieldAccessor< float >  pdf,
gpu::FieldAccessor< float >  velocity,
gpu::FieldAccessor< float >  force,
float const *RESTRICT  f_in 
)

Definition at line 964 of file FieldAccessorsSinglePrecisionCUDA.cu.

References getLinearIndex(), and velocity().

◆ set() [1/8]

void walberla::lbm::accessor::Force::set ( GhostLayerField< double, uint_t{19u}> const *  pdf_field,
GhostLayerField< double, uint_t{3u}> *  velocity_field,
GhostLayerField< double, uint_t{3u}> *  force_field,
std::vector< double > const &  values,
CellInterval const &  ci 
)
inline

Definition at line 1026 of file FieldAccessorsDoublePrecision.h.

◆ set() [2/8]

void walberla::lbm::accessor::Force::set ( GhostLayerField< double, uint_t{19u}> const *  pdf_field,
GhostLayerField< double, uint_t{3u}> *  velocity_field,
GhostLayerField< double, uint_t{3u}> *  force_field,
Vector3< double > const &  force,
Cell const &  cell 
)
inline

◆ set() [3/8]

void walberla::lbm::accessor::Force::set ( GhostLayerField< float, uint_t{19u}> const *  pdf_field,
GhostLayerField< float, uint_t{3u}> *  velocity_field,
GhostLayerField< float, uint_t{3u}> *  force_field,
std::vector< float > const &  values,
CellInterval const &  ci 
)
inline

Definition at line 1029 of file FieldAccessorsSinglePrecision.h.

◆ set() [4/8]

void walberla::lbm::accessor::Force::set ( GhostLayerField< float, uint_t{19u}> const *  pdf_field,
GhostLayerField< float, uint_t{3u}> *  velocity_field,
GhostLayerField< float, uint_t{3u}> *  force_field,
Vector3< float > const &  force,
Cell const &  cell 
)
inline

Definition at line 980 of file FieldAccessorsSinglePrecision.h.

◆ set() [5/8]

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,
CellInterval const &  ci 
)

Definition at line 1033 of file FieldAccessorsDoublePrecisionCUDA.cu.

References kernel_set().

◆ set() [6/8]

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,
Cell const &  cell 
)

Definition at line 1017 of file FieldAccessorsDoublePrecisionCUDA.cu.

References kernel_set().

◆ set() [7/8]

void walberla::lbm::accessor::Force::set ( gpu::GPUField< float > const *  pdf_field,
gpu::GPUField< float > *  velocity_field,
gpu::GPUField< float > *  force_field,
std::vector< float > const &  values,
CellInterval const &  ci 
)

Definition at line 1033 of file FieldAccessorsSinglePrecisionCUDA.cu.

References kernel_set().

◆ set() [8/8]

void walberla::lbm::accessor::Force::set ( gpu::GPUField< float > const *  pdf_field,
gpu::GPUField< float > *  velocity_field,
gpu::GPUField< float > *  force_field,
Vector3< float > const &  u,
Cell const &  cell 
)

Definition at line 1017 of file FieldAccessorsSinglePrecisionCUDA.cu.

References kernel_set().