[Dune] [#522] Jacobian type is FieldVector< FieldVector< K,m> >

Dune dune at dune-project.org
Fri Jun 26 16:46:04 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#522 - Jacobian type is FieldVector< FieldVector< K,m> >
User who did this - Carsten Gräser (Carsten)

----------
The arguments for FV<FV> seem to be:
1) We need more complex types then FM in general.
2) We want the type to behave like a FV for scalar basis functions.

@1) Even if you want to mimic a tensor structure array<FV> is more appropriate since FV<FV> pretends that it provides some kind of algebra which is not true. FV<FV> even only compiles since templates are not type-safe.

@2) FV<FV,1> does only behave like FV in special situations due to the implicit cast. This boils down to save some [0]. In my opinion a consistent type is more important then this (even if I only use scalar basis functions).

----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=522#comment994

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list