Added dynamic simulation for use with distributed systems and incremental simulations Added module based exports Added test for distributed systems [skip ci]
31 lines
1.1 KiB
Julia
31 lines
1.1 KiB
Julia
module TUG
|
|
|
|
include("AbstractSimulation.jl")
|
|
|
|
export AbstractSimulation, APPROACH, CONSOLE_OUTPUT, CSV_OUTPUT, BTCS, FTCS, CONSOLE_OUTPUT_OFF, CONSOLE_OUTPUT_ON, CONSOLE_OUTPUT_VERBOSE, CSV_OUTPUT_OFF, CSV_OUTPUT_ON, CSV_OUTPUT_VERBOSE, CSV_OUTPUT_XTREME
|
|
|
|
include("Simulation.jl")
|
|
|
|
export Simulation
|
|
export run, setTimestep, setIterations, setOutputConsole, setOutputCSV
|
|
|
|
include("DynamicSimulation.jl")
|
|
|
|
export DynamicSimulation
|
|
export createGrid, getConcentrations, setConcentrations!, setAlphaX!, setAlphaY!, next, printConcentrationsCSV, printConcentrations
|
|
|
|
include("Boundary.jl")
|
|
|
|
export Boundary, BoundaryElement, TYPE, SIDE, BC_TYPE_CLOSED, BC_TYPE_CONSTANT, LEFT, RIGHT, TOP, BOTTOM
|
|
export getType, getValue, setValue!, setBoundarySideClosed!, setBoundarySideConstant!, getBoundarySide, getBoundarySideClosed, getBoundarySideConstant
|
|
|
|
include("Grid.jl")
|
|
|
|
export Grid
|
|
export getAlphaX, getAlphaY, getConcentrations, setConcentrations!, setAlphaX!, setAlphaY!, getDomainCol, getDomainRow, getDeltaCol, getDeltaRow, getDim
|
|
|
|
include("Core/BTCS.jl")
|
|
include("Core/FTCS.jl")
|
|
|
|
end
|