Changeset 323
- Timestamp:
- 05/08/09 14:43:02 (16 years ago)
- Location:
- issm/trunk/src/c/ModelProcessorx/DiagnosticHutter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/ModelProcessorx/DiagnosticHutter/CreateConstraintsDiagnosticHutter.cpp
r308 r323 54 54 #endif 55 55 56 if ( (int)model->gridonhutter[i]){56 if (!(int)model->gridonhutter[i]){ 57 57 58 58 spc_sid=count; -
issm/trunk/src/c/ModelProcessorx/DiagnosticHutter/CreateElementsNodesAndMaterialsDiagnosticHutter.cpp
r318 r323 231 231 matice_mid=i+1; //same as the material id from the geom2 elements. 232 232 matice_B=model->B[i]; 233 matice_n=(double)model->n[ i];233 matice_n=(double)model->n[1]; //n defined on elements not grids, so take the first value everywhere 234 234 235 235 /*Create matice ubeam its constructor:*/ … … 332 332 node=new Node(node_id,node_partitionborder,node_numdofs,node_x,node_onbed,node_onsurface,node_upper_node_id); 333 333 334 /*set single point constraints.: */335 if (strcmp(model->meshtype,"3d")==0){336 /*On a 3d mesh, we may have collapsed elements, hence dead grids. Freeze them out: */337 if (model->deadgrids[i]){338 for(k=1;k<=node_numdofs;k++){339 node->FreezeDof(k);340 }341 }342 }343 334 /*Add node to nodes dataset: */ 344 335 nodes->AddObject(node);
Note:
See TracChangeset
for help on using the changeset viewer.