Location: Deforming Heart @ b51addc2f65f / FieldML / viewheart.cmgui

Author:
Randall Britten <r.britten@auckland.ac.nz>
Date:
2010-10-15 16:56:58+13:00
Desc:
Demonstration of FieldML 0.2 beta format by Richard Christie, Caton Little and Randall Britten. FieldML 0.2 beta does have support for time varying DOFs, however, none of the FieldML 0.2 capable software has support for time varying DOFs read from FieldML, hence a workaround is used for this demonstration, and is intended to be fixed in the near future.
Permanent Source URI:
http://models.cellml.org/workspace/deformingheart/rawfile/b51addc2f65f56bddfb3b6964dd7d2dffdb53081/FieldML/viewheart.cmgui

# Note: FieldML 0.2 files can only be read into recent development versions of cmgui, available from www.cmiss.org/cmgui
#
gfx create region heart;
gfx read region heart.xml region heart;
# need to define faces and lines to visualise
gfx define faces egroup heart;
gfx modify g_element heart general clear;
gfx modify g_element heart lines coordinate heart_mesh.coordinates exterior;
gfx modify g_element heart surfaces coordinate heart_mesh.coordinates exterior material muscle;
gfx create window 1;
gfx modify window 1 set perturb_lines;