#2471: Carpet: npoints[d] <= max issue
Reporter:Lunan Sun
Status:new
Milestone:
Version:
Type:bug
Priority:major
Component:Carpet

Hi,

I have set my dx=0.0015 with xmax/xmin = 15/-15, which results 2000 grid points across.

Then I get the following message:

void Carpet::calculate_grid_points(int, const vect<vect<int, 3>, 2> &, const vect<double, 3> &, const vect<double, 3> &, const vect<double, 3> &, vect<int, 3> &): Assertion `npoints[d] <= max' failed.

It seems that my number of grid points has exceed the INT_MAX limit. What’s the best way to solve this if I prefer the preserve the grid size?

‌

Thanks

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2471/carpet-npoints-d-max-issue