CGpop mini-Application (2-sided MPI 1D data structure version) 0.1
Data Types | Modules | Functions/Subroutines | Variables
matrix_mod.F90 File Reference

Go to the source code of this file.

Data Types

type  Matrix_t


module  matrix_mod

Routines for multiplying a compressed sparse row matrix and a vector (the linear data structure in the solver).


subroutine, public ConvertStencil (Mat, A0, AN, AE, ANE)
 This subroutine forms the 9-point stencil into a matrix for the conjugate gradient solver. Note that only the diagonal A0 is time dependent, the non-zero pattern is static. This subroutine could therefore be simplified.
subroutine, public matvec (n, Mat, Y, X)
 This routine calculates the matrix vector product,.


type(Matrix_t), public A
 All Classes Namespaces Files Functions Variables