Changeset 5871


Ignore:
Timestamp:
09/17/10 15:35:00 (15 years ago)
Author:
jschierm
Message:

Fix MaxAbsVyx comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/c/modules/MaxAbsVyx/MaxAbsVyx.cpp

    r5414 r5871  
    2020        for(i=0;i<elements->Size();i++){
    2121                Element* element=(Element*)elements->GetObjectByOffset(i);
    22                 element->MaxAbsVy(&element_maxabsvy,process_units); //go pick up the minimum velocity in the inputs
     22                element->MaxAbsVy(&element_maxabsvy,process_units); //go pick up the maximum velocity in the inputs
    2323       
    2424                if(i==0)maxabsvy=element_maxabsvy; //initialize maxabsvy
     
    3333
    3434        #ifdef _PARALLEL_
    35         /*Figure out minimum across the cluster: */
     35        /*Figure out maximum across the cluster: */
    3636        MPI_Reduce (&maxabsvy,&node_maxabsvy,1,MPI_DOUBLE,MPI_MAX,0,MPI_COMM_WORLD );
    3737        MPI_Bcast(&node_maxabsvy,1,MPI_DOUBLE,0,MPI_COMM_WORLD);   
Note: See TracChangeset for help on using the changeset viewer.