Units
Physical models, like the SF6O2 or Fluorocarbon etching models, require the user to specify the units of the input parameters. The user must set the length and time units before creating a model using the units
module. The units are global parameters and apply to every model and process in the program.
Example usage:
C++
using namespace viennaps;
units::setLengthUnits(units::LengthUnit::NANOMETER)
units::setTimeUnits(units::TimeUnit::MINUTE)
// the units can also be specified using strings
units::setLengthUnits("nm") // or "nanometer"
units::setTimeUnits("min") // or "minute"
Python
# in Python strings have to be used to set the units
vps.setLengthUnits("nm") # or "nanometer"
vps.setTimeUnits("min") # or "minute"