Open d-m-bailey opened 2 years ago
Should be simple enough to fix. . .
Okay, straightforward but not simple. The -noflatten
option only works on the script level and has not correspondence in the netgen code. I will need to implement some command line option like flatten <cell> prohibit
and build up a list of cells that can be checked against during prematch or after a failed match to prohibit flattening.
Okay, I am implementing what I mentioned above (almost): flatten prohibit <cell>
or flatten deny <cell>
will mark a cell as a placeholder, which will prevent it from being flattened. The command option will be called for each cell specified by the -noflatten
option, although the command can also be put in the setup file (which would render the -noflatten
option unnecessary).
I have coded this up but I need to test it because I have questions around the use of the placeholder flag vs. setting the cell class to type "module"; these two are related but I forget the circumstances under which each is used. I'll post an update tomorrow (ping me if I don't).
Fixed in version 1.5.228. -noflatten
will now call a new command line option flatten prohibit <cell_name>
which then prohibits cells from being flattened at any time during a comparison.
I also discovered another bug in which the -noflatten=<cell_name>
syntax does not work (only works with a file name) and fixed that as well.
Specifying cells with the
-noflatten
option should prevent those cells from being flattened.However, if there is a difference in the cell counts, netgen will flatten cells regardless of whether or not they're tagged
noflatten
.Netgen 1.5.227
From the stdout:
From the lvs report: