This MR updates the cumulant-based LB method to better fit into our updated modelling framework. Several components are changed:
CumulantBasedLbMethod
symmetric_central_moment_forcing
for use with the cumulant method and implemented it for Simple
, Luo
, Guo
and He
BinomialChimeraTransform
as a new central moment transform class.create_with_equilibrium
, and are thus open for use with arbitrary custom equilibriaThe changes to the derivation did increase the FLOP count of the cumulant method slightly.
insert_logs
to eliminate exponentials and logarithms in the cumulant-based methodexpand_post_collision_central_moments
to simplify post-collision equationsinsert_conserved_quantity_products
and insert_half_force
to simplify expressions in central moment and cumulant based methods that depend only on conserved quantitites or the body force