pyLBM.storage.AOS.set_conserved_moments

AOS.set_conserved_moments(consm, nv_ptr)

add conserved moments information to have a direct access.

Parameters:

consm : dict

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

nv_ptr : list of int

store the location of the schemes