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