<html>#2471: Carpet: npoints[d] <= max  issue
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Lunan Sun</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Carpet</td></tr>
</table>

<p>Hi,</p>
<p>I have set my dx=0.0015 with xmax/xmin = 15/-15, which results 2000 grid points across.</p>
<p>Then I get the following message:</p>
<p>void Carpet::calculate_grid_points(int, const vect&lt;vect&lt;int, 3&gt;, 2&gt; &amp;, const vect&lt;double, 3&gt; &amp;, const vect&lt;double, 3&gt; &amp;, const vect&lt;double, 3&gt; &amp;, vect&lt;int, 3&gt; &amp;): Assertion `npoints[d] &lt;= max' failed.</p>
<p>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?</p>
<p>‌</p>
<p>Thanks</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2471/carpet-npoints-d-max-issue'>https://bitbucket.org/einsteintoolkit/tickets/issues/2471/carpet-npoints-d-max-issue</a></p>
</html>