33#include <core/DataTypes.h>
34#include <core/cell/Cell.h>
35#include <core/cell/CellInterval.h>
36#include <core/math/Matrix3.h>
37#include <core/math/Vector3.h>
39#include <gpu/GPUField.h>
51float get(gpu::GPUField<float>
const *field,
Cell const &cell);
53void set(gpu::GPUField<float> *field,
float value,
Cell const &cell);
55void add(gpu::GPUField<float> *field,
float value,
Cell const &cell);
57void initialize(gpu::GPUField<float> *field,
float value);
59void add_to_all(gpu::GPUField<float> *field,
float value);
61std::vector<float>
get(gpu::GPUField<float>
const *
ield,
62 CellInterval
const &
ci);
64void set(gpu::GPUField<float> *field, std::vector<float>
const &
values,
65 CellInterval
const &
ci);
83std::vector<float>
get(gpu::GPUField<float>
const *
vec_field,
84 CellInterval
const &
ci);
87 CellInterval
const &
ci);
93std::array<float, 13>
get(gpu::GPUField<float>
const *
flux_field,
98 std::array<float, 13>
const &
flux);
100std::vector<float>
get(gpu::GPUField<float>
const *
flux_field,
101 CellInterval
const &
ci);
109 CellInterval
const &
ci);
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.
auto get_vector(GhostLayerField< double, uint_t{13u}> const *flux_field, Cell const &cell)
void initialize(GhostLayerField< double, uint_t{13u}> *flux_field, std::array< double, 13 > const &values)
auto get(GhostLayerField< double, uint_t{13u}> const *flux_field, Cell const &cell)
void add_to_all(GhostLayerField< double, 1u > *scalar_field, double const &value)
void initialize(GhostLayerField< double, 1u > *scalar_field, double const &value)
void set(GhostLayerField< double, 1u > *scalar_field, double const &value, Cell const &cell)
auto get(GhostLayerField< double, 1u > const *scalar_field, Cell const &cell)
void add(GhostLayerField< double, 1u > *scalar_field, double const &value, Cell const &cell)
void set(GhostLayerField< double, uint_t{3u}> *vec_field, Vector3< double > const &vec, Cell const &cell)
void initialize(GhostLayerField< double, uint_t{3u}> *vec_field, Vector3< double > const &vec)
void add(GhostLayerField< double, uint_t{3u}> *vec_field, Vector3< double > const &vec, Cell const &cell)
void add_to_all(GhostLayerField< double, uint_t{3u}> *vec_field, Vector3< double > const &vec)
auto get(GhostLayerField< double, uint_t{3u}> const *vec_field, Cell const &cell)
\file PackInfoPdfDoublePrecision.cpp \author pystencils