Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(curvilinear): support python 3.8 #146

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions scripts/ex-gwf-curvilinear-90.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import pathlib as pl
from itertools import cycle
from math import sqrt
from typing import List

import flopy
import matplotlib.pyplot as plt
Expand Down Expand Up @@ -147,10 +148,10 @@ class DisvPropertyContainer:
nlay: int
ncpl: int
nvert: int
vertices: list[list] # [[iv, xv, yv], ...]
cell2d: list[list] # [[ic, xc, yc, ncvert, icvert], ...]
vertices: List[list] # [[iv, xv, yv], ...]
cell2d: List[list] # [[ic, xc, yc, ncvert, icvert], ...]
top: np.ndarray
botm: list[np.ndarray]
botm: List[np.ndarray]
origin_x: float
origin_y: float
rotation: float
Expand Down
7 changes: 4 additions & 3 deletions scripts/ex-gwf-curvilinear.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import os
import pathlib as pl
from itertools import cycle
from typing import List

import flopy
import matplotlib.pyplot as plt
Expand Down Expand Up @@ -146,10 +147,10 @@ class DisvPropertyContainer:
nlay: int
ncpl: int
nvert: int
vertices: list[list] # [[iv, xv, yv], ...]
cell2d: list[list] # [[ic, xc, yc, ncvert, icvert], ...]
vertices: List[list] # [[iv, xv, yv], ...]
cell2d: List[list] # [[ic, xc, yc, ncvert, icvert], ...]
top: np.ndarray
botm: list[np.ndarray]
botm: List[np.ndarray]
origin_x: float
origin_y: float
rotation: float
Expand Down
Loading