Changeset 16019
- Timestamp:
- 08/29/13 15:00:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/classes/Elements/Tria.cpp ¶
r16018 r16019 5587 5587 /*Intermediaries */ 5588 5588 IssmDouble diffusivity; 5589 IssmDouble Jdet tria,D_scalar,dt,h;5589 IssmDouble Jdet,D_scalar,dt,h; 5590 5590 IssmDouble vx,vy,vel,dvxdx,dvydy; 5591 5591 IssmDouble dvx[2],dvy[2]; … … 5622 5622 gauss->GaussPoint(ig); 5623 5623 5624 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);5624 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 5625 5625 GetNodalFunctions(basis,gauss); 5626 5626 … … 5630 5630 vy_input->GetInputDerivativeValue(&dvy[0],&xyz_list[0][0],gauss); 5631 5631 5632 D_scalar=gauss->weight*Jdet tria;5632 D_scalar=gauss->weight*Jdet; 5633 5633 5634 5634 TripleMultiply(basis,1,numnodes,1, … … 5642 5642 dvxdx=dvx[0]; 5643 5643 dvydy=dvy[1]; 5644 D_scalar=dt*gauss->weight*Jdet tria;5644 D_scalar=dt*gauss->weight*Jdet; 5645 5645 5646 5646 D[0][0]=D_scalar*dvxdx; … … 5812 5812 /*Intermediaries */ 5813 5813 int i; 5814 IssmDouble Jdet tria,dt;5814 IssmDouble Jdet,dt; 5815 5815 IssmDouble basal_melting_g; 5816 5816 IssmDouble old_watercolumn_g; … … 5840 5840 gauss->GaussPoint(ig); 5841 5841 5842 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);5842 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 5843 5843 GetNodalFunctions(basis, gauss); 5844 5844 … … 5847 5847 5848 5848 if(reCast<int,IssmDouble>(dt)){ 5849 for(i=0;i<numnodes;i++) pe->values[i]+=Jdet tria*gauss->weight*(old_watercolumn_g+dt*basal_melting_g)*basis[i];5849 for(i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*(old_watercolumn_g+dt*basal_melting_g)*basis[i]; 5850 5850 } 5851 5851 else{ 5852 for(i=0;i<numnodes;i++) pe->values[i]+=Jdet tria*gauss->weight*basal_melting_g*basis[i];5852 for(i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*basal_melting_g*basis[i]; 5853 5853 } 5854 5854 } … … 6311 6311 int stabilization; 6312 6312 int dim; 6313 IssmDouble Jdet tria,D_scalar,dt,h;6313 IssmDouble Jdet,D_scalar,dt,h; 6314 6314 IssmDouble vel,vx,vy,dvxdx,dvydy; 6315 6315 IssmDouble dvx[2],dvy[2]; … … 6349 6349 gauss->GaussPoint(ig); 6350 6350 6351 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);6351 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 6352 6352 GetNodalFunctions(basis,gauss); 6353 6353 … … 6357 6357 vyaverage_input->GetInputDerivativeValue(&dvy[0],&xyz_list[0][0],gauss); 6358 6358 6359 D_scalar=gauss->weight*Jdet tria;6359 D_scalar=gauss->weight*Jdet; 6360 6360 6361 6361 TripleMultiply(basis,1,numnodes,1, … … 6369 6369 dvxdx=dvx[0]; 6370 6370 dvydy=dvy[1]; 6371 D_scalar=dt*gauss->weight*Jdet tria;6371 D_scalar=dt*gauss->weight*Jdet; 6372 6372 6373 6373 D[0][0]=D_scalar*dvxdx; … … 6430 6430 int dim; 6431 6431 IssmDouble xyz_list[NUMVERTICES][3]; 6432 IssmDouble Jdet tria,D_scalar,dt,vx,vy;6432 IssmDouble Jdet,D_scalar,dt,vx,vy; 6433 6433 6434 6434 /*Fetch number of nodes for this finite element*/ … … 6466 6466 vyaverage_input->GetInputValue(&vy,gauss); 6467 6467 6468 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);6468 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 6469 6469 GetNodalFunctions(basis,gauss); 6470 6470 6471 D_scalar=gauss->weight*Jdet tria;6471 D_scalar=gauss->weight*Jdet; 6472 6472 6473 6473 TripleMultiply(basis,1,numnodes,1, … … 6480 6480 GetBprimeMasstransport(B, &xyz_list[0][0], gauss); 6481 6481 6482 D_scalar=-dt*gauss->weight*Jdet tria;6482 D_scalar=-dt*gauss->weight*Jdet; 6483 6483 D[0][0]=D_scalar*vx; 6484 6484 D[0][1]=0.; … … 6506 6506 int stabilization; 6507 6507 int dim; 6508 IssmDouble Jdet tria,D_scalar,dt,h;6508 IssmDouble Jdet,D_scalar,dt,h; 6509 6509 IssmDouble vel,vx,vy; 6510 6510 IssmDouble xyz_list[NUMVERTICES][3]; … … 6534 6534 gauss->GaussPoint(ig); 6535 6535 6536 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);6536 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 6537 6537 GetNodalFunctions(basis,gauss); 6538 6538 … … 6540 6540 vy_input->GetInputValue(&vy,gauss); 6541 6541 6542 D_scalar=gauss->weight*Jdet tria;6542 D_scalar=gauss->weight*Jdet; 6543 6543 6544 6544 TripleMultiply(basis,1,numnodes,1, … … 6550 6550 GetBprimeMasstransport(Bprime,&xyz_list[0][0],gauss); 6551 6551 6552 D_scalar=dt*gauss->weight*Jdet tria;6552 D_scalar=dt*gauss->weight*Jdet; 6553 6553 6554 6554 D[0][0]=D_scalar*vx; … … 6604 6604 int stabilization; 6605 6605 int dim; 6606 IssmDouble Jdet tria,D_scalar,dt,h;6606 IssmDouble Jdet,D_scalar,dt,h; 6607 6607 IssmDouble vel,vx,vy; 6608 6608 IssmDouble xyz_list[NUMVERTICES][3]; … … 6632 6632 gauss->GaussPoint(ig); 6633 6633 6634 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);6634 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 6635 6635 GetNodalFunctions(basis,gauss); 6636 6636 … … 6638 6638 vy_input->GetInputValue(&vy,gauss); 6639 6639 6640 D_scalar=gauss->weight*Jdet tria;6640 D_scalar=gauss->weight*Jdet; 6641 6641 6642 6642 TripleMultiply(basis,1,numnodes,1, … … 6648 6648 GetBprimeMasstransport(Bprime,&xyz_list[0][0],gauss); 6649 6649 6650 D_scalar=dt*gauss->weight*Jdet tria;6650 D_scalar=dt*gauss->weight*Jdet; 6651 6651 6652 6652 D[0][0]=D_scalar*vx; … … 6713 6713 6714 6714 /*Intermediaries */ 6715 IssmDouble Jdet tria,dt;6715 IssmDouble Jdet,dt; 6716 6716 IssmDouble ms,mb,mb_correction,thickness; 6717 6717 IssmDouble xyz_list[NUMVERTICES][3]; … … 6739 6739 gauss->GaussPoint(ig); 6740 6740 6741 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);6741 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 6742 6742 GetNodalFunctions(basis,gauss); 6743 6743 … … 6750 6750 mb_correction=0.; 6751 6751 6752 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet tria*gauss->weight*(thickness+dt*(ms-mb-mb_correction))*basis[i];6752 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*(thickness+dt*(ms-mb-mb_correction))*basis[i]; 6753 6753 } 6754 6754 … … 6763 6763 6764 6764 /*Intermediaries */ 6765 IssmDouble Jdet tria,dt;6765 IssmDouble Jdet,dt; 6766 6766 IssmDouble ms,mb,thickness; 6767 6767 IssmDouble xyz_list[NUMVERTICES][3]; … … 6787 6787 gauss->GaussPoint(ig); 6788 6788 6789 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);6789 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 6790 6790 GetNodalFunctions(basis,gauss); 6791 6791 … … 6794 6794 thickness_input->GetInputValue(&thickness,gauss); 6795 6795 6796 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet tria*gauss->weight*(thickness+dt*(ms-mb))*basis[i];6796 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*(thickness+dt*(ms-mb))*basis[i]; 6797 6797 } 6798 6798 … … 6807 6807 6808 6808 /*Intermediaries */ 6809 IssmDouble Jdet tria,dt;6809 IssmDouble Jdet,dt; 6810 6810 IssmDouble ms,surface,vz; 6811 6811 IssmDouble xyz_list[NUMVERTICES][3]; … … 6832 6832 gauss->GaussPoint(ig); 6833 6833 6834 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);6834 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 6835 6835 GetNodalFunctions(basis,gauss); 6836 6836 … … 6839 6839 surface_input->GetInputValue(&surface,gauss); 6840 6840 6841 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet tria*gauss->weight*(surface + dt*ms + dt*vz)*basis[i];6841 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*(surface + dt*ms + dt*vz)*basis[i]; 6842 6842 } 6843 6843 … … 6852 6852 6853 6853 /*Intermediaries */ 6854 IssmDouble Jdet tria,dt;6854 IssmDouble Jdet,dt; 6855 6855 IssmDouble mb,mb_correction,bed,vz; 6856 6856 IssmDouble xyz_list[NUMVERTICES][3]; … … 6878 6878 gauss->GaussPoint(ig); 6879 6879 6880 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);6880 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 6881 6881 GetNodalFunctions(basis,gauss); 6882 6882 … … 6889 6889 mb_correction=0.; 6890 6890 6891 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet tria*gauss->weight*(bed+dt*(mb-mb_correction) + dt*vz)*basis[i];6891 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*(bed+dt*(mb-mb_correction) + dt*vz)*basis[i]; 6892 6892 } 6893 6893 … … 7062 7062 int stabilization; 7063 7063 int i,j,dim; 7064 IssmDouble Jdet tria,vx,vy,dvxdx,dvydy,vel,h;7064 IssmDouble Jdet,vx,vy,dvxdx,dvydy,vel,h; 7065 7065 IssmDouble D_scalar; 7066 7066 IssmDouble dvx[2],dvy[2]; … … 7099 7099 gauss->GaussPoint(ig); 7100 7100 7101 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);7101 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 7102 7102 GetBMasstransport(B,&xyz_list[0][0],gauss); 7103 7103 GetBprimeMasstransport(Bprime,&xyz_list[0][0],gauss); … … 7110 7110 dvxdx=dvx[0]; 7111 7111 dvydy=dvy[1]; 7112 D_scalar=gauss->weight*Jdet tria;7112 D_scalar=gauss->weight*Jdet; 7113 7113 7114 7114 D[0][0]=D_scalar*dvxdx; … … 7170 7170 /*Intermediaries*/ 7171 7171 int dim; 7172 IssmDouble vx,vy,D_scalar,Jdet tria;7172 IssmDouble vx,vy,D_scalar,Jdet; 7173 7173 IssmDouble xyz_list[NUMVERTICES][3]; 7174 7174 … … 7195 7195 gauss->GaussPoint(ig); 7196 7196 7197 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);7197 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 7198 7198 /*WARNING: B and Bprime are inverted compared to usual masstransport!!!!*/ 7199 7199 GetBMasstransport(Bprime,&xyz_list[0][0],gauss); … … 7203 7203 vy_input->GetInputValue(&vy,gauss); 7204 7204 7205 D_scalar=-gauss->weight*Jdet tria;7205 D_scalar=-gauss->weight*Jdet; 7206 7206 D[0][0]=D_scalar*vx; 7207 7207 D[0][1]=0.; … … 7228 7228 /*Intermediaries */ 7229 7229 IssmDouble xyz_list[NUMVERTICES][3]; 7230 IssmDouble dhdt_g,mb_g,ms_g,Jdet tria;7230 IssmDouble dhdt_g,mb_g,ms_g,Jdet; 7231 7231 IssmDouble h,gamma,thickness; 7232 7232 IssmDouble hnx,hny,dhnx[2],dhny[2]; 7233 7233 IssmDouble vel,vx,vy,dvxdx,dvydy; 7234 7234 IssmDouble D[2][2]; 7235 int stabilization= 1;7235 int stabilization=0; 7236 7236 7237 7237 /*Fetch number of nodes and dof for this finite element*/ … … 7286 7286 gamma=h/(2.*thickness+1.e-10); 7287 7287 7288 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);7288 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 7289 7289 GetNodalFunctions(basis,gauss); 7290 7290 GetNodalFunctionsDerivatives(dbasis,&xyz_list[0][0],gauss); … … 7292 7292 for(int i=0;i<numnodes;i++){ 7293 7293 for(int j=0;j<numnodes;j++){ 7294 Ke->values[i*numnodes+j] += gauss->weight*Jdet tria*(7294 Ke->values[i*numnodes+j] += gauss->weight*Jdet*( 7295 7295 (basis[i]+gamma*(basis[i]*(dhnx[0]+dhny[1]) + dbasis[0*numnodes+i]*hnx + dbasis[1*numnodes+i]*hny))* 7296 7296 (basis[j]*(dhnx[0]+dhny[1]) + dbasis[0*numnodes+j]*hnx + dbasis[1*numnodes+j]*hny) … … 7318 7318 if(stabilization==1 || stabilization==2){ 7319 7319 GetBprimeMasstransport(B,&xyz_list[0][0],gauss); 7320 D[0][0]=gauss->weight*Jdet tria*D[0][0];7321 D[1][0]=gauss->weight*Jdet tria*D[1][0];7322 D[0][1]=gauss->weight*Jdet tria*D[0][1];7323 D[1][1]=gauss->weight*Jdet tria*D[1][1];7320 D[0][0]=gauss->weight*Jdet*D[0][0]; 7321 D[1][0]=gauss->weight*Jdet*D[1][0]; 7322 D[0][1]=gauss->weight*Jdet*D[0][1]; 7323 D[1][1]=gauss->weight*Jdet*D[1][1]; 7324 7324 TripleMultiply(B,2,numnodes,1, 7325 7325 &D[0][0],2,2,0, … … 7349 7349 IssmDouble xyz_list[NUMVERTICES][3]; 7350 7350 IssmDouble D[2][2]; 7351 IssmDouble l=1 5.;7351 IssmDouble l=12.; 7352 7352 7353 7353 /*Fetch number of nodes and dof for this finite element*/ … … 7355 7355 7356 7356 /*Initialize Element matrix and vectors*/ 7357 ElementMatrix* Ke = CreateMassMatrix(); 7358 IssmDouble* B = xNew<IssmDouble>(2*numnodes); 7357 ElementMatrix* Ke = new ElementMatrix(nodes,numnodes,this->parameters); 7358 IssmDouble* dbasis = xNew<IssmDouble>(2*numnodes); 7359 IssmDouble* basis = xNew<IssmDouble>(numnodes); 7359 7360 7360 7361 /*Retrieve all inputs and parameters*/ … … 7368 7369 gauss->GaussPoint(ig); 7369 7370 7370 GetBMasstransport(B,&xyz_list[0][0], gauss);7371 7371 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 7372 7372 thickness_input->GetInputValue(&thickness,gauss); 7373 7373 if(thickness<50.) thickness=50.; 7374 7374 7375 D_scalar=gauss->weight*Jdet*(l*thickness)*(l*thickness); 7376 D[0][0]=D_scalar; 7377 D[1][0]=0.; 7378 D[0][1]=0.; 7379 D[1][1]=D_scalar; 7380 7381 TripleMultiply(B,2,numnodes,1, 7382 &D[0][0],2,2,0, 7383 B,2,numnodes,0, 7384 &Ke->values[0],1); 7375 GetNodalFunctions(basis,gauss); 7376 GetNodalFunctionsDerivatives(dbasis,&xyz_list[0][0],gauss); 7377 7378 for(int i=0;i<numnodes;i++){ 7379 for(int j=0;j<numnodes;j++){ 7380 Ke->values[i*numnodes+j] += gauss->weight*Jdet*( 7381 basis[i]*basis[j] 7382 +(l*thickness)*(l*thickness)*(dbasis[0*numnodes+i]*dbasis[0*numnodes+j] + dbasis[1*numnodes+i]*dbasis[1*numnodes+j]) 7383 ); 7384 } 7385 } 7385 7386 } 7386 7387 7387 7388 /*Clean up and return*/ 7388 7389 delete gauss; 7389 xDelete<IssmDouble>(B); 7390 xDelete<IssmDouble>(dbasis); 7391 xDelete<IssmDouble>(basis); 7390 7392 return Ke; 7391 7393 } … … 7410 7412 /*Intermediaries */ 7411 7413 IssmDouble xyz_list[NUMVERTICES][3]; 7412 IssmDouble dhdt_g,mb_g,ms_g,Jdet tria;7414 IssmDouble dhdt_g,mb_g,ms_g,Jdet; 7413 7415 7414 7416 /*Fetch number of nodes and dof for this finite element*/ … … 7435 7437 dhdt_input->GetInputValue(&dhdt_g,gauss); 7436 7438 7437 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);7439 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 7438 7440 GetNodalFunctions(basis,gauss); 7439 7441 7440 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet tria*gauss->weight*(ms_g-mb_g-dhdt_g)*basis[i];7442 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*(ms_g-mb_g-dhdt_g)*basis[i]; 7441 7443 } 7442 7444 … … 7452 7454 /*Intermediaries */ 7453 7455 IssmDouble xyz_list[NUMVERTICES][3]; 7454 IssmDouble mb_g,ms_g,dhdt_g,Jdet tria;7456 IssmDouble mb_g,ms_g,dhdt_g,Jdet; 7455 7457 7456 7458 /*Fetch number of nodes and dof for this finite element*/ … … 7477 7479 dhdt_input->GetInputValue(&dhdt_g,gauss); 7478 7480 7479 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);7481 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 7480 7482 GetNodalFunctions(basis,gauss); 7481 7483 7482 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet tria*gauss->weight*(ms_g-mb_g-dhdt_g)*basis[i];7484 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*(ms_g-mb_g-dhdt_g)*basis[i]; 7483 7485 } 7484 7486 … … 7494 7496 /*Intermediaries */ 7495 7497 IssmDouble xyz_list[NUMVERTICES][3]; 7496 IssmDouble dhdt_g,mb_g,ms_g,Jdet tria;7498 IssmDouble dhdt_g,mb_g,ms_g,Jdet; 7497 7499 IssmDouble h,gamma,thickness; 7498 7500 IssmDouble hnx,hny,dhnx[2],dhny[2]; … … 7548 7550 if(thickness<50.) thickness=50.; 7549 7551 7550 GetJacobianDeterminant(&Jdet tria, &xyz_list[0][0],gauss);7552 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 7551 7553 GetNodalFunctions(basis,gauss); 7552 7554 GetNodalFunctionsDerivatives(dbasis,&xyz_list[0][0],gauss); … … 7560 7562 7561 7563 for(int i=0;i<numnodes;i++){ 7562 pe->values[i]+=Jdet tria*gauss->weight*(ms_g-mb_g-dhdt_g)*(7564 pe->values[i]+=Jdet*gauss->weight*(ms_g-mb_g-dhdt_g)*( 7563 7565 basis[i] + gamma*(basis[i]*(dhnx[0]+dhny[1])+hnx*dbasis[0*numnodes+i] + hny*dbasis[1*numnodes+i]) 7564 7566 ); … … 7583 7585 /*Intermediaries */ 7584 7586 IssmDouble xyz_list[NUMVERTICES][3]; 7585 IssmDouble Jdet tria;7587 IssmDouble Jdet; 7586 7588 IssmDouble thickness,slope[2]; 7587 7589 IssmDouble taud_x; … … 7608 7610 surface_input->GetInputDerivativeValue(&slope[0],&xyz_list[0][0],gauss); 7609 7611 taud_x = matpar->GetRhoIce()*matpar->GetG()*thickness*slope[0]; 7610 7611 GetJacobianDeterminant(&Jdettria, &xyz_list[0][0],gauss); 7612 //taud_x = slope[0]; 7613 7614 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 7612 7615 GetNodalFunctions(basis,gauss); 7613 7616 7614 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet tria*gauss->weight*taud_x*basis[i];7617 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*taud_x*basis[i]; 7615 7618 } 7616 7619 … … 7626 7629 /*Intermediaries */ 7627 7630 IssmDouble xyz_list[NUMVERTICES][3]; 7628 IssmDouble Jdet tria;7631 IssmDouble Jdet; 7629 7632 IssmDouble thickness,slope[2]; 7630 7633 IssmDouble taud_y; … … 7651 7654 surface_input->GetInputDerivativeValue(&slope[0],&xyz_list[0][0],gauss); 7652 7655 taud_y = matpar->GetRhoIce()*matpar->GetG()*thickness*slope[1]; 7653 7654 GetJacobianDeterminant(&Jdettria, &xyz_list[0][0],gauss); 7656 //taud_y = slope[1]; 7657 7658 GetJacobianDeterminant(&Jdet, &xyz_list[0][0],gauss); 7655 7659 GetNodalFunctions(basis,gauss); 7656 7660 7657 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet tria*gauss->weight*taud_y*basis[i];7661 for(int i=0;i<numnodes;i++) pe->values[i]+=Jdet*gauss->weight*taud_y*basis[i]; 7658 7662 } 7659 7663
Note:
See TracChangeset
for help on using the changeset viewer.