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

Some references #3924

Merged
merged 1 commit into from
Dec 12, 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
2 changes: 2 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,7 @@ Florian Wechsung..............<https://florianwechsung.github.io>

Yian Zeng

Umberto Zerbinati.............<https://www.uzerbinati.eu>

Fangyi Zhou

2 changes: 2 additions & 0 deletions firedrake/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -3061,6 +3061,8 @@ def Mesh(meshfile, **kwargs):
from ngsPETSc import FiredrakeMesh
except ImportError:
raise ImportError("Unable to import ngsPETSc. Please ensure that ngsolve is installed and available to Firedrake.")
from firedrake_citations import Citations
Citations().register("Betteridge2024")
netgen_flags = kwargs.get("netgen_flags", {"quad": False, "transform": None, "purify_to_tets": False})
netgen_firedrake_mesh = FiredrakeMesh(meshfile, netgen_flags, user_comm)
plex = netgen_firedrake_mesh.meshMap.petscPlex
Expand Down
16 changes: 16 additions & 0 deletions firedrake_citations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,3 +359,19 @@ def print_at_exit(cls):
year = {2024}
}
""")

Citations().add("Betteridge2024", """
@article{Betteridge2024,
doi = {10.21105/joss.07359},
url = {https://doi.org/10.21105/joss.07359},
year = {2024},
publisher = {The Open Journal},
volume = {9},
number = {104},
pages = {7359},
author = {Jack Betteridge and Patrick E. Farrell and Matthias Hochsteger
and Christopher Lackner and Joachim Schöberl and Stefano Zampini
and Umberto Zerbinati},
title = {ngsPETSc: A coupling between NETGEN/NGSolve and PETSc},
journal = {Journal of Open Source Software} }
""")
Loading