Skip to content

Commit 515e4ff

Browse files
committed
Missing LB/EK kernels
1 parent ba3d315 commit 515e4ff

20 files changed

+318
-318
lines changed

src/walberla_bridge/src/electrokinetics/generated_kernels/AdvectiveFluxKernel_double_precision.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,9 +1625,9 @@ static FUNC_PREFIX void advectivefluxkernel_double_precision_advectivefluxkernel
16251625
} // namespace internal_5255e1c780a944d646f270232511968b
16261626

16271627
void AdvectiveFluxKernel_double_precision::run(IBlock *block) {
1628+
auto rho = block->getData<field::GhostLayerField<double, 1>>(rhoID);
16281629
auto u = block->getData<field::GhostLayerField<double, 3>>(uID);
16291630
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
1630-
auto rho = block->getData<field::GhostLayerField<double, 1>>(rhoID);
16311631

16321632
WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(j->nrOfGhostLayers()));
16331633
double *RESTRICT const _data_j = j->dataAt(-1, -1, -1, 0);
@@ -1664,9 +1664,9 @@ void AdvectiveFluxKernel_double_precision::runOnCellInterval(const shared_ptr<St
16641664
if (ci.empty())
16651665
return;
16661666

1667+
auto rho = block->getData<field::GhostLayerField<double, 1>>(rhoID);
16671668
auto u = block->getData<field::GhostLayerField<double, 3>>(uID);
16681669
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
1669-
auto rho = block->getData<field::GhostLayerField<double, 1>>(rhoID);
16701670

16711671
WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(j->nrOfGhostLayers()));
16721672
WALBERLA_ASSERT_GREATER_EQUAL(ci.yMin() - 1, -int_c(j->nrOfGhostLayers()));

src/walberla_bridge/src/electrokinetics/generated_kernels/AdvectiveFluxKernel_single_precision.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,8 +1625,8 @@ static FUNC_PREFIX void advectivefluxkernel_single_precision_advectivefluxkernel
16251625
} // namespace internal_47df4b171f276b8c3a55fc08d45e245e
16261626

16271627
void AdvectiveFluxKernel_single_precision::run(IBlock *block) {
1628-
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
16291628
auto j = block->getData<field::GhostLayerField<float, 13>>(jID);
1629+
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
16301630
auto u = block->getData<field::GhostLayerField<float, 3>>(uID);
16311631

16321632
WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(j->nrOfGhostLayers()));
@@ -1664,8 +1664,8 @@ void AdvectiveFluxKernel_single_precision::runOnCellInterval(const shared_ptr<St
16641664
if (ci.empty())
16651665
return;
16661666

1667-
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
16681667
auto j = block->getData<field::GhostLayerField<float, 13>>(jID);
1668+
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
16691669
auto u = block->getData<field::GhostLayerField<float, 3>>(uID);
16701670

16711671
WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(j->nrOfGhostLayers()));

src/walberla_bridge/src/electrokinetics/generated_kernels/ContinuityKernel_double_precision.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ static FUNC_PREFIX void continuitykernel_double_precision_continuitykernel_doubl
108108
} // namespace internal_5c5e903f8ea7925cf790d7c2318b2c56
109109

110110
void ContinuityKernel_double_precision::run(IBlock *block) {
111-
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
112111
auto rho = block->getData<field::GhostLayerField<double, 1>>(rhoID);
112+
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
113113

114114
WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(j->nrOfGhostLayers()));
115115
double *RESTRICT const _data_j = j->dataAt(-1, -1, -1, 0);
@@ -140,8 +140,8 @@ void ContinuityKernel_double_precision::runOnCellInterval(const shared_ptr<Struc
140140
if (ci.empty())
141141
return;
142142

143-
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
144143
auto rho = block->getData<field::GhostLayerField<double, 1>>(rhoID);
144+
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
145145

146146
WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(j->nrOfGhostLayers()));
147147
WALBERLA_ASSERT_GREATER_EQUAL(ci.yMin() - 1, -int_c(j->nrOfGhostLayers()));

src/walberla_bridge/src/electrokinetics/generated_kernels/ContinuityKernel_single_precision.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ static FUNC_PREFIX void continuitykernel_single_precision_continuitykernel_singl
108108
} // namespace internal_990034b4e4dd57d2802b4bcb5f716e46
109109

110110
void ContinuityKernel_single_precision::run(IBlock *block) {
111-
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
112111
auto j = block->getData<field::GhostLayerField<float, 13>>(jID);
112+
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
113113

114114
WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(j->nrOfGhostLayers()));
115115
float *RESTRICT const _data_j = j->dataAt(-1, -1, -1, 0);
@@ -140,8 +140,8 @@ void ContinuityKernel_single_precision::runOnCellInterval(const shared_ptr<Struc
140140
if (ci.empty())
141141
return;
142142

143-
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
144143
auto j = block->getData<field::GhostLayerField<float, 13>>(jID);
144+
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
145145

146146
WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(j->nrOfGhostLayers()));
147147
WALBERLA_ASSERT_GREATER_EQUAL(ci.yMin() - 1, -int_c(j->nrOfGhostLayers()));

src/walberla_bridge/src/electrokinetics/generated_kernels/DiffusiveFluxKernelWithElectrostatic_double_precision.cpp

Lines changed: 122 additions & 122 deletions
Large diffs are not rendered by default.

