-
Notifications
You must be signed in to change notification settings - Fork 97
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
Allow evaluating FE functions at arbitrary points #523
Merged
Merged
Changes from 8 commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
6064415
Allow evaluating FE functions at arbitrary points
eschnett f123693
Add function to evaluate FE functions
eschnett 7e785be
New function inverse_map
ericneiva 027fa14
bugfixed in CellField change_domain
ericneiva 81bf213
Move code to the right location
eschnett 0fd60ff
Reformat code
eschnett a7350a4
Merge branch 'master' into eschnett/evaluate
eschnett b6a18d4
Import return_cache
eschnett 06b3524
Remove dependency on Bernstein.jl
eschnett c363d2d
Change sign convention for distance from simplex
eschnett 0fcba26
Merge branch 'master' into eschnett/evaluate
eschnett 489a377
Simplify finding minimum distance from simplices
eschnett 01ef2f1
Calculate k-d tree only when needed
eschnett 5103e07
simplexify: return tet simplex instead of hex simplex in 1d
eschnett bc6d049
Move evaluation function to MultiFields module
eschnett d1548f1
Comment code
eschnett c658948
Merge branch 'master' into eschnett/evaluate
eschnett 921ced8
Merge branch 'master' into eschnett/evaluate
eschnett e7b2ddc
Merge branch 'master' into eschnett/evaluate
eschnett 1e92b75
Merge branch 'master' into eschnett/evaluate
eschnett 4f33d9b
Merge branch 'master' into eschnett/evaluate
eschnett 9bd3a22
Add various comments with ideas or questions
eschnett c6ebff7
Add progress output while running test case
eschnett af56037
Shorten code
eschnett 6b081cf
Rewrite code, making use of existing Gridap features
eschnett 7c6038d
Merge branch 'master' into eschnett/evaluate
eschnett d6187d1
Commit current state
eschnett b2f4775
Merge branch 'master' into eschnett/evaluate
eschnett d5f15e6
Merge branch 'affine_map' into eschnett/evaluate
eschnett 7544e8c
Things seem to work now.
eschnett 0d765f1
Remove left-over comments
eschnett 06ec403
Correct error bounds in self check
eschnett 73672a3
Avoid temporary array
eschnett 43afc11
Allow more general cell index types
eschnett f8998e3
Correct indentation
eschnett 2f2e82f
Use vertex coordinates, not node coordinates to locate cells
eschnett aab614f
Merge branch 'master' into eschnett/evaluate
eschnett d02b072
Merge branch 'master' into eschnett/evaluate
eschnett 3a393cd
Merge branch 'master' into eschnett/evaluate
eschnett db06d38
Merge branch 'master' into eschnett/evaluate
eschnett 2c7bacd
Merge branch 'master' into eschnett/evaluate
eschnett 7fccd3c
Merge branch 'master' into eschnett/evaluate
eschnett 8d11d5c
Commit all changes
eschnett 28a8563
Merge branch 'master' into eschnett/evaluate
eschnett 6873673
Add tests for inverse maps
eschnett c1628dc
Merge branch 'master' into eschnett/evaluate
eschnett 7197cec
Correct module imports
eschnett 785876a
Make evaluate! for CellField more efficient
eschnett b65f9f6
Test evaluating cell fields on arrays of points
eschnett 57ac76a
Remove duplicate include statement
eschnett 4fef3f1
Implement efficient vectorized evaluation
eschnett a2fd337
Merge branch 'master' of github.com:gridap/Gridap.jl into HEAD
Balaje 7548314
Move code to src/CellData from src/MultiField
Balaje 5823b9a
Fixing comment in CellFields and remove repeating InverseFields Tests
Balaje a818db8
Merge pull request #1 from Balaje/eschnett/evaluate
eschnett 0f6663f
Add more tests for evaluate
Balaje 008a46a
Remove unused deps in MultiField.jl, more test for evaluate
Balaje e034de1
Fix an error
Balaje 54962d9
Fix error in MultiField.jl
Balaje 5c445d1
Remove comment
Balaje 8ade674
Change to not export distance
Balaje 0b4d2d9
Remove unused argument from point_to_cell
Balaje 7a79a6e
Add interface for AbstractVector{<:Point}
Balaje 620ee7f
Fix function names
Balaje 0af55ff
Change from CellPoint to compute_cell_points_from_vector_of_points
Balaje 4ff072c
Merge branch 'master' of github.com:gridap/Gridap.jl into tmp
Balaje b7f83ba
Update NEWS.md
Balaje 6ce661f
Merge pull request #2 from Balaje/eschnett/evaluate
eschnett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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 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.
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.
We could probably encapsulate this code in a function and do dispatching with respect to the triangulation type. The code below is for an unstructured (simplicial) mesh. We could also consider the case for a structured Cartesian mesh (which is much easier, no tree involved).