Context (materials distribution and boundary conditions)

Context class couples analyses with the material distribution and boundary conditions.

class PyGeoStudio.Context(prop=None)
Parameters:
  • AnalysisID (int) – ID of the analysis to apply this context. Handle automatically by PyGeoStudio. Do not change until you know what you are doing.

  • GeometryUsesMaterials (dict) – Material distribution as a dictionnary such as {"region_name_1" : mat_id_1, "region_name_2" : mat_id_2, ...}

  • HydraulicBCDistribution (dict) – Distribution of the hydraulic boundary condition as a dictionnary such as {}