Documentation 6b54b78464
Loading...
Searching...
No Matches
CMultiGridIntegration Class Referencefinal

Class for time integration using a multigrid method. More...

#include <CMultiGridIntegration.hpp>

Inheritance diagram for CMultiGridIntegration:
[legend]

Public Member Functions

 CMultiGridIntegration ()
 Constructor of the class.
 
void MultiGrid_Iteration (CGeometry ****geometry, CSolver *****solver_container, CNumerics ******numerics_container, CConfig **config, unsigned short RunTime_EqSystem, unsigned short iZone, unsigned short iInst) override
 This subroutine calls the MultiGrid_Cycle and also prepare the multigrid levels and the monitoring.
 
void MonitorFullMG_Startup (const vector< pair< string, passivedouble > > &convFields, const CConfig *config) override
 Record CONV_FIELD on the active Full-MG level and decide whether it is done.
 
bool GetFullMG_CFLRamp () const override
 Whether the Full-MG startup is still ramping the CFL of the finest grid.
 
unsigned long GetLevelStartIter () const override
 InnerIter at which the currently active Full-MG level became active.
 
- Public Member Functions inherited from CIntegration
 CIntegration ()
 Constructor of the class.
 
virtual ~CIntegration (void)=default
 Destructor of the class.
 
void SetDualTime_Geometry (CGeometry *geometry, CSolver *mesh_solver, const CConfig *config, unsigned short iMesh)
 Save the geometry at different time steps.
 
virtual void SetDualTime_Solver (const CGeometry *geometry, CSolver *solver, const CConfig *config, unsigned short iMesh)
 Save the solution at different time steps, and reset certain fields for the next timestep.
 
virtual void SingleGrid_Iteration (CGeometry ****geometry, CSolver *****solver_container, CNumerics ******numerics_container, CConfig **config, unsigned short RunTime_EqSystem, unsigned short iZone, unsigned short iInst)
 A virtual member.
 
virtual void Structural_Iteration (CGeometry ****geometry, CSolver *****solver_container, CNumerics ******numerics_container, CConfig **config, unsigned short RunTime_EqSystem, unsigned short iZone, unsigned short iInst)
 A virtual member.
 

Additional Inherited Members

- Protected Member Functions inherited from CIntegration
void Space_Integration (CGeometry *geometry, CSolver **solver_container, CNumerics **numerics, CConfig *config, unsigned short iMesh, unsigned short iRKStep, unsigned short RunTime_EqSystem)
 Do the space integration of the numerical system.
 
void Time_Integration (CGeometry *geometry, CSolver **solver_container, CConfig *config, unsigned short iRKStep, unsigned short RunTime_EqSystem)
 Do the time integration (explicit or implicit) of the numerical system.
 
- Protected Attributes inherited from CIntegration
int rank
 MPI Rank.
 
int size
 MPI Size.
 

Detailed Description

Class for time integration using a multigrid method.

Author
F. Palacios

Constructor & Destructor Documentation

◆ CMultiGridIntegration()

CMultiGridIntegration::CMultiGridIntegration ( )

Constructor of the class.

Member Function Documentation

◆ GetFullMG_CFLRamp()

bool CMultiGridIntegration::GetFullMG_CFLRamp ( ) const
inlineoverridevirtual

Whether the Full-MG startup is still ramping the CFL of the finest grid.

Reimplemented from CIntegration.

◆ GetLevelStartIter()

unsigned long CMultiGridIntegration::GetLevelStartIter ( ) const
inlineoverridevirtual

InnerIter at which the currently active Full-MG level became active.

Reimplemented from CIntegration.

◆ MonitorFullMG_Startup()

void CMultiGridIntegration::MonitorFullMG_Startup ( const vector< pair< string, passivedouble > > &  convFields,
const CConfig *  config 
)
overridevirtual

Record CONV_FIELD on the active Full-MG level and decide whether it is done.

Parameters
[in]convFields- Name and log10 value of each monitored residual field.
[in]config- Definition of the particular problem.

Reimplemented from CIntegration.

◆ MultiGrid_Iteration()

void CMultiGridIntegration::MultiGrid_Iteration ( CGeometry ****  geometry,
CSolver *****  solver_container,
CNumerics ******  numerics_container,
CConfig **  config,
unsigned short  RunTime_EqSystem,
unsigned short  iZone,
unsigned short  iInst 
)
overridevirtual

This subroutine calls the MultiGrid_Cycle and also prepare the multigrid levels and the monitoring.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]solver_container- Container vector with all the solutions.
[in]numerics_container- Description of the numerical method (the way in which the equations are solved).
[in]config- Definition of the particular problem.
[in]RunTime_EqSystem- System of equations which is going to be solved.
[in]Iteration- Current iteration.

Reimplemented from CIntegration.


The documentation for this class was generated from the following files: