Example b123: Noble 98

Example b123 - Single cell Noble 98 This example solves the Noble 98 ionic current model for a single cell (one grid point). The results are written to a CMISS binary signal file, before being exported to a UnEMAP signal file.


The comfile run by this example is as follows:

# Example b123 - Single cell Noble 98 ionic current model

fem def para;r;n98;example

fem def no;d
fem def base;d
fem def elem;d
fem def grid;d
fem update grid geom
fem update grid metric

fem def equa;r;n98;example

fem def cell;r;n98;example
fem def mate;r;n98;example cell
fem def mate;r;n98;example
fem update grid material

fem def init;r;n98;example

fem def solv;r;n98;example

fem solve to 0

fem open history;test write variables yqs niqslist 1 binary

for $HUN ( 0..4 ) 
{
for $TEN ( 0..9 ) 
{
for $UNIT ( 0..9 ) 
{
#  Solve for the current time
fem solve restart to "${HUN}${TEN}$UNIT"

#  Write the membrane potential to the history file
fem write history time "${HUN}${TEN}$UNIT" variables yqs binary
}
}
}



#  Close the history file
fem close history binary

fem evaluate electrode;test history test from grid yqs iy 1 binary

fem define export;r;n98;example

fem export signal;test electrode signal test

if ($TESTING) {
    fem compare signal;test basis both masterfile $example/test comparefile test binary;
}

Files used by this example are:

Name              Modified     Size

example_b123.com 21-Jan-2003 1.0k n98.ipcell 10-Apr-2000 9.2k n98.ipequa 26-May-2003 1.4k n98.ipexpo 10-Apr-2000 726 n98.ipinit 10-Apr-2000 213 n98.ipmatc 29-Jan-2003 379 n98.ipmate 10-Apr-2000 2.3k n98.ippara 12-Nov-2002 5.9k n98.ipsolv 21-Jan-2003 1.3k n98.ipsolv.old 10-Apr-2000 1.3k n98_old.ipcell 10-Apr-2000 9.1k test.binsig 21-Jan-2003 19k

Download the entire example:

Name                           Modified     Size

examples_b_b1_b12_b123.tar.gz 19-Aug-2006 12k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:03:41 20164
cm-debugSuccessSat Mar 5 00:18:02 20168
mips-irix
cmSuccessSun Aug 19 02:04:44 200735
cm-debugSuccessWed Aug 15 02:05:52 200794
cm-debug-clear-mallocSuccessSat Aug 18 02:20:28 2007100
cm-debug-clear-malloc7SuccessMon Aug 20 02:20:02 200798
cm64SuccessSun Aug 19 02:05:21 200735
cm64-debugSuccessTue Aug 21 02:07:36 2007100
cm64-debug-clear-mallocSuccessThu Apr 1 11:09:33 200443
rs6000-aix
cmSuccessWed Mar 4 01:09:44 20092
cm-debugSuccessMon Mar 2 01:16:21 200926
cm64SuccessWed Mar 4 01:09:45 20093
cm64-debugSuccessTue Mar 3 01:19:12 200927
x86_64-linux
cmSuccessSun Mar 6 00:01:10 20162
cm-debugSuccessSat Mar 5 00:02:05 20165

Testing status by file:


Html last generated: Sun Mar 6 05:51:04 2016

Input last modified: Mon May 26 18:03:42 2003


CMISS Help / Examples / b / b1 / b12 / b123