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

Parallelise islands boundary nodes read #107

Open
brey opened this issue Jul 4, 2022 · 0 comments
Open

Parallelise islands boundary nodes read #107

brey opened this issue Jul 4, 2022 · 0 comments

Comments

@brey
Copy link
Collaborator

brey commented Jul 4, 2022

For high resolution global coastlines this becomes a bottleneck due to the very large number of island geometries:

for row in ibs.itertuples(index=True, name="Pandas"):
inodes, xyz = gmsh.model.mesh.getNodesForPhysicalGroup(dim=getattr(row, "dim"), tag=getattr(row, "tag"))
db = pd.DataFrame({"node": inodes - 1})
db["type"] = "island"
db["id"] = -(getattr(row, "Index") + 1)
bounds.append(db)

brey added a commit to brey/pyPoseidon-dev that referenced this issue Sep 8, 2022
brey added a commit to brey/pyPoseidon-dev that referenced this issue Sep 24, 2022
pmav99 pushed a commit to pmav99/pyPoseidon that referenced this issue Jan 4, 2023
pmav99 pushed a commit to brey/pyPoseidon-dev that referenced this issue Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant