Ignore:
Timestamp:
02/20/14 14:54:13 (11 years ago)
Author:
seroussi
Message:

CHG: updating no penetration condition for FS at each time step

File:
1 edited

Legend:

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

    r17324 r17325  
    77#include "../cores/cores.h"
    88
    9 //#define FSANALYTICAL 1
     9//#define FSANALYTICAL 3
    1010
    1111/*Model processing*/
     
    413413                                _error_("not supported yet");
    414414                        }
    415                         for(i=0;i<iomodel->numberofvertices;i++){
    416                                 if(iomodel->my_vertices[i]){
    417                                         if(nodeonbed[i]>0. && groundedice_ls[i]>0. && nodeonFS[i]>0.){
    418                                                 if(vertices_type[i] == FSApproximationEnum){
    419                                                         for(j=0;j<Nz;j++) spcvz[i*Nz+j] = 0.;
    420                                                 }
    421                                                 else{
    422                                                         _error_("not supported");
    423                                                 }
    424                                         }
    425                                 }
    426                         }
    427415                        if(iomodel->meshtype==Mesh3DEnum){
    428416                                IoModelToConstraintsx(constraints,iomodel,StressbalanceSpcvxEnum,StressbalanceAnalysisEnum,finiteelement,1);
Note: See TracChangeset for help on using the changeset viewer.