14 #include <cusp/csr_matrix.h> 15 #include <cusp/array1d.h> 16 #include <cusp/print.h> 17 #include <cusp/transpose.h> 18 #include <cusp/blas/blas.h> 19 #include <cusp/krylov/cg.h> 20 #include <cusp/krylov/bicgstab.h> 21 #include <cusp/krylov/gmres.h> 22 #include <cusp/multiply.h> 23 #include <cusp/elementwise.h> 24 #include <thrust/device_ptr.h> 119 using cusp::device_memory;
120 using cusp::host_memory;
126 typedef cusp::coo_matrix<int, real, host_memory>
cooH;
133 typedef cusp::coo_matrix<int, real, device_memory>
cooD;
140 typedef cusp::csr_matrix<int, real, host_memory>
csrH;
147 typedef cusp::csr_matrix<int, real, device_memory>
csrD;
154 typedef cusp::array1d<real, host_memory>
vecH;
161 typedef cusp::array1d<real, device_memory>
vecD;
double real
Is a float or a double depending on the machine precision.
cusp::csr_matrix< int, real, host_memory > csrH
CSR matrix stored on the host.
Dirichlet boundary condition.
fully discrete direct forcing method
Neumann boundary condition.
ibmScheme
Specifies the immersed boundary method used to solve the flow.
implicit Euler method (first order)
timeScheme
Specifies the numerical scheme used for time-integration.
preconditionerType
Specifies the type of preconditioner.
smoothed aggregation preconditioner
cusp::array1d< real, host_memory > vecH
Cusp 1D array stored in the host.
no immersed bodies - Perot (1993)
convective boundary condition
interpolationType
Specifies the type of interpolation.
cusp::coo_matrix< int, real, device_memory > cooD
COO matrix stored on the device.
periodic boundary condition
approximate inverse preconditioner
cusp::csr_matrix< int, real, device_memory > csrD
CSR matrix stored on the device.
bcType
Specifies the type of boundary condition.
boundary
Specifies the location of the boundary.
Definition of the class Logger.
second-order Adams-Bashforth scheme
third-order low storage Runge-Kutta method
Crank-Nicolson scheme (second order)
cusp::coo_matrix< int, real, host_memory > cooH
COO matrix stored on the host.
explicit Euler method (first order)
cusp::array1d< real, device_memory > vecD
Cusp 1D array stored in the device.