Skip to content

Commit 69387e7

Browse files
committed
fixes
1 parent 7d11bbe commit 69387e7

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

SU2_CFD/include/solvers/CSolver.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4340,12 +4340,11 @@ class CSolver {
43404340

43414341
/*!
43424342
* \brief Save snapshot or POD data using libROM
4343-
* \param[in] solver - Container vector with all the solutions.
43444343
* \param[in] geometry - Geometrical definition of the problem.
43454344
* \param[in] config - Definition of the particular problem.
43464345
* \param[in] converged - Whether or not solution has converged.
43474346
*/
4348-
void SavelibROM(CSolver** solver, CGeometry *geometry, CConfig *config, bool converged);
4347+
void SavelibROM(CGeometry *geometry, CConfig *config, bool converged);
43494348

43504349
protected:
43514350
/*!

SU2_CFD/src/drivers/CSinglezoneDriver.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ void CSinglezoneDriver::StartSolver() {
9696

9797
/*--- Save iteration solution for libROM ---*/
9898
if (config_container[MESH_0]->GetSave_libROM()) {
99-
solver_container[ZONE_0][INST_0][MESH_0][FLOW_SOL]->SavelibROM(solver_container[ZONE_0][INST_0][MESH_0],
100-
geometry_container[ZONE_0][INST_0][MESH_0],
99+
solver_container[ZONE_0][INST_0][MESH_0][FLOW_SOL]->SavelibROM(geometry_container[ZONE_0][INST_0][MESH_0],
101100
config_container[ZONE_0], StopCalc);
102101
}
103102

SU2_CFD/src/solvers/CSolver.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4209,7 +4209,7 @@ void CSolver::BasicLoadRestart(CGeometry *geometry, const CConfig *config, const
42094209
}
42104210
}
42114211

4212-
void CSolver::SavelibROM(CSolver** solver, CGeometry *geometry, CConfig *config, bool converged) {
4212+
void CSolver::SavelibROM(CGeometry *geometry, CConfig *config, bool converged) {
42134213

42144214
#if defined(HAVE_LIBROM) && !defined(CODI_FORWARD_TYPE) && !defined(CODI_REVERSE_TYPE)
42154215
const bool unsteady = config->GetTime_Domain();
@@ -4247,9 +4247,6 @@ void CSolver::SavelibROM(CSolver** solver, CGeometry *geometry, CConfig *config,
42474247
svd_options, incremental,
42484248
filename));
42494249

4250-
// Print nodes for each rank for now
4251-
std::cout << "nPointDomain: " << nPointDomain << " for rank: " << rank << std::endl;
4252-
42534250
// Save mesh ordering
42544251
std::ofstream f;
42554252
f.open(filename + "_mesh_" + to_string(rank) + ".csv");

0 commit comments

Comments
 (0)