cuIBM
A GPU-based Immersed Boundary Method code
|
Definition of custom types required by the code. More...
#include <fstream>
#include <iostream>
#include <cmath>
#include <cstdio>
#include <cusp/csr_matrix.h>
#include <cusp/array1d.h>
#include <cusp/print.h>
#include <cusp/transpose.h>
#include <cusp/blas/blas.h>
#include <cusp/krylov/cg.h>
#include <cusp/krylov/bicgstab.h>
#include <cusp/krylov/gmres.h>
#include <cusp/multiply.h>
#include <cusp/elementwise.h>
#include <thrust/device_ptr.h>
#include "logger.h"
Go to the source code of this file.
Typedefs | |
typedef double | real |
Is a float or a double depending on the machine precision. More... | |
typedef cusp::coo_matrix< int, real, host_memory > | cooH |
COO matrix stored on the host. More... | |
typedef cusp::coo_matrix< int, real, device_memory > | cooD |
COO matrix stored on the device. More... | |
typedef cusp::csr_matrix< int, real, host_memory > | csrH |
CSR matrix stored on the host. More... | |
typedef cusp::csr_matrix< int, real, device_memory > | csrD |
CSR matrix stored on the device. More... | |
typedef cusp::array1d< real, host_memory > | vecH |
Cusp 1D array stored in the host. More... | |
typedef cusp::array1d< real, device_memory > | vecD |
Cusp 1D array stored in the device. More... | |
Enumerations | |
enum | bcType { DIRICHLET, NEUMANN, CONVECTIVE, PERIODIC, SPECIAL } |
Specifies the type of boundary condition. More... | |
enum | boundary { XMINUS, XPLUS, YMINUS, YPLUS } |
Specifies the location of the boundary. More... | |
enum | timeScheme { EULER_EXPLICIT, EULER_IMPLICIT, ADAMS_BASHFORTH_2, RUNGE_KUTTA_3, CRANK_NICOLSON } |
Specifies the numerical scheme used for time-integration. More... | |
enum | ibmScheme { NAVIER_STOKES, SAIKI_BIRINGEN, DIRECT_FORCING, FADLUN_ET_AL, TAIRA_COLONIUS, DIFFUSION, DF_MODIFIED, FEA_MODIFIED, DF_IMPROVED } |
Specifies the immersed boundary method used to solve the flow. More... | |
enum | interpolationType { CONSTANT, LINEAR, QUADRATIC } |
Specifies the type of interpolation. More... | |
enum | preconditionerType { NONE, DIAGONAL, SMOOTHED_AGGREGATION, AINV } |
Specifies the type of preconditioner. More... | |
Definition of custom types required by the code.
Definition in file types.h.
enum bcType |
enum boundary |
enum ibmScheme |
Specifies the immersed boundary method used to solve the flow.
enum interpolationType |
enum preconditionerType |
enum timeScheme |
Specifies the numerical scheme used for time-integration.