Changeset 20324


Ignore:
Timestamp:
03/18/16 15:18:08 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: homogenized doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/contrib/defleurian/paraview/exportVTK.m

    r19197 r20324  
    11function exportVTK(filename,model,varargin)
    2 % vtk export
    3 % function exportVTK(filename,model)
    4 % creates a directory with the vtk files for displays in paraview
    5 % (only work for triangle and wedges based on their number of nodes)
     2%EXPORTVTK -  vtk export
    63%
    7 %Give only the results for nw but could be extended to geometry, mask...
     4%   function exportVTK(filename,model)
     5%   creates a directory with the vtk files for displays in paraview
     6%   (only work for triangle and wedges based on their number of nodes)
     7%   By default only the results are exported, you can add whichever
     8%   field you need as a string:
     9%   add 'geometry' to export md.geometry
    810%
    9 % input: filename   destination
    10 %                   (string)
    11 %------------------------------------------------------------------
    12 %        model      this is md
    13 %------------------------------------------------------------------
    14 % By default only the results are exported, you can add whichever
    15 % field you need as a string:
    16 % add 'geometry' to export md.geometry
     11%   USAGE:
     12%      exportVTK(filename,model,varargin)
    1713%
    18 % Basile de Fleurian:
     14%   EXAMPLE:
     15%      exportVTK('ResultSimulation1',md)
    1916
    2017[path,name,ext]=fileparts(filename);
Note: See TracChangeset for help on using the changeset viewer.