Matchete`
Matchete`

ParentModel

ParentModel["parentModel"]

is used in a model file to indicate that the model build directly on top of the parentModel file.

Details and Options

  • ParentModel["parentModel"] must be the first expression (non-comment) in a model file for the syntax to be valid.
  • ParentModel does not valuate to anything. It is used only in model files to indicate that LoadModel should load the parentModel file first.
  • parentModel must specify a valid model file following the ordinary rules for specifying model files in LoadModel.
  • The Lagrangian from the parentModel file is added to the Lagrangian specified in the current/child model file.
  • It is allowed for the parentModel file to point to a file that itself uses ParentModel to chain models together.
  • LoadModel can modify parameters and options from both the current/child file and the parentModel, using the options ModelParameters and SetModelOptions.
  • The following options can be given:
  • "Use Lagrangian" Truespecifies that the parentModel Lagrangian should be added to the Lagrangian specified in the current file.

Examples

open allclose all

Basic Examples  (1)

Many simple BSM models, such as the Singlet_Scalar_Extension provided with Matchete, build on top of the Standard Model. The SM can be loaded by using

as the first expression in a model file.

Options  (1)

"Use Lagrangian"  (1)

With "Use Lagrangian" False, the Lagrangian of parent model is not added to the child model; e.g.,

Alternative Lagrangians can therefore be specified, while still retaining the convenience of group and field definitions.

Tech Notes
  • Model Files