pyLBM.Scheme.create_moments_matrices

Scheme.create_moments_matrices()

Create the moments matrices M and M^{-1} used to transform the repartition functions into the moments

Three versions of these matrices are computed:

  • a sympy version M and invM for each scheme
  • a numerical version Mnum and invMnum for each scheme
  • a global numerical version MnumGlob and invMnumGlob for all the schemes