Exio.jl 397 Bytes
Newer Older
William F Godoy's avatar
William F Godoy committed
1
2
3
4
5
6
7
8
module Exio

export ExioH, exio_init

include("extractor/extractor.jl")

mutable struct ExioH
  extractor::AbstractExtractor
9
10
  
  ExioH() = new()
William F Godoy's avatar
William F Godoy committed
11
12
13
14
15
end
  

function exio_init(app::String, outputPrefix::String)

16
  exioH = ExioH()
William F Godoy's avatar
William F Godoy committed
17
18
  if app == "AmrexCastro"
    println("Hello AmrexCastro")
19
20
    exioH.extractor = AmrexCastro()
    init(exioH.extractor, outputPrefix)
William F Godoy's avatar
William F Godoy committed
21
22
  end

23
  return exioH  
William F Godoy's avatar
William F Godoy committed
24
25
26
27
end
  

end