Matchete`
Matchete`
ParameterDefault
ParameterDefault[parameter defaultValue]
is used to indicate a default value for a parameter in a model file if the user does not supply a value during a loading.
Details and Options
- ParameterDefault does not evaluate to anything. It is used only in model files to indicate if a certain value should be used for a parameter during loading with LoadModel.
- If ParameterDefault can be used in a child model to set a value of a parameter from a ParentModel.
- If ParameterDefault is used for the same parameter in both child and ParentModel, the child value is used when using LoadModel.
- The defaultValue of parameter set by ParameterDefault is superseded if the user provides an explicit parameter value with with the option ModelParameters in LoadModel.
Examples
Basic Examples (1)
The StandardModel file provided with Matchete contains the line
which sets the default range for the flavor index to 3 (meaning three generations of fermion fields) if no other value is specified by the user as part of LoadModel.
Tech Notes
▪