On Fri, 26 Feb 2010, Andre Luis Rossa wrote:

>> You'll want to reinitialize that vector as GHOSTED or
>> SERIAL if you need each processor to be able to directly access ghost
>> DoF values or all values, respectively.
>
> Roy,
> I haven't found a method to reinitialize the additional vector as you have 
> said me to do.
> I've tried NumericVector::init(const unsigned int, const unsigned int, 
> const bool) or tried NumericVector::init(const unsigned int, const bool) 
> passing the global mesh numbers but it haven't worked.

That should have worked to give you a SERIAL vector.  But bear in mind
that no matter what kind of vector you build, you'll have to handle
synchronizing it across processors yourself.  Which is currently a bit
of a hack in libMesh - see the "temporary parallel vector" code in
system_projection.C for an example.
---
Roy

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to