ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Functions | |
auto | get (GhostLayerField< double, uint_t{19u}> const *pdf_field, Cell const &cell) |
void | set (GhostLayerField< double, uint_t{19u}> *pdf_field, std::array< double, 19u > const &pop, Cell const &cell) |
void | set (GhostLayerField< double, uint_t{19u}> *pdf_field, GhostLayerField< double, uint_t{3u}> *velocity_field, GhostLayerField< double, uint_t{3u}> const *force_field, std::array< double, 19u > const &pop, Cell const &cell) |
void | initialize (GhostLayerField< double, uint_t{19u}> *pdf_field, std::array< double, 19u > const &pop) |
auto | get (GhostLayerField< double, uint_t{19u}> const *pdf_field, CellInterval const &ci) |
void | set (GhostLayerField< double, uint_t{19u}> *pdf_field, std::vector< double > const &values, CellInterval const &ci) |
void | set (GhostLayerField< double, uint_t{19u}> *pdf_field, GhostLayerField< double, uint_t{3u}> *velocity_field, GhostLayerField< double, uint_t{3u}> const *force_field, std::vector< double > const &values, CellInterval const &ci) |
__global__ void | kernel_get (gpu::FieldAccessor< double > pdf, double *RESTRICT pop) |
__global__ void | kernel_set (gpu::FieldAccessor< double > pdf, double const *RESTRICT pop) |
__global__ void | kernel_broadcast (gpu::FieldAccessor< double > pdf, double const *RESTRICT pop) |
__global__ void | kernel_set_vel (gpu::FieldAccessor< double > pdf, gpu::FieldAccessor< double > velocity, gpu::FieldAccessor< double > force, double const *RESTRICT pop) |
std::array< double, 19u > | get (gpu::GPUField< double > const *pdf_field, Cell const &cell) |
Get populations from a single cell. | |
void | set (gpu::GPUField< double > *pdf_field, std::array< double, 19u > const &pop, Cell const &cell) |
Set populations on a single cell. | |
void | 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 | initialize (gpu::GPUField< double > *pdf_field, std::array< double, 19u > const &pop) |
Initialize all cells with the same value. | |
std::vector< double > | get (gpu::GPUField< double > const *pdf_field, CellInterval const &ci) |
Get populations from a cell interval. | |
void | set (gpu::GPUField< double > *pdf_field, std::vector< double > const &values, CellInterval const &ci) |
Set populations on a cell interval. | |
void | 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. | |
auto | get (GhostLayerField< float, uint_t{19u}> const *pdf_field, Cell const &cell) |
void | set (GhostLayerField< float, uint_t{19u}> *pdf_field, std::array< float, 19u > const &pop, Cell const &cell) |
void | set (GhostLayerField< float, uint_t{19u}> *pdf_field, GhostLayerField< float, uint_t{3u}> *velocity_field, GhostLayerField< float, uint_t{3u}> const *force_field, std::array< float, 19u > const &pop, Cell const &cell) |
void | initialize (GhostLayerField< float, uint_t{19u}> *pdf_field, std::array< float, 19u > const &pop) |
auto | get (GhostLayerField< float, uint_t{19u}> const *pdf_field, CellInterval const &ci) |
void | set (GhostLayerField< float, uint_t{19u}> *pdf_field, std::vector< float > const &values, CellInterval const &ci) |
void | set (GhostLayerField< float, uint_t{19u}> *pdf_field, GhostLayerField< float, uint_t{3u}> *velocity_field, GhostLayerField< float, uint_t{3u}> const *force_field, std::vector< float > const &values, CellInterval const &ci) |
__global__ void | kernel_get (gpu::FieldAccessor< float > pdf, float *RESTRICT pop) |
__global__ void | kernel_set (gpu::FieldAccessor< float > pdf, float const *RESTRICT pop) |
__global__ void | kernel_broadcast (gpu::FieldAccessor< float > pdf, float const *RESTRICT pop) |
__global__ void | kernel_set_vel (gpu::FieldAccessor< float > pdf, gpu::FieldAccessor< float > velocity, gpu::FieldAccessor< float > force, float const *RESTRICT pop) |
std::array< float, 19u > | get (gpu::GPUField< float > const *pdf_field, Cell const &cell) |
Get populations from a single cell. | |
void | set (gpu::GPUField< float > *pdf_field, std::array< float, 19u > const &pop, Cell const &cell) |
Set populations on a single cell. | |
void | set (gpu::GPUField< float > *pdf_field, gpu::GPUField< float > *velocity_field, gpu::GPUField< float > const *force_field, std::array< float, 19u > const &pop, Cell const &cell) |
Set populations and recalculate velocities on a single cell. | |
void | initialize (gpu::GPUField< float > *pdf_field, std::array< float, 19u > const &pop) |
Initialize all cells with the same value. | |
std::vector< float > | get (gpu::GPUField< float > const *pdf_field, CellInterval const &ci) |
Get populations from a cell interval. | |
void | set (gpu::GPUField< float > *pdf_field, std::vector< float > const &values, CellInterval const &ci) |
Set populations on a cell interval. | |
void | set (gpu::GPUField< float > *pdf_field, gpu::GPUField< float > *velocity_field, gpu::GPUField< float > const *force_field, std::vector< float > const &values, CellInterval const &ci) |
Set populations and recalculate velocities on a cell interval. | |
|
inline |
Definition at line 63 of file FieldAccessorsDoublePrecision.h.
Referenced by walberla::LBWalberlaImpl< FloatType, Architecture >::get_node_population(), and walberla::LBWalberlaImpl< FloatType, Architecture >::get_slice_population().
|
inline |
Definition at line 187 of file FieldAccessorsDoublePrecision.h.
|
inline |
Definition at line 63 of file FieldAccessorsSinglePrecision.h.
|
inline |
Definition at line 187 of file FieldAccessorsSinglePrecision.h.
std::array< double, 19u > walberla::lbm::accessor::Population::get | ( | gpu::GPUField< double > const * | pdf_field, |
Cell const & | cell | ||
) |
Get populations from a single cell.
Definition at line 231 of file FieldAccessorsDoublePrecisionCUDA.cu.
References kernel_get().
std::vector< double > walberla::lbm::accessor::Population::get | ( | gpu::GPUField< double > const * | pdf_field, |
CellInterval const & | ci | ||
) |
Get populations from a cell interval.
Definition at line 288 of file FieldAccessorsDoublePrecisionCUDA.cu.
References kernel_get().
std::array< float, 19u > walberla::lbm::accessor::Population::get | ( | gpu::GPUField< float > const * | pdf_field, |
Cell const & | cell | ||
) |
Get populations from a single cell.
Definition at line 231 of file FieldAccessorsSinglePrecisionCUDA.cu.
References kernel_get().
std::vector< float > walberla::lbm::accessor::Population::get | ( | gpu::GPUField< float > const * | pdf_field, |
CellInterval const & | ci | ||
) |
Get populations from a cell interval.
Definition at line 288 of file FieldAccessorsSinglePrecisionCUDA.cu.
References kernel_get().
|
inline |
Definition at line 161 of file FieldAccessorsDoublePrecision.h.
Referenced by walberla::LBWalberlaImpl< FloatType, Architecture >::add_to_storage().
|
inline |
Definition at line 161 of file FieldAccessorsSinglePrecision.h.
void walberla::lbm::accessor::Population::initialize | ( | gpu::GPUField< double > * | pdf_field, |
std::array< double, 19u > const & | pop | ||
) |
Initialize all cells with the same value.
Definition at line 276 of file FieldAccessorsDoublePrecisionCUDA.cu.
References kernel_broadcast().
void walberla::lbm::accessor::Population::initialize | ( | gpu::GPUField< float > * | pdf_field, |
std::array< float, 19u > const & | pop | ||
) |
Initialize all cells with the same value.
Definition at line 276 of file FieldAccessorsSinglePrecisionCUDA.cu.
References kernel_broadcast().
__global__ void walberla::lbm::accessor::Population::kernel_broadcast | ( | gpu::FieldAccessor< double > | pdf, |
double const *RESTRICT | pop | ||
) |
Definition at line 156 of file FieldAccessorsDoublePrecisionCUDA.cu.
Referenced by initialize(), and initialize().
__global__ void walberla::lbm::accessor::Population::kernel_broadcast | ( | gpu::FieldAccessor< float > | pdf, |
float const *RESTRICT | pop | ||
) |
Definition at line 156 of file FieldAccessorsSinglePrecisionCUDA.cu.
__global__ void walberla::lbm::accessor::Population::kernel_get | ( | gpu::FieldAccessor< double > | pdf, |
double *RESTRICT | pop | ||
) |
Definition at line 98 of file FieldAccessorsDoublePrecisionCUDA.cu.
References getLinearIndex().
__global__ void walberla::lbm::accessor::Population::kernel_get | ( | gpu::FieldAccessor< float > | pdf, |
float *RESTRICT | pop | ||
) |
Definition at line 98 of file FieldAccessorsSinglePrecisionCUDA.cu.
References getLinearIndex().
__global__ void walberla::lbm::accessor::Population::kernel_set | ( | gpu::FieldAccessor< double > | pdf, |
double const *RESTRICT | pop | ||
) |
Definition at line 127 of file FieldAccessorsDoublePrecisionCUDA.cu.
References getLinearIndex().
__global__ void walberla::lbm::accessor::Population::kernel_set | ( | gpu::FieldAccessor< float > | pdf, |
float const *RESTRICT | pop | ||
) |
Definition at line 127 of file FieldAccessorsSinglePrecisionCUDA.cu.
References getLinearIndex().
__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 | ||
) |
Definition at line 183 of file FieldAccessorsDoublePrecisionCUDA.cu.
References getLinearIndex(), and velocity().
__global__ void walberla::lbm::accessor::Population::kernel_set_vel | ( | gpu::FieldAccessor< float > | pdf, |
gpu::FieldAccessor< float > | velocity, | ||
gpu::FieldAccessor< float > | force, | ||
float const *RESTRICT | pop | ||
) |
Definition at line 183 of file FieldAccessorsSinglePrecisionCUDA.cu.
References getLinearIndex(), and velocity().
|
inline |
Definition at line 113 of file FieldAccessorsDoublePrecision.h.
|
inline |
Definition at line 253 of file FieldAccessorsDoublePrecision.h.
|
inline |
Definition at line 89 of file FieldAccessorsDoublePrecision.h.
Referenced by walberla::LBWalberlaImpl< FloatType, Architecture >::set_node_population(), and walberla::LBWalberlaImpl< FloatType, Architecture >::set_slice_population().
|
inline |
Definition at line 220 of file FieldAccessorsDoublePrecision.h.
|
inline |
Definition at line 113 of file FieldAccessorsSinglePrecision.h.
|
inline |
Definition at line 253 of file FieldAccessorsSinglePrecision.h.
|
inline |
Definition at line 89 of file FieldAccessorsSinglePrecision.h.
|
inline |
Definition at line 220 of file FieldAccessorsSinglePrecision.h.
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.
Definition at line 259 of file FieldAccessorsDoublePrecisionCUDA.cu.
References kernel_set_vel().
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.
Definition at line 314 of file FieldAccessorsDoublePrecisionCUDA.cu.
References kernel_set_vel().
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.
Definition at line 246 of file FieldAccessorsDoublePrecisionCUDA.cu.
References kernel_set().
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.
Definition at line 302 of file FieldAccessorsDoublePrecisionCUDA.cu.
References kernel_set().
void walberla::lbm::accessor::Population::set | ( | gpu::GPUField< float > * | pdf_field, |
gpu::GPUField< float > * | velocity_field, | ||
gpu::GPUField< float > const * | force_field, | ||
std::array< float, 19u > const & | pop, | ||
Cell const & | cell | ||
) |
Set populations and recalculate velocities on a single cell.
Definition at line 259 of file FieldAccessorsSinglePrecisionCUDA.cu.
References kernel_set_vel().
void walberla::lbm::accessor::Population::set | ( | gpu::GPUField< float > * | pdf_field, |
gpu::GPUField< float > * | velocity_field, | ||
gpu::GPUField< float > const * | force_field, | ||
std::vector< float > const & | values, | ||
CellInterval const & | ci | ||
) |
Set populations and recalculate velocities on a cell interval.
Definition at line 314 of file FieldAccessorsSinglePrecisionCUDA.cu.
References kernel_set_vel().
void walberla::lbm::accessor::Population::set | ( | gpu::GPUField< float > * | pdf_field, |
std::array< float, 19u > const & | pop, | ||
Cell const & | cell | ||
) |
Set populations on a single cell.
Definition at line 246 of file FieldAccessorsSinglePrecisionCUDA.cu.
References kernel_set().
void walberla::lbm::accessor::Population::set | ( | gpu::GPUField< float > * | pdf_field, |
std::vector< float > const & | values, | ||
CellInterval const & | ci | ||
) |
Set populations on a cell interval.
Definition at line 302 of file FieldAccessorsSinglePrecisionCUDA.cu.
References kernel_set().