ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/mpi_implementation/mpiSimulation_module.F90
(Generate patch)

Comparing trunk/mdtools/mpi_implementation/mpiSimulation_module.F90 (file contents):
Revision 215 by chuckv, Thu Dec 19 21:59:51 2002 UTC vs.
Revision 230 by chuckv, Thu Jan 9 19:40:38 2003 UTC

# Line 5 | Line 5
5   !!
6   !! @author Charles F. Vardeman II
7   !! @author Matthew Meineke
8 < !! @version $Id: mpiSimulation_module.F90,v 1.1 2002-12-19 21:59:51 chuckv Exp $, $Date: 2002-12-19 21:59:51 $, $Name: not supported by cvs2svn $, $Revision: 1.1 $
8 > !! @version $Id: mpiSimulation_module.F90,v 1.2 2003-01-09 19:40:38 chuckv Exp $, $Date: 2003-01-09 19:40:38 $, $Name: not supported by cvs2svn $, $Revision: 1.2 $
9  
10  
11  
# Line 23 | Line 23 | module mpiSimulation  
23    public :: gather, scatter
24    public :: setupSimParallel
25    public :: replanSimParallel
26 +  public :: getNcol
27 +  public :: getNrow
28 +
29 +
30   !! PUBLIC  Subroutines contained in MPI module
31    public :: mpi_bcast
32    public :: mpi_allreduce
# Line 495 | Line 499 | contains
499      endif
500  
501    end subroutine scatter_double_2d
502 +
503  
504 +  function getNcol(thisplan) result(ncol)
505 +    type (gsPlan) :: thisplan
506 +    integer :: ncol
507 +    ncol = thisplan%gsComponentPlan%nComponentsCol
508 +  end function getNcol
509 +
510 +  function getNrow(thisplan) result(ncol)
511 +    type (gsPlan) :: thisplan
512 +    integer :: ncol
513 +    ncol = thisplan%gsComponentPlan%nComponentsrow
514 +  end function getNrow
515 +
516    
517 +
518 +  
519   #endif
520   end module mpiSimulation
521  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines