pylbm.algorithm.BaseAlgorithm.m2f_local

method

BaseAlgorithm.m2f_local(m, f, with_rel_velocity=False)

Return symbolic expression which computes the distributed functions from the moments.

Parameters:
mSymPy Matrix

indexed objects for the moments

fSymPy Matrix

indexed objects for the distributed functions

with_rel_velocityboolean

check if the scheme uses relative velocity. If yes, the conserved moments must be computed first. (default is False)