lizhen-dlut / solfec

Automatically exported from code.google.com/p/solfec
0 stars 0 forks source link

Remove spurious tet mesh warnings on SPLIT() #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
SPLIT() raises a warning as follows, even when the split is done along element 
boundaries and no remeshing occurs:

WARNING lng.c: 6441 =>
Mesh splitting may generate a modified tetrahedral mesh in place of the input 
one.
The meshing is randomized and it may generate different results for the same 
input.
Use TETRAHEDRALIZE in order to refine and save the generated mesh parts.

Is it possible to only raise this warning when a tet mesh actually *has* been 
generated?

It might also be useful for SPLIT() to take an optional parameter (e.g. 
remeshing='ON'|'OFF') which controls whether, if remeshing would be required, 
SPLIT() a) remeshes or b) raises an error

Original issue reported on code.google.com by steve.br...@atkinsglobal.com on 22 Aug 2012 at 10:21

GoogleCodeExporter commented 8 years ago
This has been fixed in the current commit, together with the suggestion of 
having another argument (remesh).

Original comment by t.kozi...@gmail.com on 4 May 2013 at 2:17