We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c06e65e commit a458251Copy full SHA for a458251
Common/include/CConfig.hpp
@@ -2611,7 +2611,12 @@ class CConfig {
2611
* \brief Set the number of multigrid levels.
2612
* \param[in] val_nMGLevels - Index of the mesh were the CFL is applied
2613
*/
2614
- void SetMGLevels(unsigned short val_nMGLevels) { nMGLevels = val_nMGLevels; }
+ void SetMGLevels(unsigned short val_nMGLevels) {
2615
+ nMGLevels = val_nMGLevels;
2616
+ if( MGCycle == FULLMG_CYCLE ){
2617
+ SetFinestMesh(val_nMGLevels);
2618
+ }
2619
2620
2621
/*!
2622
* \brief Get the index of the finest grid.
0 commit comments