Skip to content
Snippets Groups Projects
Commit 1efaf4fe authored by Martin Bauer's avatar Martin Bauer
Browse files

More tests

parent 59b25a5f
No related branches found
No related tags found
No related merge requests found
...@@ -459,7 +459,7 @@ def monomial_to_polynomial_transformation_matrix(monomials, polynomials): ...@@ -459,7 +459,7 @@ def monomial_to_polynomial_transformation_matrix(monomials, polynomials):
def moment_equality_table(stencil, discrete_equilibrium=None, continuous_equilibrium=None, def moment_equality_table(stencil, discrete_equilibrium=None, continuous_equilibrium=None,
max_order=4, truncate_order=None): max_order=4, truncate_order=3):
""" """
Creates a table showing which moments of a discrete stencil/equilibrium coincide with the Creates a table showing which moments of a discrete stencil/equilibrium coincide with the
corresponding continuous moments corresponding continuous moments
...@@ -530,7 +530,7 @@ def moment_equality_table(stencil, discrete_equilibrium=None, continuous_equilib ...@@ -530,7 +530,7 @@ def moment_equality_table(stencil, discrete_equilibrium=None, continuous_equilib
return table_display return table_display
def moment_equality_table_by_stencil(name_to_stencil_dict, moments, truncate_order=None): def moment_equality_table_by_stencil(name_to_stencil_dict, moments, truncate_order=3):
""" """
Creates a table for display in IPython notebooks that shows which moments agree between continuous and Creates a table for display in IPython notebooks that shows which moments agree between continuous and
discrete equilibrium, group by stencils discrete equilibrium, group by stencils
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment