guillaumetousignant / NDG_cuda

MIT License
1 stars 0 forks source link

Output doesn't work with one point per element #9

Closed guillaumetousignant closed 3 years ago

guillaumetousignant commented 3 years ago

If "--n_points 1" is given as an argument, nothing shouws in the output file in paraview.

guillaumetousignant commented 3 years ago

Works with two points.

guillaumetousignant commented 3 years ago

The interpolation matrices are all NaN when created with one point!

guillaumetousignant commented 3 years ago

There is also the element interpolation that gets a Nan coordinate.

guillaumetousignant commented 3 years ago

Finally, the vtk grid output doesn't work with only one point.

guillaumetousignant commented 3 years ago

Ok one point doesn't work like all other numbers of points at all, because for output we make cells from the points, but with ont point it gets weird. Now enforcing a minimum of two points.