-
Notifications
You must be signed in to change notification settings - Fork 48
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
partition #488
Draft
joostvanzwieten
wants to merge
119
commits into
evalf:master
Choose a base branch
from
joostvanzwieten:partition
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
partition #488
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
Codecov Report
@@ Coverage Diff @@
## master #488 +/- ##
========================================
Coverage ? 92%
========================================
Files ? 23
Lines ? 11188
Branches ? 0
========================================
Hits ? 10294
Misses ? 894
Partials ? 0
Continue to review full report at Codecov.
|
joostvanzwieten
force-pushed
the
partition
branch
from
December 23, 2019 13:59
bd59cf3
to
574a460
Compare
joostvanzwieten
force-pushed
the
partition
branch
2 times, most recently
from
January 7, 2020 15:42
8b759c1
to
381c572
Compare
joostvanzwieten
force-pushed
the
partition
branch
from
March 7, 2020 20:36
381c572
to
2b816ab
Compare
joostvanzwieten
force-pushed
the
partition
branch
from
March 25, 2020 21:09
2b816ab
to
8017f8c
Compare
joostvanzwieten
force-pushed
the
partition
branch
2 times, most recently
from
April 14, 2020 20:29
3479309
to
e6d9845
Compare
joostvanzwieten
force-pushed
the
partition
branch
from
May 14, 2020 06:54
e6d9845
to
eeb7a99
Compare
The multipatch topology is rather difficult to maintain in its current form while transitioning to tensorial topologies. We simply disable the tests involving multipatch topologies for now.
Bifurcate is being replaced by the new tensorial topologies approach. We disable unittests involving bifurcate pending the replacement.
The tests for `function.Basis` make heavily use of parametrize. This has two drawbacks: an exception raised while creating an argument, e.g. a transforms sequence, makes the entire module not importable, and we can't create helper variables for defining arguments unless we place them in the global scope. This patch solves both problems by replacing parametrize with dedicated subclasses.
Currently a `transform.Identity` is a subclass of `transform.Shift`. In `StructuredTransforms.index_with_tail` we test if the supplied transform chain starts with a `transform.Shift` using `isinstance`, which gives a false positive if the transform chain starts with `transform.Identity`. This patch resolves this problem by replacing `isinstance(t, T)` with `type(t) == T`.
In the past transform chains had a special root transform item. This concept does not exist anymore and we can safely remove `function.PopHead`. `function.PopHead` was only used in `ApplyTransforms(PopHead(ndims, SelectChain())`, where `SelectChain` is implicit. Since `function.SelectChain` does not yet know the dimension of the root, we temporarily replace `PopHead` with `TransformChainWithTodims`, with the sole purpose of defining the `todims`. In a follow-up commit `function.SelectChain` will gain this knowledge and `TransformChainWithTodims` will be removed in its entirety.
Now that we don't pop the head of a transform chain anymore, we can safely remove the root transform item from `StructuredTransforms`.
In a future commit the transforms may have inhomogeneous `fromdims`. This patch replaces all usage of the `fromdims` attribute.
joostvanzwieten
force-pushed
the
partition
branch
from
June 30, 2020 13:19
ba6b3d8
to
2a0355d
Compare
joostvanzwieten
force-pushed
the
partition
branch
from
July 8, 2020 20:19
2a0355d
to
e1e208d
Compare
joostvanzwieten
force-pushed
the
partition
branch
from
July 15, 2020 07:30
e1e208d
to
768b8be
Compare
joostvanzwieten
force-pushed
the
partition
branch
from
July 15, 2020 07:35
768b8be
to
151b903
Compare
The default implementation of `__bool__` tests whether the volume is strict positive. For trimmed elements this can be rather expensive. This patch adds specialized implementations of `__bool__` for all element types.
joostvanzwieten
force-pushed
the
partition
branch
from
July 22, 2020 09:26
151b903
to
7380aa1
Compare
joostvanzwieten
force-pushed
the
partition
branch
from
April 16, 2021 22:36
66c729a
to
d2a4ca6
Compare
Formerly locate made an initial selection of candidate elements based on (scaled) bounding boxes. The new implementation simply orders elements by centroid proximity, with an option to set a cutoff radius in case fast failure is required.
joostvanzwieten
force-pushed
the
partition
branch
from
May 26, 2021 11:45
8bf666c
to
38dbbce
Compare
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.
No description provided.