23 template <
typename memoryType>
27 cusp::coo_matrix<int, real, memoryType>
61 return "Taira & Colonius";
Declaration of the class NSWithBody.
virtual void updateSolverState()
Updates the location of the bodies and re-generates appropriate matrices.
virtual void writeData()
Calculates and writes forces acting on each immersed body at current time.
std::map< std::string, componentParameter > parameterDB
Map from a string to a componentParameter.
cusp::coo_matrix< int, real, memoryType > ET
Regularization matrix form the Lagrangian points to the Eulerian grid.
TairaColoniusSolver(parameterDB *pDB=NULL, domain *dInfo=NULL)
Constructor. Copies the database and information about the computational grid.
virtual std::string name()
Returns the name of the solver.
Stores information about the computational grid.
virtual void initialise()
Initializes the solvers.
virtual void generateBC2()
Solves the Navier-Stokes equations using the Immersed boundary method from Taira and Colonius (2007)...
virtual void calculateForce()
Calculates forces acting on each immersed body.
Generic Navier-Stokes solver in the presence of immersed boundaries.
cusp::coo_matrix< int, real, memoryType > E
Interpolation matrix from the Eulerian grid to the Lagrangian points.
virtual void generateQT()