This example solves the FHN ionic current equations on a pizza shaped element, with the initial stimulus applied at the wide end of the wedge.
fem define para;r;pizza fem define node;r;pizza fem define base;r;pizza;example fem define elem;r;pizza fem define grid;r;pizza fem update grid geometry fem update grid metric fem group grid xi1 high as stim_point oneoff fem group grid external as boundary fem define equa;r;pizza;example class 1,2 fem define mate;r;pizza;example class 1,2 fem define cell;r;pizza;example class 1,2 fem update grid material class 1,2 fem define init;r;pizza;example class 1,2 fem define solv;r;pizza;example class 1 fem define solv;r;pizza2;example class 2 fem define window fem solve to 0 class 1,2 # Command updated by fixcom.sh on Wed Aug 23 17:50:05 NZT 2000 # Old command: DO M=0..9 for $M ( 0..30 ) { fem solve restart to $M class 1,2 fem draw field grid 1 zmin=-80 zmax=40 noscale class 2 refresh graphics # Command updated by fixcom.sh on Wed Aug 23 17:50:05 NZT 2000 # Old command: ENDDO }
Name Modified Size
example_b21522.com 29-Apr-2003 893 pizza.exelem 29-Apr-2003 4.3k pizza.exnode 29-Apr-2003 1.8k pizza.ipbase 29-Apr-2003 1.1k pizza.ipcell 29-Apr-2003 3.4k pizza.ipelem 29-Apr-2003 341 pizza.ipequa 26-May-2003 1.4k pizza.ipgrid 29-Apr-2003 537 pizza.ipinit 29-Apr-2003 836 pizza.ipmate 29-Apr-2003 1.7k pizza.ipnode 29-Apr-2003 707 pizza.ippara 29-Apr-2003 5.9k pizza.ipsolv 13-Apr-2007 1.8k pizza2.ipsolv 13-Apr-2007 1.8k
Name Modified Size
examples_b_b2_b21_b215_b2152_b21522.tar.gz 14-Apr-2007 6.9k
Html last generated: Sun Mar 6 05:51:14 2016
Input last modified: Fri Apr 13 10:39:43 2007