cuIBM
A GPU-based Immersed Boundary Method code
|
Implementation of the function that creates the Navier-Stokes solver. More...
#include "createSolver.h"
Go to the source code of this file.
Functions | |
template<typename memoryType > | |
NavierStokesSolver< memoryType > * | createSolver (parameterDB ¶mDB, domain &domInfo) |
Creates the appropriate Navier-Stokes solver. More... | |
Implementation of the function that creates the Navier-Stokes solver.
Definition in file createSolver.cu.
template NavierStokesSolver< device_memory > * createSolver | ( | parameterDB & | paramDB, |
domain & | domInfo | ||
) |
Creates the appropriate Navier-Stokes solver.
The type of solver depends on the IBM used. If there is no immersed body in the flow, an instance of the class NavierStokesSolver
is created. If TAIRA_COLONIUS
is the IBM used, an instance of the class TairaColoniusSolver
is created, that inherits from the class NavierStokesSolver
.
paramDB | database that contains all the simulation parameters |
domInfo | information about the computational grid |
Definition at line 26 of file createSolver.cu.
References createSolver(), DF_IMPROVED, DF_MODIFIED, DIFFUSION, DIRECT_FORCING, FADLUN_ET_AL, FEA_MODIFIED, DFImprovedSolver< memoryType >::name(), NAVIER_STOKES, SAIKI_BIRINGEN, and TAIRA_COLONIUS.
Referenced by createSolver().