We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5986311 commit 4a437c5Copy full SHA for 4a437c5
src/adjoint/DARegression/DARegression.C
@@ -233,6 +233,7 @@ void DARegression::calcInputFeatures()
233
}
234
else if (inputName == "ReWall")
235
{
236
+#ifndef SolidDASolver
237
// wall distance based Reynolds number
238
const volScalarField& y = mesh_.thisDb().lookupObject<volScalarField>("yWall");
239
const volScalarField& k = mesh_.thisDb().lookupObject<volScalarField>("k");
@@ -244,6 +245,7 @@ void DARegression::calcInputFeatures()
244
245
features_[idxI][cellI] = (val + inputShift_[idxI]) * inputScale_[idxI];
246
247
features_[idxI].correctBoundaryConditions();
248
+#endif
249
250
else if (inputName == "CoP")
251
0 commit comments