From 1207ff2e7665257f787eb4ee363e76217e60598f Mon Sep 17 00:00:00 2001 From: Bartosz Chaber Date: Wed, 24 Feb 2021 05:33:46 -0500 Subject: [PATCH] Update the instructions for running problems --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 09329e5..b653bab 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,23 @@ You can use the environment of the package: $ cd iskra/ $ ls *.toml Manifest.toml Project.toml -$ julia --project=. problem/01_single_electron.jl +$ julia --project src/iskra.jl problem/01_single_electron.jl ... ``` +Alternatively, you can run it from REPL: + +``` +$ julia --project +julia> PROBLEM = "problem/01_single_electron.jl" +julia> include("src/iskra.jl") +... +``` + +Please, mind that the during the saving process of diagnostics data the current +directory is changed, so to re-run some simulation you might want to change the +directory in REPL. + # verification This code has been partialy verified against XOOPIC from PTSG (http://ptsg.egr.msu.edu). We have compared two-stream instability simulation and got similar results from both codes. In the near future, DSMC and MCC modules will be verified.