amrexCastro.jl 512 Bytes
Newer Older
William F Godoy's avatar
William F Godoy committed
1

2
mutable struct AmrexCastro <: AbstractAmrex
William F Godoy's avatar
William F Godoy committed
3
4
5
  app::String
  degreesOfFreedom
  outputPrefix::String
6
7
  
  AmrexCastro() = new()
William F Godoy's avatar
William F Godoy committed
8
9
10
11
end

function init(extractor::AmrexCastro, outputPrefix::String)
  extractor.app = "AmrexCastro"
12
  extractor.degreesOfFreedom = [ 
William F Godoy's avatar
William F Godoy committed
13
14
15
16
17
18
19
20
21
22
            "max_step", 
            "amr.check_int",
            "amr.plot_int",
            "amr.n_cell",
            "amr.max_level",
            "castro.cfl", 
            "castro.max_grid_size"
        ]
  extractor.outputPrefix = outputPrefix
end