This example solves the BRDR defibrillation model, defined by a CellML version of the model.
NOTE: This example requires a CellML 1.0 enabled version of CMISS to run.
# If the example path is not set, default to current directory if (! defined $example) { $example = "./"; } # Drop off the trailing / in the example path $chopped = chop $example; if ($chopped ne "/") { $example .= $chopped; } fem define parameters;r;$example/cellml; fem define node;d; fem define bas;d; fem define elem;d; fem define grid;d; fem update grid geometry; fem update grid metric; fem define equation;r;$example/cellml; fem define cell;r;$example/BRDR_defib; fem define material;d cell; fem define material;d; fem update grid material; fem define initial;d; fem define solve;r;$example/lsoda; fem solve to 0; fem open history;BRDR_defib write variables yqs niqslist 1..12 binary; $Tend = 1500; $dt = 1.0; for ($time=0;$time<$Tend;$time+=$dt) { fem solve restart to $time; fem write history time $time variables yqs binary; } fem close history binary; fem evaluate electrode;BRDR_defib history BRDR_defib from grid yqs iy 1..12 binary; fem define export;r;$example/BRDR_defib; fem export signal;BRDR_defib electrodes signal BRDR_defib names cell; # For testing we compare the generated CMISS signal files if ($TESTING) { fem compare signal;BRDR_defib basis both masterfile $example/BRDR_defib comparefile BRDR_defib binary; }
Name Modified Size
BRDR_defib.com 29-Jul-2003 1.2k BRDR_defib.binsig 29-Jul-2003 122k BRDR_defib.cml 05-Oct-2003 56k BRDR_defib.ipcell 29-Jul-2003 4.2k BRDR_defib.ipexpo 29-Jul-2003 658 cellml.ipequa 29-Jul-2003 1.5k cellml.ippara 29-Jul-2003 5.9k lsoda.ipsolv 29-Jul-2003 1.2k
Name Modified Size
examples_cellml_BRDR_defib.tar.gz 19-Aug-2006 75k
Status | Tested | Real time (s) | |
i686-linux | |||
cm | Success | Sun Mar 6 00:04:29 2016 | 4 |
cm-debug | Success | Sat Mar 5 00:18:16 2016 | 7 |
mips-irix | |||
cm | Success | Sun Aug 19 02:49:14 2007 | 72 |
cm-debug | Success | Wed Aug 15 02:26:12 2007 | 132 |
cm-debug-clear-malloc | Success | Sat Aug 18 02:43:15 2007 | 134 |
cm-debug-clear-malloc7 | Success | Mon Aug 20 02:41:54 2007 | 143 |
cm64 | Success | Sun Aug 19 02:49:28 2007 | 72 |
cm64-debug | Success | Tue Aug 21 02:25:48 2007 | 132 |
cm64-debug-clear-malloc | Success | Thu Apr 1 11:34:55 2004 | 64 |
rs6000-aix | |||
cm | Success | Wed Mar 4 01:14:26 2009 | 11 |
cm-debug | Success | Mon Mar 2 01:12:49 2009 | 24 |
cm64 | Success | Wed Mar 4 01:14:46 2009 | 11 |
cm64-debug | Success | Tue Mar 3 01:19:42 2009 | 24 |
x86_64-linux | |||
cm | Success | Sun Mar 6 00:01:14 2016 | 3 |
cm-debug | Success | Sat Mar 5 00:02:00 2016 | 4 |
i686-linux | |||
Success | cm: | cmiss_test.log.retain. | |
Success | cm-debug: | cmiss_test.log.retain. | |
mips-irix | |||
Success | cm: | cmiss_test.log.retain. | |
Success | cm-debug: | cmiss_test.log.retain. | |
Success | cm-debug-clear-malloc: | cmiss_test.log.retain. | |
Success | cm-debug-clear-malloc7: | cmiss_test.log.retain. | |
Success | cm64: | cmiss_test.log.retain. | |
Success | cm64-debug: | cmiss_test.log.retain. | |
Success | cm64-debug-clear-malloc: | cmiss_test.log.retain. | |
rs6000-aix | |||
Success | cm: | cmiss_test.log.retain. | |
Success | cm-debug: | cmiss_test.log.retain. | |
Success | cm64: | cmiss_test.log.retain. | |
Success | cm64-debug: | cmiss_test.log.retain. | |
x86_64-linux | |||
Success | cm: | cmiss_test.log.retain. | |
Success | cm-debug: | cmiss_test.log.retain. |
i686-linux | |||
Success | cm: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug: | ndiff test: no significant differences with generic answer. | |
mips-irix | |||
Success | cm: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug-clear-malloc: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug-clear-malloc7: | ndiff test: no significant differences with generic answer. | |
Success | cm64: | ndiff test: no significant differences with generic answer. | |
Success | cm64-debug: | ndiff test: no significant differences with generic answer. | |
Success | cm64-debug-clear-malloc: | ndiff test: no significant differences with generic answer. | |
rs6000-aix | |||
Success | cm: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug: | ndiff test: no significant differences with generic answer. | |
Success | cm64: | ndiff test: no significant differences with generic answer. | |
Success | cm64-debug: | ndiff test: no significant differences with generic answer. | |
x86_64-linux | |||
Success | cm: | ndiff test: no significant differences with generic answer. | |
Success | cm-debug: | ndiff test: no significant differences with generic answer. |
Html last generated: Sun Mar 6 05:51:18 2016
Input last modified: Sun Oct 5 13:44:57 2003