Documentation 6b54b78464
Loading...
Searching...
No Matches
CIntegration Class Reference

Main class for doing the space integration, time integration, and monitoring of a system of Partial Differential Equations (PDE). More...

#include <CIntegration.hpp>

Inheritance diagram for CIntegration:
[legend]

Public Member Functions

 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 MultiGrid_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 MonitorFullMG_Startup (const vector< pair< string, passivedouble > > &convFields, const CConfig *config)
 Report the convergence fields on the active mesh level to a Full-MG startup.
 
virtual bool GetFullMG_CFLRamp () const
 Whether the Full-MG startup is still ramping the CFL of the finest grid.
 
virtual unsigned long GetLevelStartIter () const
 InnerIter at which the currently active Full-MG level became active.
 
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.
 

Protected Member Functions

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

int rank
 MPI Rank.
 
int size
 MPI Size.
 

Detailed Description

Main class for doing the space integration, time integration, and monitoring of a system of Partial Differential Equations (PDE).

Author
F. Palacios

Constructor & Destructor Documentation

◆ CIntegration()

CIntegration::CIntegration ( )

Constructor of the class.

◆ ~CIntegration()

virtual CIntegration::~CIntegration ( void  )
virtualdefault

Destructor of the class.

Member Function Documentation

◆ GetFullMG_CFLRamp()

virtual bool CIntegration::GetFullMG_CFLRamp ( ) const
inlinevirtual

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

Reimplemented in CMultiGridIntegration.

◆ GetLevelStartIter()

virtual unsigned long CIntegration::GetLevelStartIter ( ) const
inlinevirtual

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

Reimplemented in CMultiGridIntegration.

◆ MonitorFullMG_Startup()

virtual void CIntegration::MonitorFullMG_Startup ( const vector< pair< string, passivedouble > > &  convFields,
const CConfig *  config 
)
inlinevirtual

Report the convergence fields on the active mesh level to a Full-MG startup.

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

Reimplemented in CMultiGridIntegration.

◆ MultiGrid_Iteration()

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

A virtual member.

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.

Reimplemented in CMultiGridIntegration, and CNewtonIntegration.

◆ SetDualTime_Geometry()

void CIntegration::SetDualTime_Geometry ( CGeometry *  geometry,
CSolver *  mesh_solver,
const CConfig *  config,
unsigned short  iMesh 
)

Save the geometry at different time steps.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]solver- Mesh solver.
[in]config- Definition of the particular problem.

◆ SetDualTime_Solver()

void CIntegration::SetDualTime_Solver ( const CGeometry *  geometry,
CSolver *  solver,
const CConfig *  config,
unsigned short  iMesh 
)
virtual

Save the solution at different time steps, and reset certain fields for the next timestep.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]solver- Some solver.
[in]config- Definition of the particular problem.

Reimplemented in CStructuralIntegration.

◆ SingleGrid_Iteration()

virtual void CIntegration::SingleGrid_Iteration ( CGeometry ****  geometry,
CSolver *****  solver_container,
CNumerics ******  numerics_container,
CConfig **  config,
unsigned short  RunTime_EqSystem,
unsigned short  iZone,
unsigned short  iInst 
)
inlinevirtual

A virtual member.

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.

Reimplemented in CFEM_DG_Integration, and CSingleGridIntegration.

◆ Space_Integration()

void CIntegration::Space_Integration ( CGeometry *  geometry,
CSolver **  solver_container,
CNumerics **  numerics,
CConfig *  config,
unsigned short  iMesh,
unsigned short  iRKStep,
unsigned short  RunTime_EqSystem 
)
protected

Do the space integration of the numerical system.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]solver_container- Container vector with all the solutions.
[in]solver- Description of the numerical method.
[in]config- Definition of the particular problem.
[in]iMesh- Index of the mesh in multigrid computations.
[in]iRKStep- Current step of the Runge-Kutta iteration.
[in]RunTime_EqSystem- System of equations which is going to be solved.

TODO: Check if this is really needed.

◆ Structural_Iteration()

virtual void CIntegration::Structural_Iteration ( CGeometry ****  geometry,
CSolver *****  solver_container,
CNumerics ******  numerics_container,
CConfig **  config,
unsigned short  RunTime_EqSystem,
unsigned short  iZone,
unsigned short  iInst 
)
inlinevirtual

A virtual member.

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.

Reimplemented in CStructuralIntegration.

◆ Time_Integration()

void CIntegration::Time_Integration ( CGeometry *  geometry,
CSolver **  solver_container,
CConfig *  config,
unsigned short  iRKStep,
unsigned short  RunTime_EqSystem 
)
protected

Do the time integration (explicit or implicit) of the numerical system.

Parameters
[in]geometry- Geometrical definition of the problem.
[in]solver_container- Container vector with all the solutions.
[in]config- Definition of the particular problem.
[in]iRKStep- Current step of the Runge-Kutta iteration.
[in]RunTime_EqSystem- System of equations which is going to be solved.

Member Data Documentation

◆ rank

int CIntegration::rank
protected

MPI Rank.

◆ size

int CIntegration::size
protected

MPI Size.


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