File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ()));
You can’t perform that action at this time.
0 commit comments