Commit 8b2c4be
Simplify mixed-domain interface (#3780)
* Add entity map c++ version
* Fix segfault with empty entity map
* Only use topology in `entitymap`
* Update tests and demo to use new entity map
* Fix type hint and docs
* Fix list input
* Update mesh independent form as well
* Fix doc build errors
* Update
* Update test
* Update
* Reorder
* Type
* Type comarison
* Reorder
* Type conversion
* Comments
* Ruff
* Update demo
* Add checks to assembler
* Same for sparsity pattern
* Format
* Add test
* Format
* format
* Tidy
* Docs
* Get test passing
* Remove constructor and get tests passing
* Start replacing function
* Replace function
* Remove function
* Remove function
* Ruff
* Ruff
* Remove second list
* Return type
* Rename
* Format
* Use ranges
* Use ranges
* Simplify logic
* Simplify logic
* Tidy
* Simplify
* Tidy
* Tidy
* Format
* Docs
* Docs
* Let the entity map do the map
* Ruff
* Tidy up
* Update cpp/dolfinx/mesh/EntityMap.h
Co-authored-by: Jørgen Schartum Dokken <dokken92@gmail.com>
* Update cpp/dolfinx/mesh/EntityMap.h
Co-authored-by: Jørgen Schartum Dokken <dokken92@gmail.com>
* Start wrapping EntityMap
* More wrapping
* Wrapping
* Ruff
* Docs
* Fix type
* Docs
* Update cpp/dolfinx/fem/Form.h
Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
* Update cpp/dolfinx/fem/Form.h
Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
* Update cpp/dolfinx/fem/Form.h
Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
* Docs
* Update cpp/dolfinx/fem/Form.h
Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
* Docs
* Improve docs
* Use inline if
* Improve docs
* Change name
* Remove static cast
* Add curly braces
* Don't pass shared pointer
* Improve docs
* Improve docs
* Docs
* Docs and improve names
* int type
* Improve docs
* Pass const ref
* Pass const ref not shared ptr
* Use insert
* Docs
* Use insert
* Docs
* Typo
* Docs
* Improve docs
* Docs
* Fix bug
* Start on create_submesh returning entity map
* Scoping
* Reorder
* Improve comment
* Update
* Update python binding
* Update test
* Rename
* Update tests
* Update demo
* Ruff
* Fix tests
* Get tests to pass
* Temporary hack to get docs to build (what is going on here?)
* Revert "Temporary hack to get docs to build (what is going on here?)"
This reverts commit fcbe919.
* Temporary hack to get the docs to build
* Fix demo
* Ruff
* Mypy
* Update test
* Give entity map a dim
* Fix docs
* Use EntityMap for geom and vertex maps
* Don't use EntityMap for the geometry
* Fix type
* Tidy
* Docs
* Simplify
* Mention bidirectional
* Split declaration and implementation
* Docs
* Improve docs
* Improve docs
* Remove static casts
* Improve docs
* DOcs
* Remove unused includes
* Docs
* Docs
* Start refactoring
* Remove function
* More refactoring
* Refactor
* More work
* Add funcs to get topos
* Add functions
* Remove unused code
* Change function
* Replace funciton
* Simplify code
* More simplificaitons
* Tidy
* Remove func
* Check form mesh is present
* Remove contains
* Docs
* Docs
* Remove functions
* Format
* Update
* Update
* Comment
* Tidy
* Docs
* Bind dim
* Bind topo and sub topo
* Format
* Small updates
* Docs
* Docs
* Remove commented code
* Use ref wrapper in place of shared_ptr
* Work around for reference wrappers in nanobind
* Minor edits
* Restrict captures
* Update assemble vector
* Updates for apply lifting
* Simplify
* More updates
* Change size
* Fix size bug
* Work on test
* Fix bug in test
* Work on test
* Test matrix bc
* Same for vector
* Change space
* Lint
* Fix test
* Change space
* Test apply lifting
* clang-tidy
* Update test
* Remove TODO
* mypy fixes
* Simplify typing
* Fix merge
* Fix import issue
* Doc and typing fixes
* Fix import
* Simplify demo
* Simplify
* Small simplification
---------
Co-authored-by: Jørgen S. Dokken <dokken@simula.no>
Co-authored-by: Jørgen Schartum Dokken <dokken92@gmail.com>
Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>1 parent 89fb14a commit 8b2c4be
File tree
28 files changed
+990
-492
lines changed- cpp
- demo
- codim_0_assembly
- mixed_poisson
- dolfinx
- fem
- mesh
- python
- demo
- dolfinx
- fem
- io
- wrappers
- test/unit
- fem
- mesh
28 files changed
+990
-492
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
87 | 93 | | |
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 99 | | |
111 | 100 | | |
112 | 101 | | |
| |||
118 | 107 | | |
119 | 108 | | |
120 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
211 | | - | |
212 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
| 215 | + | |
| 216 | + | |
217 | 217 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
304 | 294 | | |
305 | 295 | | |
306 | 296 | | |
307 | 297 | | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
312 | 303 | | |
313 | 304 | | |
314 | | - | |
| 305 | + | |
315 | 306 | | |
316 | 307 | | |
317 | 308 | | |
| |||
0 commit comments