Single Cell cubic This example solves the cubic model.
# Example b124 - Single cell cubic # 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 para;r;$example/test; #Define geometry of the problem # Define underlying geometry fem define base;d; fem define node;d; fem define elem;d; # Define grid geometry fem define grid;d; fem update grid geometry; fem update grid metric; #Define equation to solve # Define monodomain with HH kinetics fem define equa;r;$example/cubic; #Define material properties for the problem # Define cellular material properties fem define cell;r;$example/cubic; # Define the continuum material parameters fem define mate;r;$example/test; fem update grid material; #Define continuum initial conditions # Set no-flux boundary condition fem define init;r;$example/cubic; #Define the explicit solve, using the adams integrator fem def solv;r;$example/test; #Solve the problem # Initialise the solve fem solve to 0; # Open a binary history file to store the membrane potential, # the h, m, and n gates and the three currents: INa, IK, and Il and # the stimulus current fem open history;test write variables yqs niqslist 1 binary; # Loop through time $Tend = 100; $dt = 1.0; for ($time=0;$time<$Tend;$time+=$dt) { # Solve for the current time fem solve restart to $time; # Write the membrane potential to the history file fem write history time $time variables yqs binary; } # Close the history file fem close history binary; # Calculate the binary signal file from the history file # for the membrane potential (YQS(1)) fem evaluate electrode;test history test from grid yqs iy 1 binary; # Define UnEmap export properties fem define export;r;$example/test; # Define names for the signals fem define leads;r;$example/test; # Export the binary signal file to UnEmap fem export signal;test leads signal test; # For testing we compare the generated CMISS signal files if ($TESTING) { fem compare signal;test basis both masterfile $example/test comparefile test binary; }
Name Modified Size
example_b124.com 07-Feb-2003 2.1k cubic.ipcell 06-Feb-2003 1.7k cubic.ipequa 26-May-2003 1.4k cubic.ipinit 06-Feb-2003 498 test.binsig 07-Feb-2003 4.0k test.ipexpo 06-Feb-2003 658 test.iplead 06-Feb-2003 356 test.ipmatc 06-Feb-2003 430 test.ipmate 06-Feb-2003 3.2k test.ippara 06-Feb-2003 5.9k test.ipsolv 06-Feb-2003 897
Name Modified Size
examples_b_b1_b12_b124.tar.gz 19-Aug-2006 6.9k
Status | Tested | Real time (s) | |
i686-linux | |||
cm | Success | Sun Mar 6 00:02:09 2016 | 0 |
cm-debug | Success | Sat Mar 5 00:04:13 2016 | 1 |
mips-irix | |||
cm | Success | Sun Aug 19 01:33:10 2007 | 7 |
cm-debug | Success | Wed Aug 15 01:28:25 2007 | 10 |
cm-debug-clear-malloc | Success | Sat Aug 18 01:37:39 2007 | 14 |
cm-debug-clear-malloc7 | Success | Mon Aug 20 01:28:43 2007 | 14 |
cm64 | Success | Sun Aug 19 01:33:11 2007 | 6 |
cm64-debug | Success | Tue Aug 21 01:25:32 2007 | 10 |
cm64-debug-clear-malloc | Success | Thu Apr 1 11:09:07 2004 | 5 |
rs6000-aix | |||
cm | Success | Wed Mar 4 01:07:32 2009 | 1 |
cm-debug | Success | Mon Mar 2 01:06:26 2009 | 2 |
cm64 | Success | Wed Mar 4 01:07:32 2009 | 1 |
cm64-debug | Success | Tue Mar 3 01:12:15 2009 | 2 |
x86_64-linux | |||
cm | Success | Sun Mar 6 00:01:04 2016 | 1 |
cm-debug | Success | Sat Mar 5 00:01:34 2016 | 1 |
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:05 2016
Input last modified: Mon May 26 18:03:54 2003