Skip to content

Commit

Permalink
consistent naming for Moments. Macroscopic is now an alias for zeroth…
Browse files Browse the repository at this point in the history
… and first moments.
  • Loading branch information
hsalehipour committed Aug 18, 2024
1 parent b15bb05 commit 4cecd27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xlb/operator/macroscopic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from xlb.operator.macroscopic.macroscopic import Macroscopic as Macroscopic
from xlb.operator.macroscopic.zero_first_moments import FirstAndZerothMoment as Macroscopic
from xlb.operator.macroscopic.second_moment import SecondMoment as SecondMoment
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
from xlb.operator.operator import Operator


class Macroscopic(Operator):
class FirstAndZerothMoment(Operator):
"""
Base class for all macroscopic operators
A class to compute first and zeroth moments of distribution functions.
TODO: Currently this is only used for the standard rho and u moments.
In the future, this should be extended to include higher order moments
Expand Down

0 comments on commit 4cecd27

Please sign in to comment.