On Mon, 12 Jan 2009, Tim Kroeger wrote:

> Please find attached a small test program.  It initializes a system and then 
> localizes the solution (without solving anything, just to keep the example 
> short).  At least this is what the program is supposed to do.  What it really 
> does is: It inizializes a system and then crashes.  What did I do wrong?  (I 
> have to admit that I never used localize() before, so I might not have 
> understood how to use it correctly.)

I solved the problem myself.  I forgot to initialize and close the 
vector.  Adding

   vector->init(system.solution->size(), system.solution->size());
   vector->close();

before the call to localize() made the program work.

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


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to