mv_fwd_solve

PURPOSE ^

MV_FWD_SOLVE: data= mv_fwd_solve( fwd_model, img)

SYNOPSIS ^

function data= mv_fwd_solve( fwd_model, img)

DESCRIPTION ^

 MV_FWD_SOLVE: data= mv_fwd_solve( fwd_model, img)
 Fwd solver for Marco Vauhkonen's EIDORS2D code
 data = measurements struct
 fwd_model = forward model
 img = image struct

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function data= mv_fwd_solve( fwd_model, img)
0002 % MV_FWD_SOLVE: data= mv_fwd_solve( fwd_model, img)
0003 % Fwd solver for Marco Vauhkonen's EIDORS2D code
0004 % data = measurements struct
0005 % fwd_model = forward model
0006 % img = image struct
0007 
0008 % (C) 2009 Andy Adler. License: GPL version 2 or version 3
0009 % $Id: mv_fwd_solve.html 2819 2011-09-07 16:43:11Z aadler $
0010 
0011 p= mv_fwd_parameters( fwd_model );
0012 
0013 A= calc_system_mat( fwd_model, img );
0014 
0015 % [U,p,r]=ForwardSolution(NNode,NElement, A,  C  ,T,MeasPattern,style,p,r);
0016 [U,p,r]=ForwardSolution(p.n_node,p.n_elem,A,p.C,p.T,[],'real');
0017 
0018 % create a data structure to return
0019 data.meas= U.Electrode(:);
0020 data.time= -1; % unknown
0021 data.name= 'solved by mv_fwd_solve';
0022 data.U   = U;
0023 data.p   = p;
0024 data.r   = r;

Generated on Tue 09-Aug-2011 11:38:31 by m2html © 2005