ParameterΒΆ
| Type: | section | 
|---|---|
| Appearance: | multiple | 
This section is used to define the parameter dictionary which is passed from JCMsolve to the user defined python script. We distinguish three types of parameters:
- strings
- vectors of complex numbers
- tensor fields
The tensor field parameters are used to pass tensor field quantities as defined in the files materials.jcm and sources.jcm, or as defined within a JCM-fieldbag. The vector parameters have arbitrary size. They are also used to define scalar values.
The following example shows how to define a parameter dictionary containing a string, a vector and a tensor field parameter:
...
# define a string parameter named "MyString"
Parameter {
  Name = "MyString"
  StringValue = ...
}
# define a complex vector parameter name "MyVector"
Parameter {
  Name = "MyVector"
  VectorValue = [...]
}
# define a tensor field parameter name "MyTensorField"
Parameter {
  Name = "MyTensorField"
  FieldValue {
     ...
  }
}
The syntax for the specification of the tensor field parameter is given in the subsequent section FieldValue.