[Dune-devel] YaspGrid constructors
Martin Nolte
nolte at mathematik.uni-freiburg.de
Wed Oct 9 16:09:46 CEST 2013
Go ahead.
Best,
Martin
On 10/09/2013 02:52 PM, Oliver Sander wrote:
> Dear Dune,
> the constructors of YaspGrid have always expected the number of elements per direction
> in a FieldVector<int,dim>, and the periodicity per direction in a FieldVector<bool,dim>.
> This is bad style: neither int nor bool model field types, hence none of them is really
> fit to be a template argument of FieldVector.
> A while ago I added new constructors, which take array<int,dim> and std::bitset<dim>
> instead, respectively. AFAICT these new constructors are now used everywhere in the core
> modules. I would now like to deprecate the old constructors, in order to be able to
> get rid of them after the next release.
>
> Are there any objections?
>
> Cheers,
> Oliver
>
>
>
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel
>
--
Dr. Martin Nolte <nolte at mathematik.uni-freiburg.de>
Universität Freiburg phone: +49-761-203-5630
Abteilung für angewandte Mathematik fax: +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany
More information about the Dune-devel
mailing list