Skip to content

Commit 9750de5

Browse files
elastic-tube-1d: Remove unnecessary read statement (#232)
1 parent e472814 commit 9750de5

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

changelog-entries/232.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Removed unnecessary read statment in `elastic-tube-1d` [#232](https://github.com/precice/tutorials/pull/232).

elastic-tube-1d/fluid-cpp/src/FluidSolver.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,6 @@ int main(int argc, char **argv)
101101
interface.markActionFulfilled(actionWriteIterationCheckpoint());
102102
}
103103

104-
if (interface.isReadDataAvailable()) {
105-
interface.readBlockScalarData(crossSectionLengthID, chunkLength, vertexIDs.data(), crossSectionLength.data());
106-
}
107-
108104
fluidComputeSolutionSerial(
109105
// values from last time window
110106
velocity_old.data(), pressure_old.data(), crossSectionLength_old.data(),

0 commit comments

Comments
 (0)