$totallayer2
出自 DDCC TCAD TOOL Manual
$RCWAtotallayer required setting tag the layer number of the device. This layer number needs to be set in the beginning of input file. It is different from $totallayer, it is for the RCWA to use.
Example
$RCWAtotallayer
5