source: issm/oecreview/Archive/14312-15392/ISSM-15020-15021.diff@ 15393

Last change on this file since 15393 was 15393, checked in by Mathieu Morlighem, 12 years ago

NEW: adding Archive/14312-15392 for oecreview

File size: 1.4 KB
  • TabularUnified ../trunk-jpl/src/m/classes/model/model.m

     
    157157                        if ~isnan(md.initialization.vel),md.initialization.vel=DepthAverage(md,md.initialization.vel);end;
    158158                        if ~isnan(md.initialization.temperature),md.initialization.temperature=DepthAverage(md,md.initialization.temperature);end;
    159159
     160                        %gia
     161                        if ~isnan(md.gia.mantle_viscosity), md.gia.mantle_viscosity=project2d(md,md.gia.mantle_viscosity,1); end
     162                        if ~isnan(md.gia.lithosphere_thickness), md.gia.lithosphere_thickness=project2d(md,md.gia.lithosphere_thickness,1); end
     163
    160164                        %bedinfo and surface info
    161165                        md.mesh.elementonbed=ones(md.mesh.numberofelements2d,1);
    162166                        md.mesh.elementonsurface=ones(md.mesh.numberofelements2d,1);
     
    208212                        %parameters
    209213                        md.geometry.surface=project2d(md,md.geometry.surface,1);
    210214                        md.geometry.thickness=project2d(md,md.geometry.thickness,1);
    211                         md.gia.mantle_viscosity=project2d(md,md.gia.mantle_viscosity,1);
    212                         md.gia.lithosphere_thickness=project2d(md,md.gia.lithosphere_thickness,1);
    213215                        md.geometry.bed=project2d(md,md.geometry.bed,1);
    214216                        md.geometry.bathymetry=project2d(md,md.geometry.bathymetry,1);
    215217                        md.mesh.vertexonboundary=project2d(md,md.mesh.vertexonboundary,1);
Note: See TracBrowser for help on using the repository browser.