Skip to content

Commit

Permalink
Update the instructions for running problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Chaber committed Feb 24, 2021
1 parent 6451a2a commit 1207ff2
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1207ff2

Please sign in to comment.