forked from FEniCS/ufl
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Dolci/merge upstream 2 #46
Merged
Merged
Conversation
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
* Add Spack CI test * Update comment
* Fix Spack CI * Fix typo * Add badge * Simplify * Remove verose output
* Remove a lots of finiteelement stuff * __all_classes__ * remove mixedelement * remove use of deleted elements * remove print * working on element interface * working on new elements * Add broken demos * make (almost) all tests pass * Move demos out of broken folder, fix a few tests * Hermite is H1 * flake8 * symmetric elements * subelements in splitting test * fix another test * MixedElasticity demo * fix final test * rename FiniteElementBase -> AbstractFiniteElement * doc * Template structure for pullback * working on pull back * fixes * skip flake8 on pull_back for now * flake and pydocstyle * update tests * basix branch * flake8 * start making ffc tests pass * fix imports * flake * isort * make test pass * ffc branch * as_domain in measure (if domain is not None) * corrections * dolfinx branch * Add some types * no product needed * sub_rsh * () * flattened... not property * documentation * remove component functions * flake, remove unused function * remove _is_linear * put function back * remove is_cellwise_constant * remove is_globally_constant * remove sorting of elements by hash * improve doc * working on new pull back classes * update pull backs in demos and tests * flake8 * add mixed pull back * symmetric pull back * flake * flake8 * a -> A * Get (physical) value shape from the pull back * tidy up element classes * flake * add embedded super- and sub-degrees * Add Legacy elements (for TSFC support) * flake * tsfc branch * don't look up components for scalar-valued elements * sub_elements() -> sub_elements * sobolev_space() -> sobolev_space * is_identity rather than checking type * abstractproperty * docs * use is_identity * doc * simplify pullback code * tweak docstrings * clarify * property and custom pullback * () * Use IdentityPullBack if mixed elements sub elements all use it * Docstring * fixes in legacy * l -> L * physical pull back * @Property in legacy * fixing legacy elements * fix symmetry ordering * generalise symmetric pull back to sub-elements with a value size * update AUTHORS * fdlake * fix when element may not be fully initialised * set self._sub_elements before they're needed * update index order in legacy * Rename pull_back -> pullback and improve docs * rename pullback in tests * fix embedded degrees * flake * pullback rename in demos * replace degree() with embedded_superdegree * embedded degrees in hdivcurl * fix more embedded degrees * correct blockshape * max not sum * Revert "max not sum" This reverts commit 145fbb4. * only for testing * set branches to main
…EniCS#220) * Remove deprecated functionality (attach_operators_from_hash_data). The deprecation was introduced 4 months ago (FEniCS#168). Since all the core objects of UFL is using it (Mesh and FunctionSpace) it means that pytest is throwing tons of deprecation warnings at import: ```python python3 -W error::DeprecationWarning -c "import ufl.Mesh" Traceback (most recent call last): File "<string>", line 1, in <module> File "/root/shared/ufl/__init__.py", line 265, in <module> from ufl.domain import as_domain, AbstractDomain, Mesh, MeshView, TensorProductMesh File "/root/shared/ufl/domain.py", line 190, in <module> class TensorProductMesh(AbstractDomain): File "/root/shared/ufl/core/ufl_type.py", line 56, in attach_operators_from_hash_data warnings.warn("attach_operators_from_hash_data deprecated, please use UFLObject instead.", DeprecationWarning) DeprecationWarning: attach_operators_from_hash_data deprecated, please use UFLObject instead. ``` * Flake8 * implement __str__ for function spaces --------- Co-authored-by: Matthew Scroggs <[email protected]>
* None * fix typo
This does not quite resolve issues with users trying to install with an outdated pip version, as the upgrade happens at runtime, and doesn't change the current version of pip that is executed. Co-authored-by: Jack S. Hale <[email protected]>
* remove ufl.legacy * finat branch * remove test of legacy elements * remove .legacy
* Change DOLFINx integration test image * Update PETSC_ARCH to new scheme * Update pip install. * Update fenicsx-tests.yml * Update fenicsx-tests.yml
* Add trimmed serendipity * Fix value shape for trimmed serendipity * ufl plumbing update for trimmed serendipity. * Plumbing for SminusDiv.py * Adding in element stuff for SminusCurl. * Fix typo * remove spurioius names * Fix BaseForm's call * Add test * Update test with new FiniteElement interface --------- Co-authored-by: Rob Kirby <[email protected]> Co-authored-by: Justincrum <[email protected]> Co-authored-by: David A. Ham <[email protected]> Co-authored-by: ksagiyam <[email protected]> Co-authored-by: ksagiyam <[email protected]> Co-authored-by: Connor Ward <[email protected]> Co-authored-by: Matthew Scroggs <[email protected]>
* In a recent change to UFL, subdomain_id was transformed from a single value to a tuple. This broke some assumptions in ufl2unicode that I have fixed here. * Update ufl/formatting/ufl2unicode.py Co-authored-by: Connor Ward <[email protected]> * Update ufl/formatting/ufl2unicode.py Co-authored-by: Connor Ward <[email protected]> * Update ufl/formatting/ufl2unicode.py Co-authored-by: Connor Ward <[email protected]> * Update ufl/formatting/ufl2unicode.py Co-authored-by: Connor Ward <[email protected]> --------- Co-authored-by: Connor Ward <[email protected]>
This was referenced Nov 9, 2023
JDBetteridge
approved these changes
Nov 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR is coupled with firedrake/pull/3166, tsfc/pull/302, FInAT/pull/111, and ngsPETSc/pull/7.