Commit 0e16d316 authored by William F Godoy's avatar William F Godoy
Browse files

Add git lfs support for test data

parent 1feb1e2e
./test/data/AmrexCastro/hydro_tests/** filter=lfs diff=lfs merge=lfs -text
.buildpath
.project
import Glob include("../helper/helperSystem.jl")
mutable struct AmrexCastro <: AbstractAmrex mutable struct AmrexCastro <: AbstractAmrex
app::String app::String
...@@ -33,14 +34,7 @@ end ...@@ -33,14 +34,7 @@ end
function get_dependent_variable_datasize(extractor::AmrexCastro) function get_dependent_variable_datasize(extractor::AmrexCastro)
findDelimiter = findlast("/",extractor.outputPrefix) outputDirs = helper_get_prefix_directories(extractor.outputPrefix)
println(extractor.outputPrefix)
println(findDelimiter)
searchDirectory = extractor.outputPrefix[ 1: findDelimiter[1]-1 ]
prefix = extractor.outputPrefix[ findDelimiter[1]+1:end]
println("Search directory: ", searchDirectory, " prefix: ", prefix)
outputDirs = Glob.glob( string(prefix,"*"), searchDirectory )
println(outputDirs) println(outputDirs)
end end
......
import Glob
function helper_get_prefix_directories(prefix::String)::Array{String}
findDelimiter = findlast("/",prefix)
searchDirectory = prefix[ 1: findDelimiter[1]-1 ]
print(searchDirectory)
pattern = string(prefix[ findDelimiter[1]+1:end],"*")
outputDirs = Glob.glob( pattern, searchDirectory )
return outputDirs
end
\ No newline at end of file
# COPY OF AMREX CASTRO LICENSE
Copyright (c) 2017, The Regents of the University of California, Copyright (c) 2017, The Regents of the University of California,
through Lawrence Berkeley National Laboratory and the Alliance for through Lawrence Berkeley National Laboratory and the Alliance for
Sustainable Energy, LLC., through National Renewable Energy Laboratory Sustainable Energy, LLC., through National Renewable Energy Laboratory
......
&fortin
r_init = 0.01
p_ambient = 1.d-6
exp_energy = 1.0
dens_ambient = 1.0
nsub = 10
/
&tagging
denerr = 3
dengrad = 0.01
max_denerr_lev = 3
max_dengrad_lev = 3
presserr = 3
pressgrad = 0.01
max_presserr_lev = 3
max_pressgrad_lev = 3
/
&extern
eos_assume_neutral = T
/
Level_0/SD_0_New_MF
Level_0/SD_1_New_MF
Level_1/SD_0_New_MF
Level_1/SD_1_New_MF
Level_2/SD_0_New_MF
Level_2/SD_1_New_MF
CheckPointVersion_1.0
2
0
2
2
(0 (0,0)(0.0625,0.0625) 1)
(RealBox 0 1 0 1 )((0,0) (15,15) (0,0))P(0,0) (0 (0,0)(0.03125,0.03125) 1)
(RealBox 0 1 0 1 )((0,0) (31,31) (0,0))P(0,0) (0 (0,0)(0.015625,0.015625) 1)
(RealBox 0 1 0 1 )((0,0) (63,63) (0,0))P(0,0)
(2,2) (2,2)
3.0337904652557653e-05 1.5168952326278826e-05 7.5844761631394132e-06
3.0337904652557653e-05 1.5168952326278826e-05 7.5844761631394132e-06
1 2 2
0 0 0
0 0 0
0
(0 (0,0)(0.0625,0.0625) 1)
(RealBox 0 1 0 1 )((0,0) (15,15) (0,0))P(0,0)
(1 0
((0,0) (15,15) (0,0))
)2
((0,0) (15,15) (0,0))
(1 0
((0,0) (15,15) (0,0))
)-3.0337904652557653e-05
-3.0337904652557653e-05
0
0
1
Level_0/SD_0_New_MF
((0,0) (15,15) (0,0))
(1 0
((0,0) (15,15) (0,0))
)-3.0337904652557653e-05
-3.0337904652557653e-05
0
0
1
Level_0/SD_1_New_MF
1
(0 (0,0)(0.03125,0.03125) 1)
(RealBox 0 1 0 1 )((0,0) (31,31) (0,0))P(0,0)
(1 0
((8,8) (23,23) (0,0))
)2
((0,0) (31,31) (0,0))
(1 0
((8,8) (23,23) (0,0))
)-1.5168952326278826e-05
-1.5168952326278826e-05
0
0
1
Level_1/SD_0_New_MF
((0,0) (31,31) (0,0))
(1 0
((8,8) (23,23) (0,0))
)-1.5168952326278826e-05
-1.5168952326278826e-05
0
0
1
Level_1/SD_1_New_MF
2
(0 (0,0)(0.015625,0.015625) 1)
(RealBox 0 1 0 1 )((0,0) (63,63) (0,0))P(0,0)
(1 0
((24,24) (39,39) (0,0))
)2
((0,0) (63,63) (0,0))
(1 0
((24,24) (39,39) (0,0))
)-7.5844761631394132e-06
-7.5844761631394132e-06
0
0
1
Level_2/SD_0_New_MF
((0,0) (63,63) (0,0))
(1 0
((24,24) (39,39) (0,0))
)-7.5844761631394132e-06
-7.5844761631394132e-06
0
0
1
Level_2/SD_1_New_MF
1
1
8
0
(1 0
((0,0) (15,15) (0,0))
)
1
FabOnDisk: SD_0_New_MF_D_00000 0
1,8
1.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,1.4999999999999996e-06,1.4999999999999996e-06,1.2027236188031236e-14,1.0000000000000000e+00,
1,8
1.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,6.1672541919046957e+01,6.1672541919046957e+01,4.9450015198442339e-07,1.0000000000000000e+00,
1
1
7
4
(1 0
((0,0) (15,15) (0,0))
)
1
FabOnDisk: SD_1_New_MF_D_00000 0
1,7
0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,
1,7
0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,
1
1
8
0
(1 0
((8,8) (23,23) (0,0))
)
1
FabOnDisk: SD_0_New_MF_D_00001 0
1,8
1.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,1.4999999999999996e-06,1.4999999999999996e-06,1.2027236188031236e-14,1.0000000000000000e+00,
1,8
1.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,2.4669016317618784e+02,2.4669016317618784e+02,1.9780005718559844e-06,1.0000000000000000e+00,
1
1
7
4
(1 0
((8,8) (23,23) (0,0))
)
1
FabOnDisk: SD_1_New_MF_D_00001 0
1,7
0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,
1,7
0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,0.0000000000000000e+00,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment