Skip to content

Commit c99162d

Browse files
committed
DAMultizone-driver now calls iteration->SetRecording.
Instead of calling the solver->Recording directly. For Heat and Fea this is no difference at all as the iteration does nothing else than calling the solver routine. For Fluid there is an additional loop over iMesh for the FLOW_SOL and additional SetRecordings for Turb, WeaklyHeat, Radiation. Those are handeled by the multizone in the old implementation as well.
1 parent 101c591 commit c99162d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

SU2_CFD/src/drivers/CDiscAdjMultizoneDriver.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,8 @@ void CDiscAdjMultizoneDriver::SetRecording(RECORDING kind_recording, Kind_Tape t
576576
auto solver = solver_container[iZone][INST_0][MESH_0][iSol];
577577
if (solver && solver->GetAdjoint()) {
578578
for (unsigned short iMesh = 0; iMesh <= config_container[iZone]->GetnMGLevels(); iMesh++) {
579-
solver->SetRecording(geometry_container[iZone][INST_0][iMesh], config_container[iZone]);
579+
iteration_container[iZone][INST_0]->SetRecording(solver_container, geometry_container, config_container,
580+
iZone, INST_0, kind_recording);
580581
}
581582
}
582583
}

0 commit comments

Comments
 (0)