Changeset 25446 for issm/trunk-jpl/src/c/classes/FemModel.cpp
- Timestamp:
- 08/21/20 20:09:49 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/FemModel.cpp
r25389 r25446 990 990 /* Start looping on the number of gaussian points: */ 991 991 Gauss* gauss=element->NewGauss(2); 992 for(int ig=gauss->begin();ig<gauss->end();ig++){ 993 994 gauss->GaussPoint(ig); 992 while(gauss->next()){ 995 993 996 994 /* Get Jacobian determinant: */ … … 2080 2078 /* Start looping on the number of gaussian points: */ 2081 2079 Gauss* gauss=element->NewGauss(2); 2082 for(int ig=gauss->begin();ig<gauss->end();ig++){ 2083 2084 gauss->GaussPoint(ig); 2080 while(gauss->next()){ 2085 2081 2086 2082 /* Get Jacobian determinant: */ … … 2138 2134 /* Start looping on the number of gaussian points: */ 2139 2135 Gauss* gauss=element->NewGauss(2); 2140 for(int ig=gauss->begin();ig<gauss->end();ig++){ 2141 2142 gauss->GaussPoint(ig); 2136 while(gauss->next()){ 2143 2137 2144 2138 /* Get Jacobian determinant: */ … … 2697 2691 /* Start looping on the number of gaussian points: */ 2698 2692 Gauss* gauss=element->NewGauss(2); 2699 for(int ig=gauss->begin();ig<gauss->end();ig++){ 2700 2701 gauss->GaussPoint(ig); 2693 while(gauss->next()){ 2702 2694 2703 2695 /* Get Jacobian determinant: */ … … 2752 2744 /* Start looping on the number of gaussian points: */ 2753 2745 Gauss* gauss=element->NewGauss(2); 2754 for(int ig=gauss->begin();ig<gauss->end();ig++){ 2755 2756 gauss->GaussPoint(ig); 2746 while(gauss->next()){ 2757 2747 2758 2748 /* Get Jacobian determinant: */ … … 2871 2861 /* Start looping on the number of gaussian points: */ 2872 2862 Gauss* gauss=element->NewGauss(2); 2873 for(int ig=gauss->begin();ig<gauss->end();ig++){ 2874 2875 gauss->GaussPoint(ig); 2863 while(gauss->next()){ 2876 2864 2877 2865 /* Get Jacobian determinant: */ … … 4148 4136 Gauss* gauss=element->NewGauss(2); 4149 4137 error=0.; 4150 for(int ig=gauss->begin();ig<gauss->end();ig++){ 4151 gauss->GaussPoint(ig); 4138 while(gauss->next()){ 4152 4139 element->JacobianDeterminant(&Jdet,xyz_list,gauss); 4153 4140 element->NodalFunctions(basis,gauss); … … 4212 4199 /*Get the gradient of thickness at the center point (in fact, GradH is constante over the element)*/ 4213 4200 Gauss* gauss=element->NewGauss(1); 4214 gauss->GaussPoint( gauss->begin());4201 gauss->GaussPoint(0); 4215 4202 element->ValueP1DerivativesOnGauss(GradH,H,xyz_list,gauss); 4216 4203 … … 4295 4282 /*Get the gradient of thickness*/ 4296 4283 Gauss* gaussH=element->NewGauss(1); 4297 gaussH->GaussPoint( gaussH->begin());4284 gaussH->GaussPoint(0); 4298 4285 element->ValueP1DerivativesOnGauss(GradH,H,xyz_list,gaussH); 4299 4286 /*Integrate*/ 4300 4287 Gauss* gauss=element->NewGauss(2); 4301 4288 error=0.; 4302 for(int ig=gauss->begin();ig<gauss->end();ig++){ 4303 gauss->GaussPoint(ig); 4289 while(gauss->next()){ 4304 4290 element->JacobianDeterminant(&Jdet,xyz_list,gauss); 4305 4291 element->NodalFunctions(basis,gauss);
Note:
See TracChangeset
for help on using the changeset viewer.