7 |
|
!! |
8 |
|
!! @author Charles F. Vardeman II |
9 |
|
!! @author Matthew Meineke |
10 |
< |
!! @version $Id: mpiSimulation_module.F90,v 1.2 2003-03-26 23:14:02 gezelter Exp $, $Date: 2003-03-26 23:14:02 $, $Name: not supported by cvs2svn $, $Revision: 1.2 $ |
10 |
> |
!! @version $Id: mpiSimulation_module.F90,v 1.3 2003-03-27 23:33:40 chuckv Exp $, $Date: 2003-03-27 23:33:40 $, $Name: not supported by cvs2svn $, $Revision: 1.3 $ |
11 |
|
|
12 |
|
module mpiSimulation |
13 |
|
use definitions |
254 |
|
|
255 |
|
nComponentsLocal = thisComponentPlan%myNlocal |
256 |
|
|
257 |
+ |
write(*,*) "UpdateGridComponents: myNlocal ", nComponentsLocal |
258 |
|
call mpi_allreduce(nComponentsLocal,nComponentsRow,1,mpi_integer,& |
259 |
|
mpi_sum,thisComponentPlan%rowComm,mpiErrors) |
260 |
|
if (mpiErrors /= 0) then |
271 |
|
|
272 |
|
thisComponentPlan%nComponentsRow = nComponentsRow |
273 |
|
thisComponentPlan%nComponentsColumn = nComponentsColumn |
274 |
< |
|
274 |
> |
write(*,*) "UpdateGridComponents: myNRow ",& |
275 |
> |
thisComponentPlan%nComponentsRow |
276 |
> |
write(*,*) "UpdateGridComponents: myNColumn ",& |
277 |
> |
thisComponentPlan%nComponentsColumn |
278 |
|
|
279 |
|
end subroutine updateGridComponents |
280 |
|
|
629 |
|
ncol = thisplan%gsComponentPlan%nComponentsColumn |
630 |
|
end function getNcol |
631 |
|
|
632 |
< |
pure function getNrow(thisplan) result(ncol) |
632 |
> |
pure function getNrow(thisplan) result(nrow) |
633 |
|
type (gs_plan), intent(in) :: thisplan |
634 |
< |
integer :: ncol |
635 |
< |
ncol = thisplan%gsComponentPlan%nComponentsrow |
634 |
> |
integer :: nrow |
635 |
> |
nrow = thisplan%gsComponentPlan%nComponentsRow |
636 |
|
end function getNrow |
637 |
|
|
638 |
|
function isMPISimSet() result(isthisSimSet) |