Changes between Version 1 and Version 2 of u/bliu/parseHDF5


Ignore:
Timestamp:
12/18/17 17:19:39 (7 years ago)
Author:
Baowei Liu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/bliu/parseHDF5

    v1 v2  
    11== Parse Chombo files from AstroBEAR ==
     2
     31. Initialize density using the position
     4
     5{{{
     6
     7  SUBROUTINE ProblemGridInit(Info)
     8    TYPE(InfoDef) :: Info
     9    INTEGER :: i,j,k
     10    REAL(KIND=xPREC) :: pos(3)
     11
     12    ! Loop over cells in patch
     13    DO i=1, Info%mX(1)
     14      DO j=1, Info%mX(2)
     15        DO k=1, Info%mX(3)
     16          Info%q(i,j,k,irho) = i*10+j
     17          Info%q(i,j,k,imom(1:nDim)) = 0
     18        END DO
     19      END DO
     20    END DO
     21  END SUBROUTINE ProblemGridInit
     22}}}
     23
     242. Results
     25
     26|| 0 level AMR on 1 core || [[Image(http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/0AMR_1core.png,width=150)]] || [http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/chombo_0AMR_1core.hdf chombo] || [http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/chombo_0AMR_1core.txt text] ||
     27|| 0 level AMR on 2 core || [[Image(http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/0AMR_2cores.png,width=150)]] || [http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/chombo_0AMR_2core.hdf chombo] || [http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/chombo_0AMR_2core.txt text] ||
     28|| 1 level AMR on 1 core || [[Image(http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/1AMR_1core.png,width=150)]] || [http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/chombo_1AMR_1core.hdf chombo] || [http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/chombo_1AMR_1core.txt text] ||
     29|| 1 level AMR on 2 core || [[Image(http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/1AMR_2cores.png,width=150)]] || [http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/chombo_1AMR_2core.hdf chombo] || [http://www.pas.rochester.edu/~bliu/forShape/Nico/testHDF5/chombo_1AMR_2core.txt text] ||