cpraveen / dflo

Discontinuous Galerkin solver for compressible flows
54 stars 34 forks source link

QGauss leads to diagonal mass matrix. Simplify code. #4

Open cpraveen opened 10 years ago

cpraveen commented 10 years ago

With Gauss nodes for basis functions, mass matrix is diagonal but we use full matrix which is computationally inefficient. Exploit the diagonal structure of the mass matrix to speed-up computations.