#820 Encapsulate scalars of type T in Field<T>
|Reported by||Carsten Gräser (firstname.lastname@example.org)|
|Reported at||Sep 12, 2010 21:46|
|Operating System||Unspecified / All|
As the number of vector/matrix implementations grows having different vectors and matrices as innermost type in the istl nesting becomes more and more inconvenient.
E.g. there are 3 possible statically sized matrices for the termination.
I suggest to introduce a class
Field<T> to encapsulate a raw type.
Then one would e.g. use
StaticMatrix<Field<T>,n,m> instead of
FieldMatrix<T,n,m>. This would also allow nesting of statically sized matrices without code duplication.