Hello Alexander,
there is probably something wrong with your triangulation. However, with
this segment of code we can hardly say more.
Best Regards,
Markus
On 07.05.2012 09:48, Alexander Grayver wrote:
Hello,
I solve 3D problem. Doing
/try
{
triangulation.refine_global(7);
}
catch (std::exception &exc)
{
std::cerr <<
"\n\n----------------------------------------------------" << std::endl;
std::cerr << "Exception on processing: \n" << exc.what() <<
"\nAborting!\n"
<< "----------------------------------------------------" << std::endl;
return 1;
}/
I get:
/Exception on processing:
std::bad_alloc/
I know this results in around 2 millions of cells, however I work on
PC with 64 GB of RAM and two quad core high end CPUs, I guess this is
enough for that problem.
The exception is thrown in both debug and optimized versions.
Any ideas why does that happen?
Thanks.
--
Regards,
Alexander
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii