~fluidity-core/fluidity/exorcised

« back to all changes in this revision

Viewing changes to multiphase/tests/BL_test_10elements_1d/input_perm_BL1_func.f90

  • Committer: saunde01
  • Date: 2011-03-23 13:15:31 UTC
  • Revision ID: svn-v4:5bf5533e-7014-46e3-b1bb-cce4b9d03719:trunk:3310
As discussed in the Dev meeting and in emails, this commit renames the multiphase directory to legacy_reservoir_prototype, and adds an obvious warning to the top of the README file to warn unsuspecting users of the experimental nature of the code. Iterations on the exact wording very welcome

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
program main
2
 
  implicit none
3
 
  integer :: ndim1, ndim2, ndim3
4
 
  real, dimension( :, :, : ), allocatable :: field
5
 
  integer :: idim1, idim2, idim3
6
 
 
7
 
  open( 5, file = 'filedim', status = 'unknown' )
8
 
  read( 5, * ) ndim1, ndim2, ndim3
9
 
  close( 5 )
10
 
 
11
 
  allocate( field( ndim1, ndim2, ndim3 ))
12
 
 
13
 
  field = 0
14
 
  field( 1 : ndim1, 1, 1 ) = 1.
15
 
 
16
 
  do idim1 = 1, ndim1
17
 
     do idim2 = 1, ndim2
18
 
        do idim3 = 1, ndim3
19
 
           print*, field( idim1, idim2, idim3 )
20
 
        end do
21
 
     end do
22
 
  end do
23
 
 
24
 
 
25
 
end program main