IO

Input

KitAMR.read_configFunction
read_config(filename::AbstractString) -> Dict{Symbol, Any}

Read .txt configuration file and return a dictionary.

source
KitAMR.check_for_save!Function
check_for_save!(p4est, ka; rank)

Check whether save is input during the iteration. If the result is true, a saving process will be executed.

source
Todo

A bug exists here, which causes the save input will not be aware of, until one stdout is invoked.

Output

KitAMR.save_resultFunction
save_result(
    p4est::Ptr{KitAMR.P4est.LibP4est.p4est},
    ka::KA{DIM, NDF};
    dir_path
)

Save all results to dir_path. If isempty(dir_path) is true, a folder named result<yyyy-mm-dd_HH-MM> will be made in current path.

source