xref: /phasta/M2N/src/input.f (revision 595995161822a203c8467e0e4a253d7bd7d6df32)
1        subroutine input()
2c
3c----------------------------------------------------------------------
4c This routine inputs all the necessary data, allocates required array
5c storage, and sets up the appropriate parameters for the processing.
6c
7c
8c Farzin Shakib, Winter 1987.
9c Zdenek Johan,  Winter 1991.  (Fortran 90)
10c----------------------------------------------------------------------
11c
12        include "commonM2N.h"
13        include "mpif.h"
14
15        external endata
16
17        integer, allocatable :: nsons(:)
18c
19        character*8  date
20        character*80 card
21
22c assigned in phasta.cc
23c        numpe=npe
24c        myrank=mrank
25
26        call MPI_BARRIER(MPI_COMM_WORLD, ierr)
27
28        epsM = sqrt(epsilon(one))
29c
30c.... read in and block all data
31c
32        call readnblk()
33c
34c....return
35c
36        return
37        end
38