$RCWAtotallayer
出自 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.
In addition, layer1, layer_{RCWAtotallayer}, layer_{RCWAtotallayer-1}, and layer_{RCWAtotallayer-2} should be homogeneous.
Example
$RCWAtotallayer
8