Commit 338f32f
Fix logic and uses ranges in interpolate (#4049)
* Add failing test
* Add fix that compares the underlying mesh before using copy without dof transformation
* Swith order of comparsions to do pointers first.
* Further clarifications in the interpolation code for matching meshes
* Remove unused variable
* Add test checking that copying only happens when cells0 is equal to arange(num_cells_local+num_ghosts)
* Doc linting
* Another doc linting fix
* Clang formatting
* Use size_t
* Simplify
* Simplifications
* const fixes
* Add debug check
* Fix
* Simplify
* Fix typo
* Small doc improvements
* Use ranges
* More ranges
* More ranges
* Updates
* Doc fixes
* Logic fix
* Simplify
* Small fix
* Tidy up
* Use new interface
* Binding fix
* Simplify
* Improvements
* Fix
* More logix improvements
* Update Expression logic
* Simplify
* Re-enable test
* Simplification
* Remove commented code
* Iterator improvements
* Tidy
* Update cpp/dolfinx/fem/Function.h
Co-authored-by: Paul T. Kühner <56360279+schnellerhase@users.noreply.github.com>
* Add sign test
* Name updates
* Update cpp/dolfinx/fem/interpolate.h
Co-authored-by: Paul T. Kühner <56360279+schnellerhase@users.noreply.github.com>
* Tidy
* Tidy
* Code improvements
* Remove testing
* Tidy docs
* Doc improvements
* Small upate
* Small update
---------
Co-authored-by: jorgensd <dokken92@gmail.com>
Co-authored-by: Jørgen S. Dokken <dokken@simula.no>
Co-authored-by: Paul T. Kühner <56360279+schnellerhase@users.noreply.github.com>1 parent 952f46a commit 338f32f
21 files changed
Lines changed: 587 additions & 465 deletions
File tree
- cpp
- demo
- custom_kernel
- interpolation_different_meshes
- dolfinx
- common
- fem
- io
- mesh
- refinement
- test
- common
- mesh
- python/dolfinx
- fem
- wrappers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 76 | + | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
| 545 | + | |
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
| |||
0 commit comments