Commit 171c85bf authored by Frederik Hennig's avatar Frederik Hennig
Browse files

Fixed entropic method, part 2

parent 8c80738a
Pipeline #33901 passed with stages
in 44 minutes and 57 seconds
...@@ -338,7 +338,7 @@ class CenteredCumulantBasedLbMethod(AbstractLbMethod): ...@@ -338,7 +338,7 @@ class CenteredCumulantBasedLbMethod(AbstractLbMethod):
cqe = conserved_quantity_equations cqe = conserved_quantity_equations
if cqe is None: if cqe is None:
cqe = self._conserved_quantity_computation.equilibrium_input_equations_from_pdfs(f) cqe = self._conserved_quantity_computation.equilibrium_input_equations_from_pdfs(f, False)
return cqe.bound_symbols return cqe.bound_symbols
......
...@@ -217,7 +217,7 @@ class CentralMomentBasedLbMethod(AbstractLbMethod): ...@@ -217,7 +217,7 @@ class CentralMomentBasedLbMethod(AbstractLbMethod):
cqe = conserved_quantity_equations cqe = conserved_quantity_equations
if cqe is None: if cqe is None:
cqe = self._conserved_quantity_computation.equilibrium_input_equations_from_pdfs(f) cqe = self._conserved_quantity_computation.equilibrium_input_equations_from_pdfs(f, False)
return cqe.bound_symbols return cqe.bound_symbols
......
...@@ -60,7 +60,7 @@ class EntropicEquilibriumSRT(AbstractLbMethod): ...@@ -60,7 +60,7 @@ class EntropicEquilibriumSRT(AbstractLbMethod):
all_subexpressions += AssignmentCollection(self._forceModel.subs_dict_force).all_assignments all_subexpressions += AssignmentCollection(self._forceModel.subs_dict_force).all_assignments
if conserved_quantity_equations is None: if conserved_quantity_equations is None:
conserved_quantity_equations = self._cqc.equilibrium_input_equations_from_pdfs(f) conserved_quantity_equations = self._cqc.equilibrium_input_equations_from_pdfs(f, False)
all_subexpressions += conserved_quantity_equations.all_assignments all_subexpressions += conserved_quantity_equations.all_assignments
eq = [] eq = []
......
...@@ -216,7 +216,7 @@ class MomentBasedLbMethod(AbstractLbMethod): ...@@ -216,7 +216,7 @@ class MomentBasedLbMethod(AbstractLbMethod):
cqe = conserved_quantity_equations cqe = conserved_quantity_equations
if cqe is None: if cqe is None:
cqe = self._conservedQuantityComputation.equilibrium_input_equations_from_pdfs(f) cqe = self._conservedQuantityComputation.equilibrium_input_equations_from_pdfs(f, False)
return cqe.bound_symbols return cqe.bound_symbols
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment