Skip to content
Snippets Groups Projects

Adaption to new API

Merged Markus Holzer requested to merge holzer/lbmpy:Fixes into master
1 file
+ 5
4
Compare changes
  • Side-by-side
  • Inline
@@ -35,10 +35,6 @@ from lbmpy.methods.centeredcumulant.galilean_correction import (
@@ -35,10 +35,6 @@ from lbmpy.methods.centeredcumulant.galilean_correction import (
add_galilean_correction,
add_galilean_correction,
get_galilean_correction_terms)
get_galilean_correction_terms)
# Filter out JobLib warnings. They are not usefull for use:
# https://github.com/joblib/joblib/issues/683
filterwarnings("ignore", message="Persisting input arguments took")
# ============================ Cached Transformations ================================================================
# ============================ Cached Transformations ================================================================
@@ -364,6 +360,11 @@ class CenteredCumulantBasedLbMethod(AbstractLbMethod):
@@ -364,6 +360,11 @@ class CenteredCumulantBasedLbMethod(AbstractLbMethod):
include_force_terms=False,
include_force_terms=False,
include_galilean_correction=True,
include_galilean_correction=True,
symbolic_relaxation_rates=False):
symbolic_relaxation_rates=False):
 
 
# Filter out JobLib warnings. They are not usefull for use:
 
# https://github.com/joblib/joblib/issues/683
 
filterwarnings("ignore", message="Persisting input arguments took")
 
stencil = self.stencil
stencil = self.stencil
f = self.pre_collision_pdf_symbols
f = self.pre_collision_pdf_symbols
density = self.zeroth_order_equilibrium_moment_symbol
density = self.zeroth_order_equilibrium_moment_symbol
Loading