Skip to content

#820 Encapsulate scalars of type T in Field<T>

Metadata

Property Value
Reported by Carsten Gräser (graeser@math.fu-berlin.de)
Reported at Sep 12, 2010 21:46
Type Feature Request
Version 1.2
Operating System Unspecified / All

Description

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.