Dear all,

Parallel::max() (and other parallel functions) assume, when a vector 
is supplied, that std::vector stores all its elements consecutively. 
Does the STL guarantee that this is true, or is this just an 
assumption that you make?

(I'm asking because I need to do some things like this an a context 
without libMesh, and I have dealt a lot with converting a std::vector 
to a C array in earlier times because I was unable to find a piece of 
information that guarantees that I can safely to what you are doing.)

Best Regards,

Tim

-- 
Dr. Tim Kroeger                                        Phone +49-421-218-7710
[EMAIL PROTECTED], [EMAIL PROTECTED]  Fax   +49-421-218-4236

MeVis Research GmbH, Universitaetsallee 29, 28359 Bremen, Germany

Amtsgericht Bremen HRB 16222
Geschaeftsfuehrer: Prof. Dr. H.-O. Peitgen

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to