Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve segmentation faults for FULLMG_CYCLE #1362

Merged
merged 10 commits into from
May 17, 2022
2 changes: 1 addition & 1 deletion SU2_CFD/include/integration/CIntegration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class CIntegration {
size; /*!< \brief MPI Size. */
bool Convergence, /*!< \brief To indicate if the flow solver (direct, adjoint, or linearized) has converged or not. */
Convergence_FSI, /*!< \brief To indicate if the FSI problem has converged or not. */
Convergence_FullMG; /*!< \brief Initial value of the residual to evaluate the convergence level. */
Convergence_FullMG; /*!< \brief To indicate if the full multigrid has converged or not. */

/*!
* \brief Do the space integration of the numerical system.
Expand Down
2 changes: 1 addition & 1 deletion SU2_CFD/src/solvers/CTurbSSTSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ CTurbSSTSolver::CTurbSSTSolver(CGeometry *geometry, CConfig *config, unsigned sh

/*--- Single grid simulation ---*/

if (iMesh == MESH_0) {
if (iMesh == MESH_0 || config->GetMGCycle() == FULLMG_CYCLE) {
pcarruscag marked this conversation as resolved.
Show resolved Hide resolved

/*--- Define some auxiliary vector related with the residual ---*/

Expand Down