[Dune] [#949] Non-matching FieldVector types (Attachment added)

Dune flyspray at dune-project.org
Thu Sep 8 15:16:08 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Tobias Malkmus (tomalk) 

Attached to Project - Dune
Summary - Non-matching FieldVector types
Task Type - Bug Report
Category - Common
Status - Unconfirmed
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - 2.1
Due in Version - Undecided
Due Date - Undecided
Details - Hi all.

While working with Dune::FieldVector in a class i found a strange behavier of the FieldVectors

Compiling the attached code with gcc 4.4.6 and CXXFLAGS= -O3 -Wall -DNDEBUG -funroll-loops -finline-functions
results neigther in an compiler error that two is not of type ScalarType and one not of type VectorType 
nor in an exception. 
Using CXXFLAGS=-g -Wall
of course, throws an exception that there are some missmatches in the dimension.
One would expect a compiler error here that there some missmatching types.

My core Modules are:
Path: dune-grid
URL: https://svn.dune-project.org/svn/dune-grid/trunk
Repository Root: https://svn.dune-project.org/svn/dune-grid
Repository UUID: f82f27de-4411-0410-b156-930a902cda50
Revision: 7671
Node Kind: directory
Schedule: normal
Last Changed Author: mnolte
Last Changed Rev: 7671
Last Changed Date: 2011-09-03 15:55:55 +0200 (Sat, 03 Sep 2011)

Path: dune-common
URL: https://svn.dune-project.org/svn/dune-common/trunk
Repository Root: https://svn.dune-project.org/svn/dune-common
Repository UUID: 419231ca-4411-0410-aba2-fc6cf8c4f609
Revision: 6491
Node Kind: directory
Schedule: normal
Last Changed Author: sander
Last Changed Rev: 6491
Last Changed Date: 2011-08-30 10:56:22 +0200 (Tue, 30 Aug 2011)


Tobias Malkmus

One or more files have been attached.

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

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