On Thu, 15 Jan 2009, Roy Stogner wrote:

>> (A local-to-global mapping seems to be provided by PETSc.)
>
> Interesting - like a sparsity pattern for vectors.  Is it shared
> between multiple vectors?

I think yes, but I'm not sure.

>> My idea would be that PetscVector creates the global-to-local mapping (for 
>> the ghost cells only) itself (and stores it, e.g. as a std::map<unsigned 
>> int, unsigned int>).  This should still save a lot of memory compared with 
>> the serial vector version.
>
> Sounds like the best we can do.  Maybe typedef the container to make
> it easier for us to play with map vs. hash_map performance for it.

Okay.  (I've not done much yet, though.)

Best Regards,

Tim

-- 
Dr. Tim Kroeger
[email protected]            Phone +49-421-218-7710
[email protected]            Fax   +49-421-218-4236

Fraunhofer MEVIS, Institute for Medical Image Computing
Universitaetsallee 29, 28359 Bremen, Germany


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to