On Sep 1, 2010, at 4:22 PM, Roy Stogner wrote:
> This all sounds good except for the map - what would
> paralleltype_map["vector_name"] get you that
> get_vector("vector_name").type() doesn't?
You're thinking too far down the path. When you call add_vector() the vector
doesn't (normally) get created or inited right then. That initialization is
when the ParallelType gets set. You have to store a map of
vectors->ParallelType _between_ the calls to add_vector() and init_data()! I
don't see any other way....
I'm not going to add an accessor for paralleltype_map BTW... because like you
say users can get that information already. This is internal bookkeeping.
Derek
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel