ABSTRACT

C.1 Vector and Matrix for Grids As discussed in Sections 3.4.4 and 3.4.5, the grid-based solver requires a linear system and its solver to compute stable diffusion and pressure Poisson equations. To form a linear system, we need vector and matrix data structures for grids. Especially, the matrix should be a sparse matrix (Section 1.3.3).