Skip to content

Python interface to access OGS mesh

Tom Fischer requested to merge TomFischer/ogs:PythonMeshInterface into master

Following properties of a MeshLib::Mesh can be accessed by the OGSMesh python wrapper:

  • coordinates of the mesh nodes
  • cell information (vtk cell types and the node ordering are used)
  • properties assigned to MeshItemType::Node and MeshItemType::Cell can be read
  • properties assigned to cells can be set
  • properties assigned to nodes/points can be set
  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
    • functionality will be tested using FINAM
  3. Any new feature or behavior change was documented?


  • Python ctest
Edited by Tom Fischer

Merge request reports