<p style="font-family:SimSun;">
Dear Dune community,
</p>
<p style="font-family:SimSun;">
<br>
</p>
<p style="font-family:SimSun;">
When I try to use the yaspgrid as:
</p>
<p style="font-family:SimSun;">
<br>
</p>
<span style="font-family:SimSun;"><span style="background-color:#CCCCCC;">Dune::YaspGrid<2></span><span style="background-color:#CCCCCC;"> grid({-1.0,1.0}, {-1.0,1.0}, {2,2});</span></span><span style="background-color:#CCCCCC;"></span><br>
<p>
<br>
</p>
<p>
the compiler tells me:
</p>
<p>
<br>
</p>
<p>
<span style="background-color:#CCCCCC;">error: static assertion failed: YaspGrid coordinate container template parameter and given constructor values do not match!</span><br>
<span style="background-color:#CCCCCC;"> static_assert(std::is_same<Coordinates,EquidistantOffsetCoordinates<ctype,dim> >::value</span>,<br>
</p><div>
<br>
</div>
If I replace "<span style="white-space:normal;">EquidistantOffsetCoordinates" with "EquidistantCoordinates" in yaspgrid.hh, then it is OK.</span>
<p>
What is wrong here, and how can I use yaspgrid properly?
</p>
<p>
<br>
</p>
<p>
Thanks!
</p>
<p>
<span style="font-family:SimSun;"><br>
</span>
</p>
<p>
<span style="font-family:SimSun;">--</span>
</p>
<span style="font-family:SimSun;">
<div>
Yours sincerely,
<div>
Junming Duan
</div>
</div>
</span>