32 template <
typename memoryType>
36 cusp::coo_matrix<int, real, memoryType>
G;
59 return "Fadlun et al.";
73 template <
typename memoryType>
Direct forcing method proposed by Fadlun et al (2000), without explicit pressure added when the inter...
virtual std::string name()
Returns the name of the solver as a string.
A fully discrete formulation of the direct forcing method.
std::map< std::string, componentParameter > parameterDB
Map from a string to a componentParameter.
Definition of the class DFModifiedSolver.
Stores information about the computational grid.
virtual void generateQT()
Generates the matrix QT, Q and G for FadlunEtAlSolver.
Declaration of the class DirectForcingSolver.
virtual std::string name()
Returns the name of the solver as a string.
FadlunEtAlSolver(parameterDB *pDB=NULL, domain *dInfo=NULL)
Constructor. Copies the database and information about the computational grid.
Direct forcing method proposed by Fadlun et al (2000).
virtual void calculateExplicitLambdaTerms()
Add the pressure gradient to the right hand side of the momentum equation.
virtual void generateC()
Generates the matrix for the Poisson equation.
cusp::coo_matrix< int, real, memoryType > G
gradient operator
A fully discrete formulation of the direct forcing method, with an explicit pressure term in the inte...