[Gmsh] Setting the data source from a POS file

Matt Salveson salveson at ecs.csus.edu
Mon Jun 29 06:28:46 CEST 2009


I want to be able to plot stress contours to a deformed mesh.  This is 
somewhat addressed in the FAQ in the GMSH user's manual (question 7.6).  
I can do this interactively from the GUI by setting the data source to 
point to the correct view (this works well).  However, I cannot seem to 
find a script command to add to a POS  file that does this.  For 
example, to use View 0 as the data source for View 1, there should be 
something like :

View[1].DataSource = 0;

Any suggestions?