Changeset 4387
- Timestamp:
- 07/01/10 11:05:05 (15 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Container/Nodes.cpp
r4229 r4387 262 262 263 263 /*sid starts at 0*/ 264 max_sid++;264 if (max_sid) max_sid++; 265 265 266 266 /*return*/ … … 268 268 } 269 269 /*}}}*/ 270 /*FUNCTION Nodes::NumberOfNodes {{{1*/270 /*FUNCTION Nodes::NumberOfNodes(analysis){{{1*/ 271 271 int Nodes::NumberOfNodes(int analysis_type){ 272 272 -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateNodesDiagnosticHoriz.cpp
r4236 r4387 22 22 Nodes* nodes = NULL; 23 23 24 /*Recover pointer: */ 25 nodes=*pnodes; 26 24 27 /*First create nodes*/ 25 nodes = new Nodes(NodesEnum);28 if(!nodes) nodes = new Nodes(NodesEnum); 26 29 27 30 /*Now, is the flag macayaealpattyn on? otherwise, do nothing: */ -
issm/trunk/src/c/modules/ModelProcessorx/UpdateCounters.cpp
r4217 r4387 27 27 28 28 29 if(nodes) iomodel->nodecounter=nodes->NumberOfNodes();29 if(nodes) iomodel->nodecounter=nodes->NumberOfNodes(); 30 30 else iomodel->nodecounter=0; 31 31 -
issm/trunk/src/c/modules/NodesDofx/NodesDofx.cpp
r4229 r4387 26 26 found=parameters->FindParam(&numberofdofspernode,NumberOfDofsPerNodeEnum); 27 27 if(!found)ISSMERROR("could not find numberofdofspernode in parameters"); 28 /*WARNING: THERE IS A BUG HERE TO BE FIXED (see wiki)*/ 29 DistributeNumDofs(&numberofdofspernode,analysis_type); 28 30 29 31 /*Ensure that only for each cpu, the partition border nodes only will be taken into account once -
issm/trunk/src/c/objects/Node.cpp
r4285 r4387 883 883 /*Ok, we are not a clone, just plug our dofs into truedofs: */ 884 884 for(j=0;j<this->indexing.numberofdofs;j++){ 885 *(truedofs+this->indexing.numberofdofs* (id-1)+j)=indexing.doflist[j];885 *(truedofs+this->indexing.numberofdofs*sid+j)=indexing.doflist[j]; 886 886 } 887 887
Note:
See TracChangeset
for help on using the changeset viewer.