Changeset 2298


Ignore:
Timestamp:
09/23/09 15:56:06 (15 years ago)
Author:
Mathieu Morlighem
Message:

removed mesh2grid

Location:
issm/trunk/src/m/classes/public
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/ismodelselfconsistent.m

    r2282 r2298  
    396396        end
    397397end
    398 
    399 %MESH2GRID
    400 if md.analysis_type==Mesh2gridAnalysisEnum,
    401         if ~strcmpi(md.cluster,'none'),
    402                 disp(['model is not correctly configured: mesh2grid not supported in parallel yet!']);
    403                 bool=0;return;
    404         end
    405 end
    406 
    407398
    408399%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  PACKAGE CHECKS   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  • issm/trunk/src/m/classes/public/plot/plot_overlay.m

    r1740 r2298  
    5454        end
    5555
    56 
    57         writefile('contours.exp',md.domainoutline);
    58         contours=expread('contours.exp',0);
    59         contours=contours(1); %just keep the outer domain outline.
    60         delete('contours.exp');
    61 
    6256        %use mesh2grid solution to get an gridded data to display using imagesc
    63         if isongrid,
    64                 interpolation='node';
    65         else
    66                 interpolation='element';
    67         end
    68         data_mesh2grid=GriddataMeshToGrid(elements,x,y,contours,data,min(xlim),max(ylim),...
    69                 (max(xlim)-min(xlim))/length(md.sarxm),(max(ylim)-min(ylim))/length(md.sarym),length(md.sarym),length(md.sarxm),...
    70                 interpolation,'average',options_structure.windowsize);
     57        [x_m y_m data_mesh2grid]=InterpFromMeshToGrid(elements,x,y,data,min(xlim),max(ylim),...
     58                (max(xlim)-min(xlim))/length(md.sarxm),(max(ylim)-min(ylim))/length(md.sarym),length(md.sarym),length(md.sarxm),NaN);
    7159else
    7260        %process mesh and data
  • issm/trunk/src/m/classes/public/process_solve_options.m

    r2164 r2298  
    4747
    4848%check solution type is supported
    49 if ~ismemberi(analysis_type,{'diagnostic','prognostic','thermal','steadystate','parameters','mesh2grid','transient'}),
     49if ~ismemberi(analysis_type,{'diagnostic','prognostic','thermal','steadystate','parameters','transient'}),
    5050        error(['process_solve_options error message: analysis_type ' analysis_type ' not supported yet!']);
    5151else
  • issm/trunk/src/m/classes/public/solve.m

    r2173 r2298  
    5555        md=transient(md);
    5656
    57 elseif md.analysis_type==Mesh2gridAnalysisEnum,
    58         md=mesh2grid(md);;
    59 
    6057elseif md.analysis_type==PrognosticAnalysisEnum,
    6158        md=prognostic(md);;
Note: See TracChangeset for help on using the changeset viewer.