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
Copy file name to clipboardExpand all lines: src/fevector.jl
+16-14Lines changed: 16 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ Each `FEVectorBlock` provides array-like access to the degrees of freedom (DOFs)
16
16
- `T`: Value type of the vector entries (e.g., `Float64`).
17
17
- `Tv`: Value type for the associated `FESpace`.
18
18
- `Ti`: Integer type for the associated `FESpace`.
19
+
- `TVector`: Type of the entries vector.
19
20
- `FEType`: Type of the finite element.
20
21
- `APT`: Assembly type for the finite element.
21
22
@@ -24,21 +25,21 @@ Each `FEVectorBlock` provides array-like access to the degrees of freedom (DOFs)
24
25
- `FES::FESpace{Tv, Ti, FEType, APT}`: The finite element space associated with this block.
25
26
- `offset::Int`: Global offset (start index in the global vector).
26
27
- `last_index::Int`: Global end index (inclusive).
27
-
- `entries::Array{T, 1}`: Reference to the global coefficient array (shared with the parent `FEVector`).
28
+
- `entries::TVector`: Reference to the global coefficient array (shared with the parent `FEVector`).
28
29
29
30
# Usage
30
31
`FEVectorBlock` is typically created internally by `FEVector` constructors and provides efficient access to the coefficients for a particular FE space. Supports standard array operations (`getindex`, `setindex!`, `size`, `length`, etc.) and can be used for block-wise assembly, extraction, and manipulation.
0 commit comments