Hi,

I can not reproduce that problem by only changing that single line in step-40.
Are you using deal-7.0 or the svn?
Do you have any other changes in step-40?
Are you running in debug mode?
How many processors are you running on?

Best,
Timo

On Tue, Mar 1, 2011 at 11:11 AM, Minh Do-Quang <[email protected]> wrote:
> Hi,
> It seems the
> function parallel::distributed::GridRefinement::refine_and_coarsen_fixed_number
> doesn't  work with a small number of top_fraction_of_cells.
> For example, in step-40, if I use the top_fraction_of_cells=0.02 instead
> of 0.3 as default. The program will crash.
> 657   parallel::distributed::GridRefinement::
> 658     refine_and_coarsen_fixed_number (triangulation,
> 659                                      estimated_error_per_cell,
> 660                                      0.02, 0.001);
> --------------------------------------------------------
> An error occurred in line <103> of file
> </Users/minh/prog/deal.II/source/base/subscriptor.cc> in function
>     virtual dealii::Subscriptor::~Subscriptor()
> The violated condition was:
>     counter == 0
> The name and call sequence of the exception was:
>     ExcInUse (counter, object_info->name(), infostring)
> Additional Information:
> Object of class N6dealii16StraightBoundaryILi2ELi2EEE is still used by 255
> other objects.
>   from Subscriber N6dealii13TriangulationILi2ELi2EEE
> But it will OK if I ran it on 1 processor.
> Do you have any clues ?
> Thanks for your time,
> / Minh
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
>
>



-- 
Timo Heister
http://num.math.uni-goettingen.de/~heister
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to