Skip to content

plaid.constants

plaid.constants

Define common constants used throughout the PLAID library.

It includes:

  • AUTHORIZED_TASKS: List of supported task types, such as regression and classification.
  • AUTHORIZED_FEATURE_TYPES: List of supported feature types, such as scalar, field, and nodes.
  • AUTHORIZED_FEATURE_INFOS: Dictionary specifying allowed metadata keys for feature types.
  • CGNS_FIELD_LOCATIONS: List of valid field locations as defined by the CGNS standard.
  • CGNS_ELEMENT_NAMES: List of CGNS element names representing mesh element types.

These constants help standardize metadata, task types, and mesh element references across the PLAID codebase.