Changeset 5871
- Timestamp:
- 09/17/10 15:35:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk/src/c/modules/MaxAbsVyx/MaxAbsVyx.cpp ¶
r5414 r5871 20 20 for(i=0;i<elements->Size();i++){ 21 21 Element* element=(Element*)elements->GetObjectByOffset(i); 22 element->MaxAbsVy(&element_maxabsvy,process_units); //go pick up the m inimum velocity in the inputs22 element->MaxAbsVy(&element_maxabsvy,process_units); //go pick up the maximum velocity in the inputs 23 23 24 24 if(i==0)maxabsvy=element_maxabsvy; //initialize maxabsvy … … 33 33 34 34 #ifdef _PARALLEL_ 35 /*Figure out m inimum across the cluster: */35 /*Figure out maximum across the cluster: */ 36 36 MPI_Reduce (&maxabsvy,&node_maxabsvy,1,MPI_DOUBLE,MPI_MAX,0,MPI_COMM_WORLD ); 37 37 MPI_Bcast(&node_maxabsvy,1,MPI_DOUBLE,0,MPI_COMM_WORLD);
Note:
See TracChangeset
for help on using the changeset viewer.