Changeset 5838


Ignore:
Timestamp:
09/16/10 09:07:52 (15 years ago)
Author:
Eric.Larour
Message:

reversed previous correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/PenaltyConstraintsx/RiftConstraints.cpp

    r5835 r5838  
    329329
    330330        #ifdef _PARALLEL_
    331         MPI_Reduce (&max_penetration,&mpi_max_penetration,1,MPI_INT,MPI_MAX,0,MPI_COMM_WORLD );
    332         MPI_Bcast(&mpi_max_penetration,1,MPI_INT,0,MPI_COMM_WORLD);               
     331        MPI_Reduce (&max_penetration,&mpi_max_penetration,1,MPI_DOUBLE,MPI_MAX,0,MPI_COMM_WORLD );
     332        MPI_Bcast(&mpi_max_penetration,1,MPI_DOUBLE,0,MPI_COMM_WORLD);               
    333333        max_penetration=mpi_max_penetration;
    334334        #endif
Note: See TracChangeset for help on using the changeset viewer.