Changeset 3864
- Timestamp:
- 05/20/10 09:06:03 (15 years ago)
- Location:
- issm/trunk/src/c/objects/Elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r3858 r3864 1719 1719 1720 1720 /*parameters: */ 1721 double dt,artdiff,epsvel; 1721 double dt,epsvel; 1722 bool artdiff; 1722 1723 1723 1724 /*Collapsed formulation: */ -
issm/trunk/src/c/objects/Elements/Tria.cpp
r3862 r3864 807 807 808 808 /*parameters: */ 809 doubleartdiff;809 bool artdiff; 810 810 811 811 /* Get node coordinates and dof list: */ … … 1056 1056 1057 1057 /*parameters: */ 1058 doubleartdiff;1058 bool artdiff; 1059 1059 1060 1060 /*retrieve some parameters: */ … … 1679 1679 /*parameters: */ 1680 1680 double dt; 1681 doubleartdiff;1681 bool artdiff; 1682 1682 1683 1683 /*retrieve some parameters: */ … … 1690 1690 1691 1691 //Create Artificial diffusivity once for all if requested 1692 if(artdiff ==1){1692 if(artdiff){ 1693 1693 //Get the Jacobian determinant 1694 1694 gauss_l1l2l3[0]=ONETHIRD; gauss_l1l2l3[1]=ONETHIRD; gauss_l1l2l3[2]=ONETHIRD; … … 1770 1770 for( i=0; i<numdof; i++) for(j=0;j<numdof;j++) Ke_gg[i][j]+=Ke_gg_thickness2[i][j]; 1771 1771 1772 if(artdiff ==1){1772 if(artdiff){ 1773 1773 1774 1774 /* Compute artificial diffusivity */
Note:
See TracChangeset
for help on using the changeset viewer.