Changeset 3420 for issm/trunk/src/c/objects/Node.cpp
- Timestamp:
- 04/07/10 15:00:38 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Node.cpp
r3417 r3420 60 60 int partitionborder; 61 61 int vertex_id; 62 int upper_node_id; 62 63 63 64 … … 67 68 /*indexing:*/ 68 69 DistributeNumDofs(&numdofs,iomodel->analysis_type,iomodel->sub_analysis_type); //number of dofs per node 69 if( my_bordervertices[i])partitionborder=1; else partitionborder=0;//is this node on a partition border?70 if(iomodel->my_bordervertices[i])partitionborder=1; else partitionborder=0;//is this node on a partition border? 70 71 71 72 this->indexing.Init(numdofs,partitionborder); … … 94 95 } 95 96 96 this->hvertex ->Init(vertex_id,1); //node id is the same as the vertex id, continuous galerkin!97 this->hupper_node ->Init(upper_node_id,1);97 this->hvertex.Init(&vertex_id,1); //node id is the same as the vertex id, continuous galerkin! 98 this->hupper_node.Init(&upper_node_id,1); 98 99 99 100 … … 103 104 if (iomodel->deadgrids[i]){ 104 105 for(k=1;k<=numdofs;k++){ 105 node->FreezeDof(k);106 this->FreezeDof(k); 106 107 } 107 108 } … … 109 110 if (iomodel->gridonhutter[i]){ 110 111 for(k=1;k<=numdofs;k++){ 111 node->FreezeDof(k);112 this->FreezeDof(k); 112 113 } 113 114 }
Note:
See TracChangeset
for help on using the changeset viewer.