Skip to content

Commit 30e35db

Browse files
authored
Update Adapter.C
1 parent fca62f8 commit 30e35db

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Adapter.C

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,9 +1446,7 @@ void preciceAdapter::Adapter::readMeshVolCheckpoint()
14461446
// Reload V, V0, V00
14471447
if (volumeCheckpointState_ == VolumeCheckpointState::V_AND_V0_AVAILABLE || volumeCheckpointState_ == VolumeCheckpointState::ALL_AVAILABLE)
14481448
{
1449-
// Actually we don't need to reload V, as it is re-calculated in every time-step
1450-
// const_cast<volScalarField::Internal&>(mesh_.V()) = *(meshVolFieldCopies_.at(0));
1451-
// DEBUG(adapterInfo("Read mesh volume " + meshVolFieldCopies_.at(0)->name()));
1449+
// We do not need to reload V, as it is re-calculated in every time-step
14521450

14531451
const_cast<volScalarField::Internal&>(mesh_.V0()) = *(meshVolFieldCopies_.at(0));
14541452
DEBUG(adapterInfo("Read mesh volume " + meshVolFieldCopies_.at(0)->name()));

0 commit comments

Comments
 (0)