-
Notifications
You must be signed in to change notification settings - Fork 5
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
JDBetteridge/refactor curvefield #48
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
89a710e
WIP
JDBetteridge 814ff66
WIP: almost loop free
JDBetteridge 4bb63af
Additional tidying, difficult numpy indexing rules
JDBetteridge 0f27605
Left breakpoint behind
JDBetteridge 3b1e1b5
Lint
JDBetteridge f3ad982
More notes
JDBetteridge 37e96d9
This is a mess, revert and try again
JDBetteridge adbb85f
Revert "This is a mess, revert and try again"
JDBetteridge 9e1e9cd
Tolerance needs to be dropped for cell location
JDBetteridge e45542c
Remove even more parallel communication
JDBetteridge 7b4f590
Add PETSc event decorators
JDBetteridge 6e97b7f
Merge branch 'main' into JDBetteridge/refactor_curvefield
JDBetteridge 3831f7c
Prefer np.zeros over np.ndarray
JDBetteridge bfa6487
Update install.rst to include @JDBetteridge as an author
UZerbinati d986ee0
Different tollerance for permutation and barycenter location
UZerbinati 0ecbfe7
Scipy dependencies in setup.py
UZerbinati 9824948
Update meshes.py
UZerbinati 14f2719
Move stuff to pyproject.toml
JDBetteridge ecb0a2d
Explicit names
JDBetteridge 12b5ddd
Update hierarchies for interface change
JDBetteridge 4874b86
Remove slow cdist as scipy is now a hard dependency
JDBetteridge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,41 @@ | ||
[project] | ||
name = "ngsPETSc" | ||
version = "0.0.5" | ||
description = "NGSolve/Netgen interface to PETSc." | ||
readme = "README.md" | ||
authors = [ | ||
{name = "Umberto Zerbinati", email = "[email protected]"}, | ||
{name = "Patrick E. Farrell", email = "[email protected]"}, | ||
{name = "Stefano Zampini", email = "[email protected]"}, | ||
{name = "Jack Betteridge", email = "[email protected]"}, | ||
] | ||
maintainers = [ | ||
{name = "Umberto Zerbinati", email = "[email protected]"}, | ||
] | ||
license = {file = "LICENSE.txt"} | ||
dependencies = [ | ||
"mpi4py", | ||
"numpy", | ||
"scipy", | ||
] | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Development Status :: 3 - Alpha", | ||
] | ||
|
||
[project.urls] | ||
Documentation = "https://ngspetsc.readthedocs.io/en/latest/" | ||
Repository = "https://github.com/NGSolve/ngsPETSc" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pytest", | ||
"pylint", | ||
] | ||
|
||
[build-system] | ||
requires = ['setuptools>=42'] | ||
build-backend = 'setuptools.build_meta' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
import setuptools, os | ||
|
||
with open("README.md", "r", encoding = "utf-8") as fh: | ||
long_description = fh.read() | ||
|
||
if 'NGSPETSC_NO_INSTALL_REQUIRED' in os.environ: | ||
install_requires = [] | ||
elif 'NGS_FROM_SOURCE' in os.environ: | ||
install_requires = [ | ||
'petsc4py', | ||
'mpi4py', | ||
'numpy', | ||
'scipy', | ||
'pytest', #For testing | ||
'pylint', #For formatting | ||
] | ||
|
@@ -19,28 +17,12 @@ | |
'ngsolve', | ||
'petsc4py', | ||
'mpi4py', | ||
'scipy', | ||
'pytest', #For testing | ||
'pylint', #For formatting | ||
] | ||
|
||
setuptools.setup( | ||
name = "ngsPETSc", | ||
version = "0.0.5", | ||
author = "Umberto Zerbinati", | ||
author_email = "[email protected]", | ||
description = "NGSolve/Netgen interface to PETSc.", | ||
long_description = long_description, | ||
long_description_content_type = "text/markdown", | ||
url = "", | ||
project_urls = { | ||
}, | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
], | ||
packages=["ngsPETSc", "ngsPETSc.utils", "ngsPETSc.utils.firedrake", "ngsPETSc.utils.ngs"], | ||
python_requires = ">=3.8", | ||
install_requires=install_requires | ||
|
||
install_requires=install_requires, | ||
packages=["ngsPETSc", "ngsPETSc.utils", "ngsPETSc.utils.firedrake", "ngsPETSc.utils.ngs"] | ||
) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@UZerbinati what is this meant to say?