[dune-functions] Problems writing vector-valued vtk files

Oliver Sander sander at igpm.rwth-aachen.de
Wed Mar 18 12:27:57 CET 2015


>> I kind-of see where the problem is coming from: I would expect the Range type of xFunction and localXFunction to be
>> FieldVector<double,3>.  However, in discretescalarglobalbasisfunction.hh the type for both is set to the range type
>> of the LocalBasis, which is FieldVector<double,1>.  This leads to a mismatch during function evaluation.
> that's correct (in some sense). I just adpated the old version, which
> was inherently scala, to the new interface. I guess that's why it has
> ...Scalar... in its name. 

One could argue that it is called ...scalar... because it uses scalar bases,
even to create vector-valued functions.  I'm not perfectly sure that this is
a good long-term point of view.


-------------- 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/20150318/1c603206/attachment.sig>


More information about the dune-functions mailing list