Changeset 6861


Ignore:
Timestamp:
12/30/10 07:40:36 (14 years ago)
Author:
Mathieu Morlighem
Message:

deleted all global variables. If ISSM_DIR is needed, call issmdir() routine. This makes everything easier: no more clearall

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/startup.m

    r6849 r6861  
    99%   Copyright Jet Propulsion Laboratory.
    1010
    11 global ISSM_TIER ISSM_DIR PETSC_VERSION
    12 lastwarn(''); % clear the last warning to focus on the warnings of the ISSM path
     11% clear the last warning to focus on the warnings of the ISSM path
     12lastwarn('');
    1313
    1414%Recover ISSM_TIER, ISSM_DIR  and USERNAME
    1515ISSM_TIER=getenv('ISSM_TIER');
    16 ISSM_DIR=getenv('ISSM_DIR');
    1716USERNAME =getenv('USER');
    1817if (isempty(ISSM_TIER)),
     
    6160clear USERNAME;
    6261
    63 %last thing, recover petsc version:
    64 PETSC_VERSION=petscversion(ISSM_TIER);
    65 
    6662%disable matlab bell!
    6763beep off;
Note: See TracChangeset for help on using the changeset viewer.