[Dune] question about JacobianInverseTransposed
Aleksejs Fomins
aleksejs.fomins at lspr.ch
Mon Aug 4 10:12:57 CEST 2014
Sure, I am sorry, I misclicked
On 08/04/2014 10:10 AM, Martin Nolte wrote:
> Hi Aleksejs,
>
> could you please keep discussion on the mailing list?
>
> Thanks,
>
> Martin
>
> On 08/04/2014 10:04 AM, Aleksejs Fomins wrote:
>> Hey, thanks :)
>>
>> I will take a look at AffineGeometry. However, I think I will have to
>> use MultilinearGeometry as a base for my CurvilinearGeometry because
>> that is how we agreed with Prof. Bastian
>>
>> On 08/04/2014 09:59 AM, Martin Nolte wrote:
>>> PS: Maybe the AffineGeometry is a better place to learn the
>>> implementation of a DUNE geometry, because it is slimmer. The
>>> MultiLinearGeometry is a quite complex construct with a few tweaks to
>>> gain performance. Some of them might not even be necessary with recent
>>> compilers. For example, some of the integral_constant magic could be
>>> removed if we rely on constant propagation. However, this would rely on
>>> people recognizing this opportunity and not "improving" it without
>>> thought.
>>>
>>> Best,
>>>
>>> Martin
>>>
>>> On 08/04/2014 09:48 AM, Aleksejs Fomins wrote:
>>>> Dear Dune,
>>>>
>>>> I would be happy if someone could explain me the initializer of the
>>>> MultilinearGeometry:
>>>>
>>>>
>>>> ---------------------------------------------------------------
>>>>
>>>> typedef FieldMatrix< ctype, coorddimension, mydimension > Base;
>>>>
>>>> public:
>>>> void setup ( const JacobianTransposed &jt )
>>>> {
>>>> detInv_ = MatrixHelper::template rightInvA< mydimension,
>>>> coorddimension >( jt, static_cast< Base & >( *this ) );
>>>> }
>>>>
>>>> ---------------------------------------------------------------
>>>>
>>>> Namely, I am not sure what does "static_cast< Base & >( *this )" do,
>>>> and
>>>> thus where the inverse of jt is stored?
>>>>
>>>> Thank you,
>>>> Aleksejs
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dune mailing list
>>>> Dune at dune-project.org
>>>> http://lists.dune-project.org/mailman/listinfo/dune
>>>>
>>>
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140804/38637799/attachment.sig>
More information about the Dune
mailing list