[dune-functions] Documentation

Oliver Sander oliver.sander at tu-dresden.de
Mon Sep 21 15:12:15 CEST 2015


>> This is where I am currently stuck.  I'd like to handle the VTK output
>> in the way it is done in stokes-taylorhood.cc.
>> But there, the expression
>>  
>>   Functions::hierarchicVector(x)
>>
>> shows up, and in my case x is a MultiTypeBlockVector.  To be honest I
>> didn't try it yet, but I suppose
>> I need to generalize hierarchicVector to also function with a MTBVector?


> Or you must provide a wrapper which does the same for your
> MTBVector.
I'll try that tonight, at least for my particular case.
--
Oliver

>  That's not to complicated, you only need to provide
>
>  *.resize(SizeInfo);
>  *.operator[](MultiIndex);
>  *.operator[](MultiIndex) const;
>
> I'd not think of supporting it in the general mapper now.
> The dynamic->static transition will be rather complicated
> to get right (assuming that it's posssible at leats).
>
> But even if you have the wrapper I'm not sure if the machinary
> will work. That's what I'd like to test.
>
> Best,
> Carsten
>
>> Best,
>> Oliver
>>
>>
>>> The reason for this is, that these A and B are a good
>>> indicator if the interface is rich enough/usable in
>>> such cases. If you can't implement A and B, we may
>>> have to adjust the interface. And this should be done
>>> as soon as possible.
>>>
>
>
> _______________________________________________
> dune-functions mailing list
> dune-functions at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-functions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-functions/attachments/20150921/c4e55e84/attachment.htm>


More information about the dune-functions mailing list