DiagnosticSolutionType

PURPOSE ^

DIAGNOSTICSOLUTIONTYPE - figure out which element are present

SYNOPSIS ^

function [ishutter,ismacayealpattyn,isstokes]=DiagnosticSolutionType(elements_type)

DESCRIPTION ^

DIAGNOSTICSOLUTIONTYPE - figure out which element are present

   This routine goes through the types of element and check if there is any
   Hutter, MacAyeal, Pattyn or Stokes element, and return a list of flag

   Usage:
      [ishutter,ismacayealpattyn,isstokes]=DiagnosticSolutionType(elements_type)

   See also: SETELEMENTSTYPE

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [ishutter,ismacayealpattyn,isstokes]=DiagnosticSolutionType(elements_type)
0002 %DIAGNOSTICSOLUTIONTYPE - figure out which element are present
0003 %
0004 %   This routine goes through the types of element and check if there is any
0005 %   Hutter, MacAyeal, Pattyn or Stokes element, and return a list of flag
0006 %
0007 %   Usage:
0008 %      [ishutter,ismacayealpattyn,isstokes]=DiagnosticSolutionType(elements_type)
0009 %
0010 %   See also: SETELEMENTSTYPE
0011 
0012 ishutter=any(elements_type(:,1)==hutterenum());
0013 ismacayealpattyn=any(elements_type(:,1)==macayealenum() | elements_type(:,1)==pattynenum() );
0014 isstokes=any(elements_type(:,2));
0015

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003