This example illustrates how to generate a fully varying ipmatc file for example_i56.
This is used for gastrointestinal modelling when wanting to produce varying excitation
curves per the Aliev cell model.
An additional perl scrip called insert_ipmatc.pl and the file ICCcmiss_mono_ref.ipmatc have
been included since both of them are used to create the final ipmatc file, here called
ICCcmiss_mono.ipmatc, for use in the simulations. This is produced by executing
perl insert_ipmatc.pl
The epsilon curve placed on the cylinder showing the variance from the botton to the top.
![]() |
Epsilon Curve varying from Botton to Top |
$LAYER = 2; # Define the geometry. gfx read node $example/domain.exnode gfx read elem $example/domain.exelem gfx read elem $example/potential.exelem gfx read elem $example/grid.exelem # Define the curves. open com $example/xi1.curve.com exec open com $example/xi2.curve.com exec open com $example/xi3.curve.com exec # Group the different layers. gfx create egroup LM add 13..16,29..32 gfx create egroup ICC add 21..24 gfx create egroup CM add 1..4,17..20,9..12,25..28,5..8 if($LAYER == 1) { $SEED_ELEMENT = 13; $GROUP = "LM"; } elsif($LAYER == 2) { $SEED_ELEMENT = 21; $GROUP = "ICC"; } elsif($LAYER == 3) { $SEED_ELEMENT = 1; $GROUP = "CM"; } # Define the curves on the layer. gfx define field xi_texture xi_texture_coordinates seed_element $SEED_ELEMENT gfx define field xi1_curve curve_lookup curve xi1 source xi_texture.1 gfx define field xi2_curve curve_lookup curve xi2 source xi_texture.2 gfx define field xi3_curve curve_lookup curve xi3 source xi_texture.3 gfx define field temp multiply fields xi1_curve xi2_curve gfx define field values multiply fields temp xi3_curve # Calculate "values" and store them. gfx evaluate egroup $GROUP destination potential source values gfx write elem values_$GROUP group $GROUP fields potential gfx write elem number_$GROUP group $GROUP fields grid_point_number # Write the values to $GROUP.txt. open com $example/parse_grid.com exec parse_grid( $GROUP ); # Delete files. unlink( "number_$GROUP.exelem" ); unlink( "values_$GROUP.exelem" );
Name Modified Size
example_i55.com 07-Jul-2006 1.5k ICCcmiss_mono_ref.ipmatc 07-Jul-2006 2.4k domain.exelem 07-Jul-2006 84k domain.exnode 07-Jul-2006 48k grid.exelem 07-Jul-2006 798k insert_ipmatc.pl 07-Jul-2006 515 parse_grid.com 07-Jul-2006 1.9k potential.exelem 07-Jul-2006 1.0M xi1.curve.com 07-Jul-2006 146 xi1.curve.exelem 07-Jul-2006 622 xi1.curve.exnode 07-Jul-2006 359 xi2.curve.com 07-Jul-2006 147 xi2.curve.exelem 07-Jul-2006 622 xi2.curve.exnode 07-Jul-2006 359 xi3.curve.com 07-Jul-2006 143 xi3.curve.exelem 07-Jul-2006 622 xi3.curve.exnode 07-Jul-2006 359
Name Modified Size
examples_i_i5_i55.tar.gz 19-Aug-2006 291k
Status | Tested | Real time (s) | |
i686-linux | |||
cmgui | Success | Wed Jul 11 01:14:48 2007 | 2 |
cmgui-debug | Success | Wed Jul 11 01:17:11 2007 | 3 |
cmgui-debug-memorycheck | Success | Wed Jul 11 01:19:26 2007 | 5 |
cmgui-debug-valgrind | Success | Tue Jul 10 06:01:56 2007 | 174 |
cmgui-motif | Success | Fri Jun 11 00:25:51 2010 | 1 |
cmgui-motif-debug | Success | Fri Jun 11 00:28:25 2010 | 2 |
cmgui-motif-debug-memorycheck | Success | Fri Jun 11 00:31:04 2010 | 3 |
cmgui-motif-debug-valgrind | Success | Fri Jun 11 01:43:36 2010 | 82 |
cmgui-wx | Success | Sun Mar 6 00:07:03 2016 | 1 |
cmgui-wx-debug | Success | Sun Mar 6 00:07:03 2016 | 1 |
cmgui-wx-debug-memorycheck | Success | Sun Mar 6 00:07:11 2016 | 2 |
cmgui-wx-debug-valgrind | Success | Sun Mar 6 00:47:09 2016 | 36 |
mips-irix | |||
cmgui | Success | Wed Jul 11 01:15:34 2007 | 9 |
cmgui-debug | Success | Wed Jul 11 01:19:30 2007 | 13 |
cmgui-debug-memorycheck | Success | Wed Jul 11 01:28:57 2007 | 35 |
cmgui-motif | Success | Wed Oct 7 02:10:22 2009 | 9 |
cmgui-motif-debug | Success | Wed Oct 7 02:13:54 2009 | 14 |
cmgui-motif-debug-memorycheck | Success | Wed Oct 7 02:23:23 2009 | 30 |
cmgui64 | Success | Wed Jul 11 01:16:04 2007 | 8 |
cmgui64-motif | Success | Wed Oct 7 02:10:27 2009 | 10 |
rs6000-aix | |||
cmgui | Success | Wed Jul 11 02:11:29 2007 | 1 |
cmgui-debug | Success | Wed Jul 11 02:13:42 2007 | 3 |
cmgui-motif | Success | Wed Mar 4 01:10:41 2009 | 2 |
cmgui-motif-debug | Success | Wed Mar 4 01:12:48 2009 | 2 |
x86_64-linux | |||
cmgui | Success | Wed Jul 11 01:12:48 2007 | 2 |
cmgui-debug | Success | Wed Jul 11 01:13:02 2007 | 1 |
cmgui-debug-memorycheck | Success | Wed Jul 11 01:13:50 2007 | 2 |
cmgui-motif | Success | Fri Jun 11 00:14:46 2010 | 1 |
cmgui-motif-debug | Success | Fri Jun 11 00:15:26 2010 | 1 |
cmgui-motif-debug-memorycheck | Success | Fri Jun 11 00:15:27 2010 | 2 |
cmgui-wx | Success | Thu Jan 7 00:01:37 2016 | 0 |
cmgui-wx-debug | Success | Thu Jan 7 00:01:38 2016 | 0 |
cmgui-wx-debug-memorycheck | Success | Thu Jan 7 00:01:38 2016 | 0 |
cmgui-wx-debug-valgrind | Success | Thu Jan 7 00:06:20 2016 | 27 |
cmgui-wx-gcc-cad-debug | Success | Tue May 24 00:16:28 2011 | 19 |
cmgui-wx-gcc-cad-debug-valgrind | Success | Thu Jan 7 00:06:04 2016 | 23 |
i686-linux | |||
Success | cmgui: | cmiss_test.log.retain. | |
Success | cmgui-debug: | cmiss_test.log.retain. | |
Success | cmgui-debug-memorycheck: | cmiss_test.log.retain. | |
Success | cmgui-debug-valgrind: | cmiss_test.log.retain. | |
Success | cmgui-motif: | cmiss_test.log.retain. | |
Success | cmgui-motif-debug: | cmiss_test.log.retain. | |
Success | cmgui-motif-debug-memorycheck: | cmiss_test.log.retain. | |
Success | cmgui-motif-debug-valgrind: | cmiss_test.log.retain. | |
Success | cmgui-wx: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug-memorycheck: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug-valgrind: | cmiss_test.log.retain. | |
mips-irix | |||
Success | cmgui: | cmiss_test.log.retain. | |
Success | cmgui-debug: | cmiss_test.log.retain. | |
Success | cmgui-debug-memorycheck: | cmiss_test.log.retain. | |
Success | cmgui-motif: | cmiss_test.log.retain. | |
Success | cmgui-motif-debug: | cmiss_test.log.retain. | |
Success | cmgui-motif-debug-memorycheck: | cmiss_test.log.retain. | |
Success | cmgui64: | cmiss_test.log.retain. | |
Success | cmgui64-motif: | cmiss_test.log.retain. | |
rs6000-aix | |||
Success | cmgui: | cmiss_test.log.retain. | |
Success | cmgui-debug: | cmiss_test.log.retain. | |
Success | cmgui-motif: | cmiss_test.log.retain. | |
Success | cmgui-motif-debug: | cmiss_test.log.retain. | |
x86_64-linux | |||
Success | cmgui: | cmiss_test.log.retain. | |
Success | cmgui-debug: | cmiss_test.log.retain. | |
Success | cmgui-debug-memorycheck: | cmiss_test.log.retain. | |
Success | cmgui-motif: | cmiss_test.log.retain. | |
Success | cmgui-motif-debug: | cmiss_test.log.retain. | |
Success | cmgui-motif-debug-memorycheck: | cmiss_test.log.retain. | |
Success | cmgui-wx: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug-memorycheck: | cmiss_test.log.retain. | |
Success | cmgui-wx-debug-valgrind: | cmiss_test.log.retain. | |
Success | cmgui-wx-gcc-cad-debug: | cmiss_test.log.retain. |
i686-linux | |||
Success | cmgui: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-debug: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-debug-valgrind: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif-debug: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif-debug-valgrind: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-wx: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-wx-debug: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-wx-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-wx-debug-valgrind: | ndiff test: no significant differences with generic answer. | |
mips-irix | |||
Success | cmgui: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-debug: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif-debug: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
Success | cmgui64: | ndiff test: no significant differences with generic answer. | |
Success | cmgui64-motif: | ndiff test: no significant differences with generic answer. | |
rs6000-aix | |||
Success | cmgui: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-debug: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif-debug: | ndiff test: no significant differences with generic answer. | |
x86_64-linux | |||
Success | cmgui: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-debug: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif-debug: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-motif-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-wx: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-wx-debug: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-wx-debug-memorycheck: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-wx-debug-valgrind: | ndiff test: no significant differences with generic answer. | |
Success | cmgui-wx-gcc-cad-debug: | ndiff test: no significant differences with generic answer. |
Graphical output from this problem is given here.
Html last generated: Sun Mar 6 05:51:40 2016
Input last modified: Mon Jul 10 10:03:38 2006