EIDORS: Electrical Impedance Tomography and Diffuse Optical Tomography Reconstruction Software |
EIDORS
(mirror) Main Documentation Tutorials − Image Reconst − Data Structures − Applications − FEM Modelling − GREIT − Old tutorials − Workshop Download Contrib Data GREIT Browse Docs Browse SVN News Mailing list (archive) FAQ Developer
|
Build simple 2D models with distmeshDistmesh is a FEM building tool written in Matlab by Per-Olof Persson. Is is licenced under the GPL and has been distributed with EIDORS (with some small modifications).
The simplest way to build distmesh models is to use the
function mk_common_models with the parameter
like b2d0c.
Create coarse mesh (416 elems)% Simple distmesh model $Id: simple_2d_model01.m 2767 2011-07-14 16:32:47Z bgrychtol $ % Create small model with little mesh refinement imdm=mk_common_model('a2d1c',16); subplot(121) show_fem(imdm.fwd_model); axis on; axis equal; axis([-1.1 1.1 -1.1 1.1]); % close in view subplot(122) show_fem(imdm.fwd_model); axis equal; axis([-.1 .1 .85 1.05]); print_convert simple_2d_model01a.png '-density 125' Create fine mesh (3602 elems)% Simple distmesh model $Id: simple_2d_model02.m 2767 2011-07-14 16:32:47Z bgrychtol $ % Create small model with little mesh refinement imdm=mk_common_model('d2d4c',16); subplot(121) show_fem(imdm.fwd_model); axis on; axis equal; axis([-1.1 1.1 -1.1 1.1]); % close in view subplot(122) show_fem(imdm.fwd_model); axis equal; axis([-.1 .1 .85 1.05]); print_convert simple_2d_model02a.png '-density 125' |
Last Modified: $Date: 2017-02-28 13:12:08 -0500 (Tue, 28 Feb 2017) $ by $Author: aadler $