pylbm.algorithm.BaseAlgorithm.f2m_local

method

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

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

Parameters:
fSymPy Matrix

indexed objects for the distributed functions

mSymPy Matrix

indexed objects for the moments

with_rel_velocityboolean

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