Changeset 20194


Ignore:
Timestamp:
02/16/16 21:46:38 (9 years ago)
Author:
Eric.Larour
Message:

CHG: not sure what these lines were for.

Location:
issm/trunk-jpl/src/m/plot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/plot/processmesh.js

    r19826 r20194  
    1515        var x,y,z,elements,is2d,isplanet;
    1616
    17         //some checks
     17        console.log(md);
     18        console.log(md.mesh);
     19        console.log(md.mesh.numberofvertices)
     20
    1821        if (md.mesh.numberofvertices==0){
    1922                throw Error('plot error message: mesh is empty');
    2023        }
    2124
     25
    2226        if (md.mesh.numberofvertices==md.mesh.numberofelements){
    2327                throw Error(['plot error message: the number of elements is the same as the number of nodes...']);
    2428        }
    25 
    26         //special case for mesg 2dvertical
    27         if (md.mesh.domaintype() === '2Dvertical') return processmesh(md.mesh,options);
    28 
    29         //special case for mesh 3dsurface
    30         if (md.mesh.domaintype() == '3Dsurface') return processmesh(md.mesh,options);
    3129
    3230        if (options.getfieldvalue('coord','xy') !== 'latlon'){
  • TabularUnified issm/trunk-jpl/src/m/plot/processmesh.m

    r19074 r20194  
    1717%special case for mesg 2dvertical
    1818if strcmp(domaintype(md.mesh),'2Dvertical'),
    19         [x y z elements is2d isplanet] = processmesh(md.mesh,options);
     19        [x y z elements is2d isplanet] = processmesh(md,options);
    2020        return;
    2121end
     
    2323%special case for mesh 3dsurface
    2424if strcmp(domaintype(md.mesh),'3Dsurface'),
    25         [x y z elements is2d isplanet] = processmesh(md.mesh,options);
     25        [x y z elements is2d isplanet] = processmesh(md,options);
    2626        return;
    2727end
Note: See TracChangeset for help on using the changeset viewer.