ExampleAmrexCastro.jl 952 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
    # location where several run outputs are located they must have a common prefix 
William F Godoy's avatar
William F Godoy committed
14 15 16 17
    # Local
    # outputPrefix::String = "/home/wgodoy/workspace/Castro/Exec/hydro_tests/Sedov/case"
    # Summit location
    outputPrefix::String = "/gpfs/alpine/proj-shared/csc310/wgodoy/amrex/Castro/Exec/hydro_tests/Sedov/case"
18

19 20 21
    # file name inside outputs directories
    logFile::String = "run.log"
    #################################
22

23 24 25 26 27 28 29 30 31
    # 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()