68 auto f =
block->getData<field::GhostLayerField<float, 3>>(fID);
69 auto j =
block->getData<field::GhostLayerField<float, 13>>(jID);
73 auto &rho_lb = this->rho_lb_;
74 WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(f->nrOfGhostLayers()))
75 float *
RESTRICT _data_f = f->dataAt(-1, -1, -1, 0);
76 WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(j->nrOfGhostLayers()))
77 float *
RESTRICT const _data_j = j->dataAt(-1, -1, -1, 0);
78 WALBERLA_ASSERT_GREATER_EQUAL(f->xSizeWithGhostLayer(), int64_t(int64_c(f->xSize()) + 2))
79 const int64_t _size_f_0 = int64_t(int64_c(f->xSize()) + 2);
80 WALBERLA_ASSERT_GREATER_EQUAL(f->ySizeWithGhostLayer(), int64_t(int64_c(f->ySize()) + 2))
81 const int64_t _size_f_1 = int64_t(int64_c(f->ySize()) + 2);
82 WALBERLA_ASSERT_GREATER_EQUAL(f->zSizeWithGhostLayer(), int64_t(int64_c(f->zSize()) + 2))
83 const int64_t _size_f_2 = int64_t(int64_c(f->zSize()) + 2);
84 const int64_t _stride_f_0 = int64_t(f->xStride());
85 const int64_t _stride_f_1 = int64_t(f->yStride());
86 const int64_t _stride_f_2 = int64_t(f->zStride());
87 const int64_t _stride_f_3 = int64_t(1 * int64_t(f->fStride()));
88 const int64_t _stride_j_0 = int64_t(j->xStride());
89 const int64_t _stride_j_1 = int64_t(j->yStride());
90 const int64_t _stride_j_2 = int64_t(j->zStride());
91 const int64_t _stride_j_3 = int64_t(1 * int64_t(j->fStride()));
92 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);
97 CellInterval ci = globalCellInterval;
98 CellInterval blockBB = blocks->getBlockCellBB(*
block);
99 blockBB.expand(ghostLayers);
100 ci.intersect(blockBB);
101 blocks->transformGlobalToBlockLocalCellInterval(ci, *
block);
105 auto f =
block->getData<field::GhostLayerField<float, 3>>(fID);
106 auto j =
block->getData<field::GhostLayerField<float, 13>>(jID);
108 auto &kT = this->kT_;
110 auto &rho_lb = this->rho_lb_;
111 WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(f->nrOfGhostLayers()))
112 WALBERLA_ASSERT_GREATER_EQUAL(ci.yMin() - 1, -int_c(f->nrOfGhostLayers()))
113 WALBERLA_ASSERT_GREATER_EQUAL(ci.zMin() - 1, -int_c(f->nrOfGhostLayers()))
114 float *
RESTRICT _data_f = f->dataAt(ci.xMin() - 1, ci.yMin() - 1, ci.zMin() - 1, 0);
115 WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(j->nrOfGhostLayers()))
116 WALBERLA_ASSERT_GREATER_EQUAL(ci.yMin() - 1, -int_c(j->nrOfGhostLayers()))
117 WALBERLA_ASSERT_GREATER_EQUAL(ci.zMin() - 1, -int_c(j->nrOfGhostLayers()))
118 float *
RESTRICT const _data_j = j->dataAt(ci.xMin() - 1, ci.yMin() - 1, ci.zMin() - 1, 0);
119 WALBERLA_ASSERT_GREATER_EQUAL(f->xSizeWithGhostLayer(), int64_t(int64_c(ci.xSize()) + 2))
120 const int64_t _size_f_0 = int64_t(int64_c(ci.xSize()) + 2);
121 WALBERLA_ASSERT_GREATER_EQUAL(f->ySizeWithGhostLayer(), int64_t(int64_c(ci.ySize()) + 2))
122 const int64_t _size_f_1 = int64_t(int64_c(ci.ySize()) + 2);
123 WALBERLA_ASSERT_GREATER_EQUAL(f->zSizeWithGhostLayer(), int64_t(int64_c(ci.zSize()) + 2))
124 const int64_t _size_f_2 = int64_t(int64_c(ci.zSize()) + 2);
125 const int64_t _stride_f_0 = int64_t(f->xStride());
126 const int64_t _stride_f_1 = int64_t(f->yStride());
127 const int64_t _stride_f_2 = int64_t(f->zStride());
128 const int64_t _stride_f_3 = int64_t(1 * int64_t(f->fStride()));
129 const int64_t _stride_j_0 = int64_t(j->xStride());
130 const int64_t _stride_j_1 = int64_t(j->yStride());
131 const int64_t _stride_j_2 = int64_t(j->zStride());
132 const int64_t _stride_j_3 = int64_t(1 * int64_t(j->fStride()));
133 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)