Skip to content
Snippets Groups Projects
Commit 790af3be authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing method write in tnlGrid.

parent 8ba02696
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ bool tnlGrid< 2, Real, Device, Index> :: write( const MeshFunction& function,
for( IndexType i = 0; i < getDimensions(). x(); i++ )
{
const RealType x = this -> getLowerCorner(). x() + i * hx;
const RealType y = this -> getLowerCorner(). y() + i * hy;
const RealType y = this -> getLowerCorner(). y() + j * hy;
file << x << " " << " " << y << " " << function[ this -> getNodeIndex( j, i ) ] << endl;
}
file << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment