| 1 | C |
| 2 | C Copyright (c) 1997 Silvano Bonazzola |
| 3 | C |
| 4 | C This file is part of LORENE. |
| 5 | C |
| 6 | C LORENE is free software; you can redistribute it and/or modify |
| 7 | C it under the terms of the GNU General Public License as published by |
| 8 | C the Free Software Foundation; either version 2 of the License, or |
| 9 | C (at your option) any later version. |
| 10 | C |
| 11 | C LORENE is distributed in the hope that it will be useful, |
| 12 | C but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | C GNU General Public License for more details. |
| 15 | C |
| 16 | C You should have received a copy of the GNU General Public License |
| 17 | C along with LORENE; if not, write to the Free Software |
| 18 | C Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 | C |
| 20 | C |
| 21 | SUBROUTINE CONR3S(NDEG,NDIMX,NDIMY,CC,YY) |
| 22 | |
| 23 | implicit double precision (a-h,o-z) |
| 24 | |
| 25 | C |
| 26 | C $Id: conr3s.f,v 1.2 2012/03/30 12:12:43 j_novak Exp $ |
| 27 | C $Log: conr3s.f,v $ |
| 28 | C Revision 1.2 2012/03/30 12:12:43 j_novak |
| 29 | C Cleaning of fortran files |
| 30 | C |
| 31 | C Revision 1.1.1.1 2001/11/20 15:19:30 e_gourgoulhon |
| 32 | C LORENE |
| 33 | C |
| 34 | c Revision 1.1 1997/10/23 08:25:19 eric |
| 35 | c Initial revision |
| 36 | c |
| 37 | C |
| 38 | C $Header: /cvsroot/Lorene/F77/Source/Poisson2d/conr3s.f,v 1.2 2012/03/30 12:12:43 j_novak Exp $ |
| 39 | C |
| 40 | C |
| 41 | character*120 header |
| 42 | data header/'$Header: /cvsroot/Lorene/F77/Source/Poisson2d/conr3s.f,v 1.2 2012/03/30 12:12:43 j_novak Exp $'/ |
| 43 | |
| 44 | |
| 45 | DIMENSION CC(NDIMX,NDIMY,*),YY(NDIMX,NDIMY,*),NDEG(3) |
| 46 | C |
| 47 | NX=NDEG(1) |
| 48 | NY=NDEG(2) |
| 49 | NZ=NDEG(3) |
| 50 | |
| 51 | DO 3 LZ=1,NZ |
| 52 | DO 2 LY=1,NY |
| 53 | DO 1 LX=1,NX |
| 54 | YY(LX,LY,LZ)=CC(LX,LY,LZ) |
| 55 | 1 CONTINUE |
| 56 | 2 CONTINUE |
| 57 | 3 CONTINUE |
| 58 | RETURN |
| 59 | END |