weac.components.config module

Configuration for the WEAC simulation. These settings control runtime parameters for WEAC. In general, developers maintain these defaults; end users should see a stable configuration.

We utilize the pydantic library to define the configuration.

Pydantic syntax is for a field: field_name: type = Field(…, gt=0, description=”Description”) - typing, default value, constraints, description

class weac.components.config.Config(*, touchdown=False)[source]

Bases: BaseModel

Configuration for the WEAC simulation.

Parameters:

touchdown (bool)

touchdown

Whether slab touchdown on the collapsed weak layer is considered.

Type:

bool

touchdown: bool
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].