Overview of Parameters.jl features
masterParameters.jl is designed for handling numerical-model parameters and provides several key capabilities:
- Keyword Constructors: Use
@with_kwto define types with default values and keyword-based instantiation. - Assertions: Allows defining assertions on field values directly within the type definition.
- Type-based Defaults: Supports creating type instances that inherit defaults from another existing type instance.
- Packing/Unpacking: Provides
@unpack_*(specific to a type) and generic@unpack/@pack!macros for moving data between types and variables. - Constant Definition: Use
@constsfor bulk constant declaration.