foamlib 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foamlib
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A Python interface for interacting with OpenFOAM
5
5
  Author-email: "Gabriel S. Gerlero" <ggerlero@cimec.unl.edu.ar>
6
6
  Project-URL: Homepage, https://github.com/gerlero/foamlib
@@ -1,4 +1,4 @@
1
- __version__ = "0.2.0"
1
+ __version__ = "0.2.1"
2
2
 
3
3
  from ._cases import FoamCase, AsyncFoamCase, FoamCaseBase
4
4
  from ._dictionaries import FoamFile, FoamFieldFile
@@ -205,6 +205,9 @@ class FoamFieldFile(FoamFile):
205
205
  )
206
206
  return ret
207
207
 
208
+ def __repr__(self) -> str:
209
+ return "FoamFieldFile.BoundariesDictionary"
210
+
208
211
  class BoundaryDictionary(_FoamDictionary):
209
212
  """An OpenFOAM dictionary representing a boundary condition as a mutable mapping."""
210
213
 
@@ -278,9 +281,6 @@ class FoamFieldFile(FoamFile):
278
281
  else:
279
282
  self._setitem(key, value)
280
283
 
281
- def __repr__(self) -> str:
282
- return "FoamFieldFile.BoundariesDictionary"
283
-
284
284
  @property
285
285
  def dimensions(self) -> FoamFile.DimensionSet:
286
286
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foamlib
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A Python interface for interacting with OpenFOAM
5
5
  Author-email: "Gabriel S. Gerlero" <ggerlero@cimec.unl.edu.ar>
6
6
  Project-URL: Homepage, https://github.com/gerlero/foamlib
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes