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

Mesh smoothing #320

Merged
merged 3 commits into from
Jan 31, 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
309 changes: 0 additions & 309 deletions gplugins/gmsh/scratch/mesh3D.py

This file was deleted.

2 changes: 2 additions & 0 deletions gplugins/gmsh/uz_xsection_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def uz_xsection_mesh(
n_threads: int = get_number_of_cores(),
gmsh_version: float | None = None,
interface_delimiter: str = "___",
optimization_flags: tuple[tuple[str, int]] | None = None,
**kwargs,
):
"""Mesh uz cross-section of component along line u = [[x1,y1] , [x2,y2]].
Expand Down Expand Up @@ -391,6 +392,7 @@ def uz_xsection_mesh(
filename=filename,
verbosity=verbosity,
interface_delimiter=interface_delimiter,
optimization_flags=optimization_flags,
)


Expand Down
2 changes: 2 additions & 0 deletions gplugins/gmsh/xy_xsection_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def xy_xsection_mesh(
port_names: list[str] | None = None,
gmsh_version: float | None = None,
layer_port_delimiter: str | None = None,
optimization_flags: tuple[tuple[str, int]] | None = None,
):
"""Mesh xy cross-section of component at height z.

Expand Down Expand Up @@ -172,6 +173,7 @@ def xy_xsection_mesh(
gmsh_version=gmsh_version,
filename=filename,
verbosity=verbosity,
optimization_flags=optimization_flags,
)


Expand Down
2 changes: 2 additions & 0 deletions gplugins/gmsh/xyz_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def xyz_mesh(
edge_ports: List[str] | None = None,
gmsh_version: float | None = None,
layer_port_delimiter: str | None = None,
optimization_flags: tuple[tuple[str, int]] | None = None,
) -> bool:
"""Full 3D mesh of component.

Expand Down Expand Up @@ -308,6 +309,7 @@ def xyz_mesh(
gmsh_version=gmsh_version,
filename=filename,
verbosity=verbosity,
optimization_flags=optimization_flags,
)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ gmsh = [
"pyvista<=0.40",
"trimesh",
"shapely",
"meshwell>=1.0.0,<1.1.0"
"meshwell>=1.0.5,<1.1.0"
]
klayout = [
"kfactory[git,ipy]>=0.9.3,<0.11",
Expand Down
Loading