64 auto f =
block->getData<field::GhostLayerField<float, 3>>(fID);
65 auto j =
block->getData<field::GhostLayerField<float, 13>>(jID);
67 auto &rho_lb = this->rho_lb_;
70 WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(f->nrOfGhostLayers()))
71 float *
RESTRICT _data_f = f->dataAt(-1, -1, -1, 0);
72 WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(j->nrOfGhostLayers()))
73 float *
RESTRICT const _data_j = j->dataAt(-1, -1, -1, 0);
74 WALBERLA_ASSERT_GREATER_EQUAL(f->xSizeWithGhostLayer(), int64_t(int64_c(f->xSize()) + 2))
75 const int64_t _size_f_0 = int64_t(int64_c(f->xSize()) + 2);
76 WALBERLA_ASSERT_GREATER_EQUAL(f->ySizeWithGhostLayer(), int64_t(int64_c(f->ySize()) + 2))
77 const int64_t _size_f_1 = int64_t(int64_c(f->ySize()) + 2);
78 WALBERLA_ASSERT_GREATER_EQUAL(f->zSizeWithGhostLayer(), int64_t(int64_c(f->zSize()) + 2))
79 const int64_t _size_f_2 = int64_t(int64_c(f->zSize()) + 2);
80 const int64_t _stride_f_0 = int64_t(f->xStride());
81 const int64_t _stride_f_1 = int64_t(f->yStride());
82 const int64_t _stride_f_2 = int64_t(f->zStride());
83 const int64_t _stride_f_3 = int64_t(1 * int64_t(f->fStride()));
84 const int64_t _stride_j_0 = int64_t(j->xStride());
85 const int64_t _stride_j_1 = int64_t(j->yStride());
86 const int64_t _stride_j_2 = int64_t(j->zStride());
87 const int64_t _stride_j_3 = int64_t(1 * int64_t(j->fStride()));
88 internal_910e9429dc8b77dbed969a16d3f227fb::frictioncouplingkernel_single_precision_frictioncouplingkernel_single_precision(D, _data_f, _data_j, _size_f_0, _size_f_1, _size_f_2, _stride_f_0, _stride_f_1, _stride_f_2, _stride_f_3, _stride_j_0, _stride_j_1, _stride_j_2, _stride_j_3, kT, rho_lb);
93 CellInterval ci = globalCellInterval;
94 CellInterval blockBB = blocks->getBlockCellBB(*
block);
95 blockBB.expand(ghostLayers);
96 ci.intersect(blockBB);
97 blocks->transformGlobalToBlockLocalCellInterval(ci, *
block);
101 auto f =
block->getData<field::GhostLayerField<float, 3>>(fID);
102 auto j =
block->getData<field::GhostLayerField<float, 13>>(jID);
104 auto &rho_lb = this->rho_lb_;
106 auto &kT = this->kT_;
107 WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(f->nrOfGhostLayers()))
108 WALBERLA_ASSERT_GREATER_EQUAL(ci.yMin() - 1, -int_c(f->nrOfGhostLayers()))
109 WALBERLA_ASSERT_GREATER_EQUAL(ci.zMin() - 1, -int_c(f->nrOfGhostLayers()))
110 float *
RESTRICT _data_f = f->dataAt(ci.xMin() - 1, ci.yMin() - 1, ci.zMin() - 1, 0);
111 WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(j->nrOfGhostLayers()))
112 WALBERLA_ASSERT_GREATER_EQUAL(ci.yMin() - 1, -int_c(j->nrOfGhostLayers()))
113 WALBERLA_ASSERT_GREATER_EQUAL(ci.zMin() - 1, -int_c(j->nrOfGhostLayers()))
114 float *
RESTRICT const _data_j = j->dataAt(ci.xMin() - 1, ci.yMin() - 1, ci.zMin() - 1, 0);
115 WALBERLA_ASSERT_GREATER_EQUAL(f->xSizeWithGhostLayer(), int64_t(int64_c(ci.xSize()) + 2))
116 const int64_t _size_f_0 = int64_t(int64_c(ci.xSize()) + 2);
117 WALBERLA_ASSERT_GREATER_EQUAL(f->ySizeWithGhostLayer(), int64_t(int64_c(ci.ySize()) + 2))
118 const int64_t _size_f_1 = int64_t(int64_c(ci.ySize()) + 2);
119 WALBERLA_ASSERT_GREATER_EQUAL(f->zSizeWithGhostLayer(), int64_t(int64_c(ci.zSize()) + 2))
120 const int64_t _size_f_2 = int64_t(int64_c(ci.zSize()) + 2);
121 const int64_t _stride_f_0 = int64_t(f->xStride());
122 const int64_t _stride_f_1 = int64_t(f->yStride());
123 const int64_t _stride_f_2 = int64_t(f->zStride());
124 const int64_t _stride_f_3 = int64_t(1 * int64_t(f->fStride()));
125 const int64_t _stride_j_0 = int64_t(j->xStride());
126 const int64_t _stride_j_1 = int64_t(j->yStride());
127 const int64_t _stride_j_2 = int64_t(j->zStride());
128 const int64_t _stride_j_3 = int64_t(1 * int64_t(j->fStride()));
129 internal_910e9429dc8b77dbed969a16d3f227fb::frictioncouplingkernel_single_precision_frictioncouplingkernel_single_precision(D, _data_f, _data_j, _size_f_0, _size_f_1, _size_f_2, _stride_f_0, _stride_f_1, _stride_f_2, _stride_f_3, _stride_j_0, _stride_j_1, _stride_j_2, _stride_j_3, kT, rho_lb);
static FUNC_PREFIX void frictioncouplingkernel_single_precision_frictioncouplingkernel_single_precision(float D, float *RESTRICT _data_f, float *RESTRICT const _data_j, int64_t const _size_f_0, int64_t const _size_f_1, int64_t const _size_f_2, int64_t const _stride_f_0, int64_t const _stride_f_1, int64_t const _stride_f_2, int64_t const _stride_f_3, int64_t const _stride_j_0, int64_t const _stride_j_1, int64_t const _stride_j_2, int64_t const _stride_j_3, float kT, float rho_lb)