Changeset 5158
- Timestamp:
- 08/11/10 14:55:56 (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
r5156 r5158 2378 2378 const int numdof2d=numgrids2d*DOFPERGRID; 2379 2379 2380 int dofs[3]={0,1,2};2381 2382 2380 double K_terms[numdof][numdof]={0.0}; 2383 2381 … … 2894 2892 int num_vert_gauss=5; 2895 2893 2896 int dofs[3]={0,1,2};2897 2894 double K[2][2]={0.0}; 2898 2895 … … 3575 3572 double viscosity; 3576 3573 double water_pressure; 3577 int dofs[3]={0,1,2};3578 3574 3579 3575 /*matrices: */ … … 3854 3850 double dv[3]; 3855 3851 double dudx,dvdy; 3856 int dofs1[1]={0};3857 int dofs2[1]={1};3858 3852 3859 3853 /*inputs: */ … … 4049 4043 /* element parameters: */ 4050 4044 int friction_type; 4051 4052 int dofs[3]={0,1,2};4053 int dofs1[1]={0};4054 4045 4055 4046 /*matrices: */ -
issm/trunk/src/c/objects/Elements/Tria.cpp
r5152 r5158 557 557 const int numdof=2*numgrids; 558 558 const int NDOF2=2; 559 int dofs1[1]={0};560 int dofs2[2]={0,1};561 559 double xyz_list[numgrids][3]; 562 560 … … 892 890 double B[numgrids]; 893 891 894 int dofs1[1]={0};895 int dofs2[2]={0,1};896 892 897 893 /* gaussian points: */ … … 926 922 double lambda,mu; 927 923 double thickness; 928 int dofs[1]={0};929 924 double dB[NDOF2]; 930 925 double B_gauss; … … 1773 1768 const int numdof=2*numgrids; 1774 1769 const int NDOF2=2; 1775 int dofs1[1]={0};1776 int dofs2[2]={0,1};1777 1770 double xyz_list[numgrids][3]; 1778 1771 … … 2356 2349 double K[2][2]={0.0}; 2357 2350 double KDL[2][2]={0.0}; 2358 int dofs[2]={0,1};2359 2351 int found=0; 2360 2352 int dim; … … 2512 2504 /*input parameters for structural analysis (diagnostic): */ 2513 2505 double vx,vy; 2514 int dofs[1]={0};2515 2506 int found; 2516 2507 int dim; … … 2627 2618 double K[2][2]={0.0}; 2628 2619 double KDL[2][2]={0.0}; 2629 int dofs[2]={0,1};2630 2620 int found=0; 2631 2621 int dim; … … 2808 2798 /*input parameters for structural analysis (diagnostic): */ 2809 2799 double thickness; 2810 int dofs[2]={0,1};2811 2800 2812 2801 /*inputs: */ … … 3325 3314 double K[2][2]={0.0}; 3326 3315 double KDL[2][2]={0.0}; 3327 int dofs[2]={0,1};3328 3316 int found; 3329 3317 int dim; … … 3500 3488 /*input parameters for structural analysis (diagnostic): */ 3501 3489 double vx,vy; 3502 int dofs[1]={0};3503 3490 int found; 3504 3491 int dim; … … 5080 5067 double gauss_weight; 5081 5068 double gauss_coord[3]; 5082 int dofs1[1]={0};5083 5069 5084 5070 /*matrices: */
Note:
See TracChangeset
for help on using the changeset viewer.