Changeset 6423
- Timestamp:
- 10/26/10 08:48:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Tria.cpp
r6420 r6423 1756 1756 double xyz_list[NUMVERTICES][3]; 1757 1757 double l1l2l3[3]; 1758 double dbasis[NDOF2][NUMVERTICES]; 1759 double dH[2]; 1758 1760 GaussTria* gauss=NULL; 1759 1761 … … 1776 1778 GetJacobianDeterminant2d(&Jdet, &xyz_list[0][0],gauss); 1777 1779 GetNodalFunctions(l1l2l3, gauss); 1780 GetNodalFunctionsDerivatives(&dbasis[0][0],&xyz_list[0][0],gauss); 1778 1781 1779 1782 thickness_input->GetParameterValue(&thickness, gauss); 1783 thickness_input->GetParameterDerivativeValue(&dH[0],&xyz_list[0][0],gauss); 1780 1784 thicknessobs_input->GetParameterValue(&thicknessobs, gauss); 1781 1785 weights_input->GetParameterValue(&weight, gauss); 1782 1786 1783 1787 for(i=0;i<numdof;i++) pe->values[i]+=(thicknessobs-thickness)*weight*Jdet*gauss->weight*l1l2l3[i]; 1788 /*Regularization of the constraint: 20000000*/ 1789 //for(i=0;i<numdof;i++) pe->values[i]+= - 1*2000000*dH[0]*dbasis[0][i]*Jdet*gauss->weight; 1790 //for(i=0;i<numdof;i++) pe->values[i]+= - 1*2000000*dH[1]*dbasis[1][i]*weight*Jdet*gauss->weight; 1784 1791 } 1785 1792
Note:
See TracChangeset
for help on using the changeset viewer.