diff --git a/changelog-entries/232.md b/changelog-entries/232.md new file mode 100644 index 000000000..232f4a92c --- /dev/null +++ b/changelog-entries/232.md @@ -0,0 +1 @@ +- Removed unnecessary read statment in `elastic-tube-1d` [#232](https://github.com/precice/tutorials/pull/232). diff --git a/elastic-tube-1d/fluid-cpp/src/FluidSolver.cpp b/elastic-tube-1d/fluid-cpp/src/FluidSolver.cpp index 5010c2cf7..88c99d551 100644 --- a/elastic-tube-1d/fluid-cpp/src/FluidSolver.cpp +++ b/elastic-tube-1d/fluid-cpp/src/FluidSolver.cpp @@ -101,10 +101,6 @@ int main(int argc, char **argv) interface.markActionFulfilled(actionWriteIterationCheckpoint()); } - if (interface.isReadDataAvailable()) { - interface.readBlockScalarData(crossSectionLengthID, chunkLength, vertexIDs.data(), crossSectionLength.data()); - } - fluidComputeSolutionSerial( // values from last time window velocity_old.data(), pressure_old.data(), crossSectionLength_old.data(),