src/walberla_bridge/src/electrokinetics/generated_kernels/DiffusiveFluxKernelWithElectrostatic_single_precision.cpp

Lines changed: 124 additions & 124 deletions
Large diffs are not rendered by default.

src/walberla_bridge/src/electrokinetics/generated_kernels/DiffusiveFluxKernel_double_precision.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,8 +800,8 @@ static FUNC_PREFIX void diffusivefluxkernel_double_precision_diffusivefluxkernel
800800
} // namespace internal_e5e04d1215f19faa51f3c55db6d456a2
801801

802802
void DiffusiveFluxKernel_double_precision::run(IBlock *block) {
803-
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
804803
auto rho = block->getData<field::GhostLayerField<double, 1>>(rhoID);
804+
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
805805

806806
auto &D = this->D_;
807807
WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(j->nrOfGhostLayers()));
@@ -833,8 +833,8 @@ void DiffusiveFluxKernel_double_precision::runOnCellInterval(const shared_ptr<St
833833
if (ci.empty())
834834
return;
835835

836-
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
837836
auto rho = block->getData<field::GhostLayerField<double, 1>>(rhoID);
837+
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
838838

839839
auto &D = this->D_;
840840
WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(j->nrOfGhostLayers()));

src/walberla_bridge/src/electrokinetics/generated_kernels/DiffusiveFluxKernel_single_precision.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,8 +800,8 @@ static FUNC_PREFIX void diffusivefluxkernel_single_precision_diffusivefluxkernel
800800
} // namespace internal_2fab63cfdbacde4ac630f257442231a8
801801

802802
void DiffusiveFluxKernel_single_precision::run(IBlock *block) {
803-
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
804803
auto j = block->getData<field::GhostLayerField<float, 13>>(jID);
804+
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
805805

806806
auto &D = this->D_;
807807
WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(j->nrOfGhostLayers()));
@@ -833,8 +833,8 @@ void DiffusiveFluxKernel_single_precision::runOnCellInterval(const shared_ptr<St
833833
if (ci.empty())
834834
return;
835835

836-
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
837836
auto j = block->getData<field::GhostLayerField<float, 13>>(jID);
837+
auto rho = block->getData<field::GhostLayerField<float, 1>>(rhoID);
838838

839839
auto &D = this->D_;
840840
WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(j->nrOfGhostLayers()));

src/walberla_bridge/src/electrokinetics/generated_kernels/FrictionCouplingKernel_double_precision.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ void FrictionCouplingKernel_double_precision::run(IBlock *block) {
117117
auto f = block->getData<field::GhostLayerField<double, 3>>(fID);
118118
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
119119

120-
auto &kT = this->kT_;
121120
auto &D = this->D_;
121+
auto &kT = this->kT_;
122122
WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(f->nrOfGhostLayers()));
123123
double *RESTRICT _data_f = f->dataAt(-1, -1, -1, 0);
124124
WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(j->nrOfGhostLayers()));
@@ -152,8 +152,8 @@ void FrictionCouplingKernel_double_precision::runOnCellInterval(const shared_ptr
152152
auto f = block->getData<field::GhostLayerField<double, 3>>(fID);
153153
auto j = block->getData<field::GhostLayerField<double, 13>>(jID);
154154

155-
auto &kT = this->kT_;
156155
auto &D = this->D_;
156+
auto &kT = this->kT_;
157157
WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(f->nrOfGhostLayers()));
158158
WALBERLA_ASSERT_GREATER_EQUAL(ci.yMin() - 1, -int_c(f->nrOfGhostLayers()));
159159
WALBERLA_ASSERT_GREATER_EQUAL(ci.zMin() - 1, -int_c(f->nrOfGhostLayers()));

src/walberla_bridge/src/electrokinetics/generated_kernels/FrictionCouplingKernel_single_precision.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ void FrictionCouplingKernel_single_precision::run(IBlock *block) {
117117
auto j = block->getData<field::GhostLayerField<float, 13>>(jID);
118118
auto f = block->getData<field::GhostLayerField<float, 3>>(fID);
119119

120-
auto &D = this->D_;
121120
auto &kT = this->kT_;
121+
auto &D = this->D_;
122122
WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(f->nrOfGhostLayers()));
123123
float *RESTRICT _data_f = f->dataAt(-1, -1, -1, 0);
124124
WALBERLA_ASSERT_GREATER_EQUAL(-1, -int_c(j->nrOfGhostLayers()));
@@ -152,8 +152,8 @@ void FrictionCouplingKernel_single_precision::runOnCellInterval(const shared_ptr
152152
auto j = block->getData<field::GhostLayerField<float, 13>>(jID);
153153
auto f = block->getData<field::GhostLayerField<float, 3>>(fID);
154154

155-
auto &D = this->D_;
156155
auto &kT = this->kT_;
156+
auto &D = this->D_;
157157
WALBERLA_ASSERT_GREATER_EQUAL(ci.xMin() - 1, -int_c(f->nrOfGhostLayers()));
158158
WALBERLA_ASSERT_GREATER_EQUAL(ci.yMin() - 1, -int_c(f->nrOfGhostLayers()));
159159
WALBERLA_ASSERT_GREATER_EQUAL(ci.zMin() - 1, -int_c(f->nrOfGhostLayers()));

0 commit comments

Comments
 (0)