Are there reserved variables in CST, for example, the speed of light, mass and charge of an electron? What value for the speed of light is used in CST?
Yes, there are reserved variables in CST Studio Suite 2021. Reserved variables are predefined variables that have special meaning to CST Studio Suite and cannot be used for other purposes.
The following is a list of reserved variables in CST Studio Suite 2021:
__LINE__ - The current line number in the CST Studio Suite script. __FILE__ - The full path to the current CST Studio Suite script file. __VERSION__ - The version of CST Studio Suite that is being used. __DATE__ - The date on which the CST Studio Suite script was compiled. __TIME__ - The time at which the CST Studio Suite script was compiled.
In addition to these reserved variables, CST Studio Suite also defines a number of other variables that are used for internal purposes. These variables are not officially reserved, but it is best to avoid using them in your own scripts, as they may change in future versions of CST Studio Suite.
For example, the following variables are used by CST Studio Suite to store information about the current project:
project_name - The name of the current project. project_path - The full path to the current project directory.
It is best to avoid using these variables in your own scripts, as they may change in future versions of CST Studio Suite.
If you are unsure whether a particular variable is reserved, you can consult the CST Studio Suite documentation.