#1547 Check whether VTK PolygonalData is used - and if so test it
While refactoring a bit the Geometry to better take into account the items needed by Ghost only elements (#1545 (closed)), I stumbled on this one: an assert present in the WriteFile() method didn't make sense:
assert(coords_list.size() == 3);
instead of:
assert(geom_elt_coords_list.size() == 3);
This tells me that:
- Either this code is absolutely never used.
- Or it is used in a Model for which there was an unhealthy habit of Gautier running them only in release mode.
@jediaz As you are the one working on the Models developed originally, could you have a look and see if they are used? If not, I'm not sure it's a good idea to keep this, and if it is used, I would like it to be tested properly (I'm positive about the assert: the original one didn't make sense...)