pylbm.storage.Array.set_conserved_moments

method

Array.set_conserved_moments(consm)

add conserved moments information to have a direct access.

Parameters:
consmdict

set the name and the location of the conserved moments. The format is

key : the conserved moment (sympy symbol or string)

value : list of 2 integers

first item : the scheme number

second item : the index of the conserved moment in this scheme