### definition change in usage of GridWriter, details ask rainer

parent 8c0fc620
 ... ... @@ -38,9 +38,9 @@ namespace AMDiS { * Produces a grid-based output of a dof-vector or vector of dof-vectors * \param p array of world coordinates. * - p defines origin of grid-system. * - p defines first basis vector by p - p. * - p defines second basis vector by p - p (dim >= 2). * - p defines third basis vector by p - p (dim == 3). * - p defines first basis vector by p relatively to p. * - p defines second basis vector by p relatively to p. (dim >= 2). * - p defines third basis vector by p relatively to p. (dim == 3). * \param numPoints number of grid points for the different dirctions * - numPoints number of grid points in the first direction * - numPoints number of grid points in the second direction ... ...
 ... ... @@ -48,7 +48,7 @@ namespace AMDiS { // get basis of grid for (int i = 0; i < dim; i++) { for (int j = 0; j < dim; j++) { basis[i][j] = p[i + 1][j] - p[j]; basis[i][j] = p[i + 1][j] ; lengthBasis[i] += basis[i][j] * basis[i][j]; } lengthBasis[i] = sqrt(lengthBasis[i]); ... ... @@ -160,7 +160,7 @@ namespace AMDiS { // get basis of grid for (int i = 0; i < dim; i++) { for (int j = 0; j < dim; j++) { basis[i][j] = p[i + 1][j] - p[j]; basis[i][j] = p[i + 1][j] ; lengthBasis[i] += basis[i][j] * basis[i][j]; } lengthBasis[i] = sqrt(lengthBasis[i]); ... ...
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!