ExampleAmrexCastro.jl 807 Bytes
Newer Older
1
2
3
4
5
6
7
8


import Exio


function main()
    #### Configuration section ######
    ## exio_init requires three inputs and returns a handler of type exioH  
9

10
11
    # only supported: AmrexCastro
    app::String = "AmrexCastro"
12

13
14
    # location where several run outputs are located they must have a common prefix 
    outputPrefix::String = "/home/wgodoy/workspace/Castro/Exec/hydro_tests/Sedov/case"
15

16
17
18
    # file name inside outputs directories
    logFile::String = "run.log"
    #################################
19

20
21
22
23
24
25
26
27
28
    # init Exio (can create as many entities as needed)
    exio = Exio.exio_init(app, outputPrefix, logFile)
    # create a linear model based on provided runs (the larger, the better)
    # it will report the formula for dependent and independent variables
    Exio.run_linear_models(exio)

end

main()