Changeset 18843


Ignore:
Timestamp:
11/25/14 02:26:42 (10 years ago)
Author:
jbondzio
Message:

CHG: Use element boundaries as ice front instead of ZeroLevelset. Change this back when consistent stress balance treatment of front elements is given.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp

    r18831 r18843  
    16251625        IssmDouble gravity     = element->GetMaterialParameter(ConstantsGEnum);
    16261626        element->GetVerticesCoordinates(&xyz_list);
    1627         //element->ZeroLevelsetCoordinates(&xyz_list_front,xyz_list,MaskIceLevelsetEnum);
    16281627        element->GetIcefrontCoordinates(&xyz_list_front,xyz_list,MaskIceLevelsetEnum);
    16291628        element->NormalSection(&normal[0],xyz_list_front);
     
    20772076        IssmDouble gravity     = element->GetMaterialParameter(ConstantsGEnum);
    20782077        element->GetVerticesCoordinates(&xyz_list);
    2079         element->ZeroLevelsetCoordinates(&xyz_list_front,xyz_list,MaskIceLevelsetEnum);
     2078        element->GetIcefrontCoordinates(&xyz_list_front,xyz_list,MaskIceLevelsetEnum);
    20802079        element->NormalSection(&normal[0],xyz_list_front);
    20812080
     
    25952594        IssmDouble gravity   = element->GetMaterialParameter(ConstantsGEnum);
    25962595        element->GetVerticesCoordinates(&xyz_list);
    2597         element->ZeroLevelsetCoordinates(&xyz_list_front,xyz_list,MaskIceLevelsetEnum);
     2596        element->GetIcefrontCoordinates(&xyz_list_front,xyz_list,MaskIceLevelsetEnum);
    25982597        element->NormalSection(&normal[0],xyz_list_front);
    25992598
     
    41674166        /*Retrieve all inputs and parameters*/
    41684167        element->GetVerticesCoordinates(&xyz_list);
    4169         element->ZeroLevelsetCoordinates(&xyz_list_front,xyz_list,MaskIceLevelsetEnum);
     4168        element->GetIcefrontCoordinates(&xyz_list_front,xyz_list,MaskIceLevelsetEnum);
    41704169        element->NormalSection(&normal[0],xyz_list_front);
    41714170        Input* surface_input  = element->GetInput(SurfaceEnum); _assert_(surface_input);
Note: See TracChangeset for help on using the changeset viewer.