Ignore:
Timestamp:
08/26/10 13:22:42 (15 years ago)
Author:
seroussi
Message:

some modifications for future coupling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/ModelProcessorx/DistributeNumDofs.cpp

    r5579 r5596  
    4141                        doftype[3]=PattynApproximationEnum;
    4242                }
     43                else if (vertices_type[0]==PattynStokesApproximationEnum){
     44                        numdofs=6;
     45                        doftype=(int*)xmalloc(numdofs*sizeof(int));
     46                        doftype[0]=PattynApproximationEnum;
     47                        doftype[1]=PattynApproximationEnum;
     48                        doftype[2]=StokesApproximationEnum;
     49                        doftype[3]=StokesApproximationEnum;
     50                        doftype[4]=StokesApproximationEnum;
     51                        doftype[5]=StokesApproximationEnum;
     52                }
    4353                else ISSMERROR("Approximationtype %i (%s) not implemented yet for DiagnosticHoriz",(int)*vertices_type,EnumToString((int)*vertices_type));
    4454        }
Note: See TracChangeset for help on using the changeset viewer.