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

#include <CSolverFactory.hpp>

Public Member Functions

 CSolverFactory ()=delete
 Deleted constructor to avoid creating instances of this class.
 

Static Public Member Functions

static CSolver ** CreateSolverContainer (MAIN_SOLVER kindSolver, CConfig *config, CGeometry *geometry, int iMGLevel)
 Create the solver container by allocating the primary solver and secondary solvers like heat solver, turbulent solver etc.
 
static SolverMetaData GetSolverMeta (const CSolver *solver)
 Return a sub solver object that contains information about the solver allocated at a specific memory address.
 
static void ClearSolverMeta ()
 Clear the solver meta data.
 

Constructor & Destructor Documentation

◆ CSolverFactory()

CSolverFactory::CSolverFactory ( )
delete

Deleted constructor to avoid creating instances of this class.

Member Function Documentation

◆ ClearSolverMeta()

static void CSolverFactory::ClearSolverMeta ( )
inlinestatic

Clear the solver meta data.

◆ CreateSolverContainer()

CSolver ** CSolverFactory::CreateSolverContainer ( MAIN_SOLVER  kindSolver,
CConfig *  config,
CGeometry *  geometry,
int  iMGLevel 
)
static

Create the solver container by allocating the primary solver and secondary solvers like heat solver, turbulent solver etc.

Parameters
[in]kindSolver- The kind of primary solver
[in]config- The configuration
[in]geometry- The geometry definition
[in]iMGLevel- The multigrid level
Returns
- Pointer to the allocated solver array

◆ GetSolverMeta()

static SolverMetaData CSolverFactory::GetSolverMeta ( const CSolver *  solver)
inlinestatic

Return a sub solver object that contains information about the solver allocated at a specific memory address.

Parameters
[in]solver- Address of the solver
Returns
sub solver info struct.

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