Changeset 14378 for issm/trunk-jpl/src/c/modules/GroundinglineMigrationx/GroundinglineMigrationx.cpp
- Timestamp:
- 02/23/13 11:37:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/GroundinglineMigrationx/GroundinglineMigrationx.cpp
r14357 r14378 31 31 if(migration_style==SoftMigrationEnum){ 32 32 /*Create flag for grounded vertices above the hydrostatic equilibrium: */ 33 vertices_potentially_ungrounding=Potential SheetUngrounding(elements,vertices,parameters);33 vertices_potentially_ungrounding=PotentialUngrounding(elements,vertices,parameters); 34 34 35 35 /*propagate ice shelf into connex areas of the ice sheet that potentially want to unground: */ … … 81 81 } 82 82 /*%}}}*/ 83 /*FUNCTION Potential SheetUngrounding {{{*/84 IssmDouble* Potential SheetUngrounding(Elements* elements,Vertices* vertices,Parameters* parameters){83 /*FUNCTION PotentialUngrounding {{{*/ 84 IssmDouble* PotentialUngrounding(Elements* elements,Vertices* vertices,Parameters* parameters){ 85 85 86 86 int i,numberofvertices; … … 96 96 for(i=0;i<elements->Size();i++){ 97 97 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 98 element->Potential SheetUngrounding(vec_vertices_potentially_ungrounding);98 element->PotentialUngrounding(vec_vertices_potentially_ungrounding); 99 99 } 100 100 … … 150 150 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 151 151 if(reCast<int,IssmDouble>(elements_neighboring_floatingce[element->Sid()])){ 152 local_nflipped+=element->UpdatePotential SheetUngrounding(vertices_potentially_ungrounding,vec_nodes_on_floatingice,nodes_on_floatingice);152 local_nflipped+=element->UpdatePotentialUngrounding(vertices_potentially_ungrounding,vec_nodes_on_floatingice,nodes_on_floatingice); 153 153 } 154 154 }
Note:
See TracChangeset
for help on using the changeset viewer.