Changeset 551


Ignore:
Timestamp:
05/21/09 09:02:12 (16 years ago)
Author:
seroussi
Message:

minor correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/parallel/diagnostic_core_nonlinear.cpp

    r524 r551  
    5959       
    6060        /*Initialize ug and ug_old */
    61         if (numberofdofspernode==3)dofs[2]=1;//only keep vz if running with more than 3 dofs per node
    62         if (numberofdofspernode==4)dofs[2]=1;dofs[3]=1;//only keep vz and presure if running with more than 3 dofs per node
     61        if (numberofdofspernode>=3)dofs[2]=1;//only keep vz if running with more than 3 dofs per node
     62        if (numberofdofspernode==4)dofs[3]=1;//only keep vz and presure if running with more than 3 dofs per node
    6363        ug=inputs->Get("velocity",&dofs[0],4);
    6464        VecDuplicate(ug,&old_ug);
Note: See TracChangeset for help on using the changeset viewer.