Changeset 27538
- Timestamp:
 - 01/24/23 08:28:00 (3 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  issm/trunk-jpl/src/c/classes/Elements/Element.cpp (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r27515 r27538 2535 2535 IssmDouble deepwaterel,upperwaterel,deepwatermelt,upperwatermelt; 2536 2536 IssmDouble base[MAXVERTICES]; 2537 IssmDouble perturbation[MAXVERTICES]; 2537 2538 IssmDouble values[MAXVERTICES]; 2538 2539 IssmDouble time; … … 2546 2547 2547 2548 this->GetInputListOnVertices(&base[0],BaseEnum); 2549 this->GetInputListOnVertices(&perturbation[0],BasalforcingsPerturbationMeltingRateEnum); 2548 2550 for(int i=0;i<NUM_VERTICES;i++){ 2549 2551 if(base[i]>=upperwaterel){ … … 2557 2559 values[i]=deepwatermelt*alpha+(1.-alpha)*upperwatermelt; 2558 2560 } 2561 2562 /*Add perturbation*/ 2563 values[i] += perturbation[i]; 2559 2564 } 2560 2565  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)