You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add scalar_fieldmatrix
Add a function to convert a FieldMatrix where each matrix entry
has an eltype of some struct into a FieldMatrix where each entry
has an eltype of a scalar.
Add additional tests for scalar_matrixfields
Use @test_all in tests
Make suggested changes to tests and field_name_dict.jl
Revert unrolled_findfirst
Clean up field matrix tests and add support for DiagonalMatrixRows
CamelCase struct name
Clean up tests and get_scalar_keys
wip backup
Minimal working with allocs
WIP1
WIP more allocs fix
Assorted cleanup
Fix dx/dx case
reduce code duplication; fix example
Add gpu test
further cleanup, extend diagonalrow
fix names test and comments
Add docs
docs bugfix
remvoe bad refs
fix docs formatting
WIP Y fields
pre-switch to type space
should work
fix broken tests
bugfix
fix implicit tensor rep tests
WIPP1
working state
Improve readability at cost of concise code
update docs
further cleanup
propgate full key vs keyerror
propogate name_tree
scalar_fielmatrix to scalar_field_matrix
Copy file name to clipboardExpand all lines: docs/src/matrix_fields.md
+95Lines changed: 95 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,8 @@ preconditioner_cache
89
89
check_preconditioner
90
90
lazy_or_concrete_preconditioner
91
91
apply_preconditioner
92
+
get_scalar_keys
93
+
field_offset_and_type
92
94
```
93
95
94
96
## Utilities
@@ -98,4 +100,97 @@ column_field2array
98
100
column_field2array_view
99
101
field2arrays
100
102
field2arrays_view
103
+
scalar_field_matrix
101
104
```
105
+
106
+
## Indexing a FieldMatrix
107
+
108
+
A FieldMatrix entry can be:
109
+
110
+
- An `UniformScaling`, which contains a `Number`
111
+
- A `DiagonalMatrixRow`, which can contain aything
112
+
- A `ColumnwiseBandMatrixField`, where each row is a [`BandMatrixRow`](@ref) where the band element type is representable with the space's base number type.
113
+
114
+
If an entry contains a composite type, the fields of that type can be extracted.
0 commit comments