[dune-functions] [Dune-functions-commit] [Commit] dune-functions - c7b3989: Resize must now be done manually before interpolate()
Oliver Sander
oliver.sander at tu-dresden.de
Mon Sep 14 15:19:05 CEST 2015
Hi all,
> commit c7b398972459ed3caf3af893d4954d46a755f9e6
> Author: Carsten Gräser <graeser at mi.fu-berlin.de>
> Date: Mon Sep 14 15:14:30 2015 +0200
>
> Resize must now be done manually before interpolate()
[snip]
>
> // Interpolating the indicator function of the boundary will
> // mark all boundary dofs.
> + Dune::Functions::HierarchicVectorBackend::resize(dirichletNodes, feBasis);
> interpolate(feBasis, std::make_tuple(), dirichletNodes,
> [&bbox](Coordinate x){
> bool isBoundary = false;
is this really necessary? I'd rather avoid having to expose the user to this VectorBackend thingy.
In particular in an example like poisson-pq2, where the basis is real simple and scalar.
:-|
Oliver
>
> _______________________________________________
> Dune-functions-commit mailing list
> Dune-functions-commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-functions-commit
More information about the dune-functions
mailing list