Programmatic access to the visualization mesh creation
Hi,
Given an input mesh with a high-order polynomial field defined on it, I would like to obtain the visualization mesh created by Gmsh, given the user-defined tolerance and the maximum subdivision level. This is possible from the GUI, but I am interested in doing it programmatically.
Investigating the source code, I could not figure out which function/class is responsible for the adaptive subdivision. My closest guess is the adaptiveElements
class. Could you please provide an example or point me to an existing tutorial that demonstrates its usage?
My other question is: how can I access the adaptive subdivision functionality through the Python API? My search on the suspected key method adaptiveElements::addInView
did not yield use cases from the /api directory. Is it really not exposed?
Thank you