Skip to content

Add more python tutorials

Max Orok requested to merge python-tutorials into master

Add more Python tutorials to the demos/api directory.

  • t7.py
  • t8.py
  • t9.py
  • t11.py
  • t15.py
  • t17.py

Also add a new API function: gmsh::model::mesh::field::fromView.

I had trouble setting up background fields in t7 and t17, because properly making a field from a view is somewhat tricky (you have to know what options to set, etc.)

This function takes care of setting up a new field from a given view tag, so the user doesn't have to worry about the right setup steps and can set that field as a background mesh right away.

Merge request reports