feat: add PartialDerivative#341
Draft
dccabanas wants to merge 13 commits into
Draft
Conversation
dccabanas
force-pushed
the
feat/add-partial-derivative
branch
from
March 20, 2026 09:24
72a3469 to
65cbc99
Compare
dccabanas
marked this pull request as draft
March 23, 2026 08:13
dccabanas
force-pushed
the
feat/add-partial-derivative
branch
from
March 23, 2026 08:20
54925fa to
dbc8ce4
Compare
dccabanas
force-pushed
the
feat/add-partial-derivative
branch
from
April 17, 2026 09:12
dbc8ce4 to
4603c83
Compare
dccabanas
force-pushed
the
feat/add-partial-derivative
branch
2 times, most recently
from
May 15, 2026 10:11
7951962 to
7a45b23
Compare
dccabanas
force-pushed
the
feat/add-partial-derivative
branch
2 times, most recently
from
June 5, 2026 15:52
fb429f3 to
b7b30a7
Compare
dccabanas
force-pushed
the
feat/add-partial-derivative
branch
2 times, most recently
from
June 9, 2026 12:37
638f805 to
00d3529
Compare
dccabanas
force-pushed
the
feat/add-partial-derivative
branch
4 times, most recently
from
June 24, 2026 10:16
47cd8e7 to
ea8760f
Compare
The feature is limited to 0-forms defined on Cartesian geometries.
The previous version was not correct for `FormField`s.
Change from an error to a warning if geometry is not Cartesian.
Summary of changes: - introduce a new structure `PartialOrder`; allows dispatching on the total derivative order, which is useful for logic and optimisation. - introduce general method for arbitrary geometries if the total derivative order is 1. - specialise computations for `CartesianGeometry`.
dccabanas
force-pushed
the
feat/add-partial-derivative
branch
from
June 29, 2026 10:32
ea8760f to
07604d0
Compare
Summary of changes: - Throw error for the geometric scaling of an abstract geometry; the implementation is not correct. A correct implementation would requiring mixing derivatives, which is not done currently. Requires a vector field structure. - Allow bypass of incorrect method for `HierarchicalGeometry`, if said geometry is built only on `CartesianGeometry`.
dccabanas
force-pushed
the
feat/add-partial-derivative
branch
from
June 29, 2026 11:54
07604d0 to
ce263df
Compare
dccabanas
force-pushed
the
feat/add-partial-derivative
branch
from
June 29, 2026 12:08
ce263df to
23632a5
Compare
This file contains hidden or 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
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.
Introduces the
PartialDerivative. This structure enables the computation of partial derivatives of 0-forms defined over aCartesianGeometry, while preserving the form rank.