Skip to content

Commit

Permalink
Merge pull request #11 from nick-jt:main
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 699291742
john-qingwang committed Nov 22, 2024
2 parents ae0cf63 + 094769a commit c1f5bbe
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions swirl_lm/utility/grid_parametrization.py
Original file line number Diff line number Diff line change
@@ -773,13 +773,6 @@ def chunk_limits(self) -> List[Tuple[int, int]]:
llimit += chunk
return chunk_limits

@property
def meshgrid(self):
xs = np.linspace(0, self.lx, self.cx * self.core_nx)
ys = np.linspace(0, self.ly, self.cy * self.core_ny)
zs = np.linspace(0, self.lz, self.cz * self.core_nz)
return np.meshgrid(xs, ys, zs, indexing='ij')

@property
def num_replicas(self):
return self.cx * self.cy * self.cz

0 comments on commit c1f5bbe

Please sign in to comment.