-
Notifications
You must be signed in to change notification settings - Fork 93
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
Arbitrary evaluation in points #425
Conversation
b9e3097
to
c35918e
Compare
Codecov Report
@@ Coverage Diff @@
## master #425 +/- ##
==========================================
+ Coverage 91.13% 91.30% +0.16%
==========================================
Files 22 22
Lines 3181 3243 +62
==========================================
+ Hits 2899 2961 +62
Misses 282 282
Continue to review full report at Codecov.
|
c35918e
to
a513596
Compare
bdbae00
to
2c0f472
Compare
This commit introduces a number of new things that can be used together with the PointEvalHandler: - PointScalarValues and PointVectorValues: These are similar to CellValues, but have only one, updateable, "quadrature point". - PointIterator: Iterator for iterating over the points in a PointEvalHandler. - PointLocation: Element of a PointIterator. The intended workflow is as follows: ph = PointEvalHandler(grid, points) pv = PointScalarValues(cellvalues) for p in PointIterator(ph) p === nothing && continue # This point was not found reinit!(pv, p) # reinit! with the new point function_gradient(cv, uh) # Compute stuff end Other changes: - Grid: Fix cellnodes! and cellcoords! for grids with mixed element types. - PointEvalHandler: Rename the old PointScalarValues to PointScalarValuesInternal. These are (still) used internally in get_point_values, and are a nice optimization of PointScalarValues since they avoid recomputation of both i) dNdξ, and ii) dNdx. - Docs: update doc build dependencies.
2c0f472
to
275b0cf
Compare
This commit introduces a number of new things that can be used together with the PointEvalHandler: - PointScalarValues and PointVectorValues: These are similar to CellValues, but have only one, updateable, "quadrature point". - PointIterator: Iterator for iterating over the points in a PointEvalHandler. - PointLocation: Element of a PointIterator. The intended workflow is as follows: ph = PointEvalHandler(grid, points) pv = PointScalarValues(cellvalues) for p in PointIterator(ph) p === nothing && continue # This point was not found reinit!(pv, p) # reinit! with the new point function_gradient(cv, uh) # Compute stuff end Other changes: - Grid: Fix cellnodes! and cellcoords! for grids with mixed element types. - PointEvalHandler: Rename the old PointScalarValues to PointScalarValuesInternal. These are (still) used internally in get_point_values, and are a nice optimization of PointScalarValues since they avoid recomputation of both i) dNdξ, and ii) dNdx. - Docs: update doc build dependencies.
No description provided.