Changeset 10555


Ignore:
Timestamp:
11/09/11 11:55:07 (13 years ago)
Author:
Mathieu Morlighem
Message:

added check for basal nodes of FS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/m/classes/diagnostic.m ΒΆ

    r10517 r10555  
    117117                                end
    118118                        end
     119                        %CHECK THAT NO rotation specified for FS Grounded ice at base
     120                        if md.mesh.dimension==3 & md.flowequation.isstokes,
     121                                pos=find(md.mask.vertexongroundedice & md.mesh.vertexonbed);
     122                                if any(~isnan(md.diagnostic.referential(pos,:))),
     123                                        checkmessage(['model ' md.miscellaneous.name ' not consistent. No referential should be specified for basal vertices of grounded ice']);
     124                                end
     125                        end
    119126                end % }}}
    120127                function disp(obj) % {{{
Note: See TracChangeset for help on using the changeset viewer.