Convenience methods for all at once assembly
Renameassemble(Matrix|Vector)()
toassemble(Matrix|Vector)Values()
.- Add convenience methods
assembleMatrix()
andassembleVector()
for all-at-once assembly including resizing, building the pattern, initializing the matrix, and assembling the values.
This helps to avoid boiler plate code in the common simple cases (see modified examples) but leaves full control in the complicated ones (see 2nd assembly code path of Stokes example).
The following are no longer part of this MR and have been implemented separately before:
Import missingoperator=
inISTLVectorBackend
.Extractpatter.resize()
fromassembleMatrixPattern()
. For consistency and composeability the user should call this manually.
Edited by Carsten Gräser