Changeset 10556


Ignore:
Timestamp:
11/09/11 13:20:47 (13 years ago)
Author:
Mathieu Morlighem
Message:

Better artificial diffusivity in prognostic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r10540 r10556  
    531531                        vxaverage_input->GetInputAverage(&vx);
    532532                        vyaverage_input->GetInputAverage(&vy);
    533                         K[0][0]=h/2.0*fabs(vx) /sqrt(2*sqrt(3)); // the second part should not be there
     533                        K[0][0]=h/2.0*fabs(vx);
    534534                        K[0][1]=0.;
    535535                        K[1][0]=0.;
    536                         K[1][1]=h/2.0*fabs(vy) /sqrt(2*sqrt(3)); // the second part should not be there
     536                        K[1][1]=h/2.0*fabs(vy);
    537537                }
    538538                if(stabilization==1 || stabilization==2){
Note: See TracChangeset for help on using the changeset viewer.