Changeset 26003
- Timestamp:
- 02/19/21 21:15:42 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/SamplingAnalysis.cpp
r26001 r26003 160 160 /*Retrieve all inputs and parameters*/ 161 161 element->GetVerticesCoordinates(&xyz_list); 162 Input 2* kappa_input=element->GetInput2(SamplingKappaEnum); _assert_(kappa_input);162 Input* kappa_input=element->GetInput(SamplingKappaEnum); _assert_(kappa_input); 163 163 164 164 /* Start looping on the number of gaussian points: */ 165 165 Gauss* gauss=element->NewGauss(2); 166 for(int ig=gauss->begin();ig<gauss->end();ig++){ 167 168 gauss->GaussPoint(ig); 166 while(gauss->next()){ 169 167 170 168 element->JacobianDeterminant(&Jdet,xyz_list,gauss); … … 224 222 element->GetVerticesCoordinates(&xyz_list); 225 223 element->GetLevelCoordinates(&xyz_list_boundary,xyz_list,MeshVertexonboundaryEnum,1.); 226 Input 2* beta_input=element->GetInput2(SamplingBetaEnum); _assert_(beta_input);224 Input* beta_input=element->GetInput(SamplingBetaEnum); _assert_(beta_input); 227 225 228 226 /* Start looping on the number of gaussian points: */ 229 227 Gauss* gauss=element->NewGauss(xyz_list,xyz_list_boundary,3); 230 for(int ig=gauss->begin();ig<gauss->end();ig++){ 231 gauss->GaussPoint(ig); 228 while(gauss->next()){ 232 229 233 230 element->JacobianDeterminantSurface(&Jdet,xyz_list_boundary,gauss); … … 283 280 284 281 /*Add sample inputs to the tria element: */ 285 element->AddInput 2(SampleEnum,newsample,element->GetElementType());282 element->AddInput(SampleEnum,newsample,element->GetElementType()); 286 283 287 284 /*Free ressources:*/ … … 315 312 /* Start looping on the number of gaussian points: */ 316 313 Gauss* gauss=element->NewGauss(2); 317 for(int ig=gauss->begin();ig<gauss->end();ig++){ 318 gauss->GaussPoint(ig); 314 while(gauss->next()){ 319 315 320 316 element->JacobianDeterminant(&Jdet,xyz_list,gauss);
Note:
See TracChangeset
for help on using the changeset viewer.