[dune-functions] [Dune-functions-commit] [Commit] dune-functions - c7b3989: Resize must now be done manually before interpolate()

Carsten Gräser graeser at mi.fu-berlin.de
Tue Sep 15 10:30:50 CEST 2015


Am 15.09.2015 um 01:28 schrieb Carsten Gräser:
> OK, here's a proposal to allow nested vectors while keeping
> simple things simple:
> 
> a)We derive MultiIndex<class size_type, size_type i> from e.g.
>   array and implement the cast to size_type for i=1.
This would be against our decision to not fix the MultiIndex
implementation. Hence I modify my proposal: We can simply
provide FlatMultiIndex<size_type> providing 'operator[]'
and 'operator size_type'.

Carsten

> b)The result of basis.size() without prefix is no longer
>   the same as the one with an empty prefix, but an object
>   providing operator()(Prefix) and a cast to size_type.
>   In the trivial case the result of this cast should be
>   either the same as for an empty prefix or as dimension.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-functions/attachments/20150915/0a53ca8c/attachment.sig>


More information about the dune-functions mailing list