-
Notifications
You must be signed in to change notification settings - Fork 92
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
Merge (Cell|Face)(Scalar|Vector)Values #708
Conversation
93b6ab4
to
7b05cfc
Compare
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## master #708 +/- ##
==========================================
+ Coverage 92.63% 92.65% +0.01%
==========================================
Files 30 30
Lines 4429 4355 -74
==========================================
- Hits 4103 4035 -68
+ Misses 326 320 -6
☔ View full report in Codecov by Sentry. |
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.
Found a few things to discuss.
80b39a2
to
32ca781
Compare
…)Values` This patch merges: - `CellScalarValues` and `CellVectorValues` into `CellValues`, - `FaceScalarValues` and `FaceVectorValues` into `FaceValues`, - `PointScalarValues` and `PointVectorValues` into `PointValues`. This is possible now that interpolations are vectorized instead (#694) and, for example, `CellVectorValues(::Interpolation)` can now be spelled as simply `CellValues(::VectorInterpolation)`. The new structs have new parametrization to be more general wrt the storage types to enable embedded elements (#651). They are also parametrized wrt the function interpolation, to enable dispatching on this in e.g. `reinit!`. Instead of simply deprecating the old API (with a warning) this patch implements hard errors for the old constructors with a clear message on how to upgrade. The reason for this is that i) it is possible to tank performance with the new parametrization, ii) for any non-trivial use one would run into errors anyway (e.g. `f(::CellVectorValues)` would give a non-descriptive `MethodError`). Closes #682.
32ca781
to
98f9b15
Compare
No description provided.