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

Functions

double get (GhostLayerField< double, uint_t{19u}> const *pdf_field, Cell const &cell)
 
void set (GhostLayerField< double, uint_t{19u}> *pdf_field, double const rho_in, Cell const &cell)
 
std::vector< double > 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)
 
__global__ void kernel_get (gpu::FieldAccessor< double > pdf, double *RESTRICT rho_out)
 
__global__ void kernel_set (gpu::FieldAccessor< double > pdf, double const *RESTRICT rho_in)
 
double get (gpu::GPUField< double > const *pdf_field, Cell const &cell)
 
void set (gpu::GPUField< double > *pdf_field, const double rho, Cell const &cell)
 
std::vector< double > get (gpu::GPUField< double > const *pdf_field, CellInterval const &ci)
 
void set (gpu::GPUField< double > *pdf_field, std::vector< double > const &values, CellInterval const &ci)
 
float get (GhostLayerField< float, uint_t{19u}> const *pdf_field, Cell const &cell)
 
void set (GhostLayerField< float, uint_t{19u}> *pdf_field, float const rho_in, Cell const &cell)
 
std::vector< float > 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)
 
__global__ void kernel_get (gpu::FieldAccessor< float > pdf, float *RESTRICT rho_out)
 
__global__ void kernel_set (gpu::FieldAccessor< float > pdf, float const *RESTRICT rho_in)
 
float get (gpu::GPUField< float > const *pdf_field, Cell const &cell)
 
void set (gpu::GPUField< float > *pdf_field, const float rho, Cell const &cell)
 
std::vector< float > get (gpu::GPUField< float > const *pdf_field, CellInterval const &ci)
 
void set (gpu::GPUField< float > *pdf_field, std::vector< float > const &values, CellInterval const &ci)
 

Function Documentation

◆ get() [1/8]

double walberla::lbm::accessor::Density::get ( GhostLayerField< double, uint_t{19u}> const *  pdf_field,
Cell const &  cell 
)
inline

◆ get() [2/8]

std::vector< double > walberla::lbm::accessor::Density::get ( GhostLayerField< double, uint_t{19u}> const *  pdf_field,
CellInterval const &  ci 
)
inline

Definition at line 681 of file FieldAccessorsDoublePrecision.h.

◆ get() [3/8]

float walberla::lbm::accessor::Density::get ( GhostLayerField< float, uint_t{19u}> const *  pdf_field,
Cell const &  cell 
)
inline

Definition at line 611 of file FieldAccessorsSinglePrecision.h.

◆ get() [4/8]

std::vector< float > walberla::lbm::accessor::Density::get ( GhostLayerField< float, uint_t{19u}> const *  pdf_field,
CellInterval const &  ci 
)
inline

Definition at line 684 of file FieldAccessorsSinglePrecision.h.

◆ get() [5/8]

double walberla::lbm::accessor::Density::get ( gpu::GPUField< double > const *  pdf_field,
Cell const &  cell 
)

Definition at line 745 of file FieldAccessorsDoublePrecisionCUDA.cu.

References kernel_get().

◆ get() [6/8]

std::vector< double > walberla::lbm::accessor::Density::get ( gpu::GPUField< double > const *  pdf_field,
CellInterval const &  ci 
)

Definition at line 772 of file FieldAccessorsDoublePrecisionCUDA.cu.

References kernel_get().

◆ get() [7/8]

float walberla::lbm::accessor::Density::get ( gpu::GPUField< float > const *  pdf_field,
Cell const &  cell 
)

Definition at line 745 of file FieldAccessorsSinglePrecisionCUDA.cu.

References kernel_get().

◆ get() [8/8]

std::vector< float > walberla::lbm::accessor::Density::get ( gpu::GPUField< float > const *  pdf_field,
CellInterval const &  ci 
)

Definition at line 772 of file FieldAccessorsSinglePrecisionCUDA.cu.

References kernel_get().

◆ kernel_get() [1/2]

__global__ void walberla::lbm::accessor::Density::kernel_get ( gpu::FieldAccessor< double >  pdf,
double *RESTRICT  rho_out 
)

Definition at line 668 of file FieldAccessorsDoublePrecisionCUDA.cu.

References getLinearIndex().

Referenced by get(), get(), get(), and get().

◆ kernel_get() [2/2]

__global__ void walberla::lbm::accessor::Density::kernel_get ( gpu::FieldAccessor< float >  pdf,
float *RESTRICT  rho_out 
)

Definition at line 668 of file FieldAccessorsSinglePrecisionCUDA.cu.

References getLinearIndex().

◆ kernel_set() [1/2]

__global__ void walberla::lbm::accessor::Density::kernel_set ( gpu::FieldAccessor< double >  pdf,
double const *RESTRICT  rho_in 
)

◆ kernel_set() [2/2]

__global__ void walberla::lbm::accessor::Density::kernel_set ( gpu::FieldAccessor< float >  pdf,
float const *RESTRICT  rho_in 
)

◆ set() [1/8]

void walberla::lbm::accessor::Density::set ( GhostLayerField< double, uint_t{19u}> *  pdf_field,
double const  rho_in,
Cell const &  cell 
)
inline

◆ set() [2/8]

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

Definition at line 720 of file FieldAccessorsDoublePrecision.h.

◆ set() [3/8]

void walberla::lbm::accessor::Density::set ( GhostLayerField< float, uint_t{19u}> *  pdf_field,
float const  rho_in,
Cell const &  cell 
)
inline

Definition at line 641 of file FieldAccessorsSinglePrecision.h.

◆ set() [4/8]

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

Definition at line 723 of file FieldAccessorsSinglePrecision.h.

◆ set() [5/8]

void walberla::lbm::accessor::Density::set ( gpu::GPUField< double > *  pdf_field,
const double  rho,
Cell const &  cell 
)

Definition at line 759 of file FieldAccessorsDoublePrecisionCUDA.cu.

References kernel_set().

◆ set() [6/8]

void walberla::lbm::accessor::Density::set ( gpu::GPUField< double > *  pdf_field,
std::vector< double > const &  values,
CellInterval const &  ci 
)

Definition at line 786 of file FieldAccessorsDoublePrecisionCUDA.cu.

References kernel_set().

◆ set() [7/8]

void walberla::lbm::accessor::Density::set ( gpu::GPUField< float > *  pdf_field,
const float  rho,
Cell const &  cell 
)

Definition at line 759 of file FieldAccessorsSinglePrecisionCUDA.cu.

References kernel_set().

◆ set() [8/8]

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

Definition at line 786 of file FieldAccessorsSinglePrecisionCUDA.cu.

References kernel_set().