Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Markus Holzer
lbmpy
Commits
171c85bf
Commit
171c85bf
authored
Aug 22, 2021
by
Frederik Hennig
Browse files
Fixed entropic method, part 2
parent
8c80738a
Pipeline
#33901
passed with stages
in 44 minutes and 57 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lbmpy/methods/centeredcumulant/centeredcumulantmethod.py
View file @
171c85bf
...
...
@@ -338,7 +338,7 @@ class CenteredCumulantBasedLbMethod(AbstractLbMethod):
cqe
=
conserved_quantity_equations
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
...
...
lbmpy/methods/momentbased/centralmomentbasedmethod.py
View file @
171c85bf
...
...
@@ -217,7 +217,7 @@ class CentralMomentBasedLbMethod(AbstractLbMethod):
cqe
=
conserved_quantity_equations
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
...
...
lbmpy/methods/momentbased/entropic_eq_srt.py
View file @
171c85bf
...
...
@@ -60,7 +60,7 @@ class EntropicEquilibriumSRT(AbstractLbMethod):
all_subexpressions
+=
AssignmentCollection
(
self
.
_forceModel
.
subs_dict_force
).
all_assignments
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
eq
=
[]
...
...
lbmpy/methods/momentbased/momentbasedmethod.py
View file @
171c85bf
...
...
@@ -216,7 +216,7 @@ class MomentBasedLbMethod(AbstractLbMethod):
cqe
=
conserved_quantity_equations
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment