ProjectParameters¶
This section can contain various global definitions of parameters, that can be used throughout templated project files with the following type-dependent syntax:
%(parameter_name)dfor integer parameters (also valid for arrays)%(parameter_name)efor double parameters (also valid for complex double arrays)%(parameter_name)sfor string parameters.
JCMcontrol reads the content of the file in order to generate proper input files for JCMgeo or JCMsolve.
Note
In order to generate data analysis scipts in JCMcontrol at least one project parameter has to be defined first.
New parameters can be easily created by right-clicking on a primitive name and selecting “Create parameter…”.
For example, right-click on dimension primitives (e.g. Width or Height) in the file layout.jcm to set shape parameters.
Then, generate a parameter scan to inspect, how the properties of the system depend on the shape parameters.
For example, the parameter definition in project.jcmp.para
ProjectParameters {
myWidth = 30
myHeight = 20
}
allows to use the parameter value in the |layout.jcmt| file as
...
Parallelogram {
Width = %(myWidth)e
Height = %(myHeight)e
DomainId = 1
}
...
In the course of triangulating or solving the project, JCMcontrol generates the proper input file layout.jcm that can be interpreted by JCMgeo or JCMsolve
...
Parallelogram {
Width = 30
Height = 20
DomainId = 1
}
...