MCPcopy
hub / github.com/tum-pbs/PhiFlow / __stack__

Method __stack__

phi/geom/_grid.py:191–193  ·  view source on GitHub ↗
(values: tuple, dim: Shape, **kwargs)

Source from the content-addressed store, hash-verified

189
190 @staticmethod
191 def __stack__(values: tuple, dim: Shape, **kwargs) -> 'Geometry':
192 from ._geom_ops import GeometryStack
193 return GeometryStack(math.layout(values, dim))
194
195 def __replace_dims__(self, dims: Tuple[str, ...], new_dims: Shape, **kwargs) -> 'UniformGrid':
196 resolution = math.rename_dims(self.resolution, dims, new_dims).spatial

Callers

nothing calls this directly

Calls 1

GeometryStackClass · 0.85

Tested by

no test coverage detected