cuIBM
A GPU-based Immersed Boundary Method code
DFImprovedSolver.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include "DirectForcingSolver.h"
10 
11 
16 template <typename memoryType>
17 class DFImprovedSolver : public DirectForcingSolver<memoryType>
18 {
19 private:
20  // generate the modified divergence operator
21  virtual void generateQT();
22 
23 public:
24  // constructor -- get simulation parameters and grid
25  DFImprovedSolver(parameterDB *pDB=NULL, domain *dInfo=NULL);
26 
30  virtual std::string name()
31  {
32  return "Direct Forcing Improved";
33  }
34 
35 }; // DFImprovedSolver
Second-order fully-discrete direct forcing method.
virtual std::string name()
Return the name of solver.
A fully discrete formulation of the direct forcing method.
std::map< std::string, componentParameter > parameterDB
Map from a string to a componentParameter.
Definition: parameterDB.h:64
Stores information about the computational grid.
Definition: domain.h:16
virtual void generateQT()
Compute the modified divergence operator.
Declaration of the class DirectForcingSolver.
DFImprovedSolver(parameterDB *pDB=NULL, domain *dInfo=NULL)
Constructor – get simulation parameters and grid.