Example e1: A simple circular slice example

Simple forward simulation using a circular slice. The inner circle represents the epicardium and the outer the body surface.


The comfile run by this example is as follows:

# Example e1
# ----------
#


fem def base;r;circslice;example
fem def mesh;r;;example                      #Defines a circular slice (i.e annulus).


#
#----------------------------#
# Setup equations
#----------------------------#
#
fem def equa;r;;example                      #Laplace equation.
fem def mate;r;;example
fem def init;r;;example                      #Fixes pot on inner surface (as per x^2 - y^2) 
#                                            # and no flux on the outer surface.
fem def solv;r;;example
fem solve

Additional testing commands:

fem list init
fem def trans;r;;example                     
fem eval transfer svd                        #Evaluates transfer matrix, checks the
                                             # solution and gives the singular values.
fem apply transfer                           #Applies transfer matrix to the potentials.
fem li init
fem def inve;r;;example  
fem evaluate inverse svd                     #Performs inversion and returns 
                                             # singular values.
fem apply inverse                            #Applies inverse to the solution.
fem list init


Files used by this example are:

Name              Modified     Size

example_e1.com 20-Nov-2001 532 circslice.ipanal 10-Apr-2000 529 circslice.ipbase 10-Apr-2000 1.2k circslice.ipequa 26-May-2003 1.1k circslice.ipinit 10-Apr-2000 4.5k circslice.ipinve 06-Dec-2001 581 circslice.ipmate 10-Apr-2000 92 circslice.ipmesh 10-Apr-2000 857 circslice.ipsolv 13-Apr-2007 1.4k circslice.iptrsf 01-Nov-2001 762 test_output.com 20-Nov-2001 594

Download the entire example:

Name                  Modified     Size

examples_e_e1.tar.gz 14-Apr-2007 6.1k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:02:32 20160
cm-debugSuccessSat Mar 5 00:04:26 20160
mips-irix
cmSuccessSun Aug 19 01:22:37 20073
cm-debugSuccessWed Aug 15 01:23:34 20075
cm-debug-clear-mallocSuccessSat Aug 18 01:27:24 200711
cm-debug-clear-malloc7SuccessMon Aug 20 01:24:46 200710
cm64SuccessSun Aug 19 01:23:22 20073
cm64-debugSuccessTue Aug 21 01:21:09 20075
cm64-debug-clear-mallocSuccessThu Apr 1 11:55:07 20049
rs6000-aix
cmSuccessWed Mar 4 01:07:51 20091
cm-debugSuccessMon Mar 2 01:06:26 20091
cm64SuccessWed Mar 4 01:07:51 20090
cm64-debugSuccessTue Mar 3 01:11:46 20091
x86_64-linux
cmSuccessSun Mar 6 00:01:06 20160
cm-debugSuccessSat Mar 5 00:01:37 20161

Testing status by file:


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

Input last modified: Fri Apr 13 10:41:42 2007


CMISS Help / Examples / e / e1