Skip to content

Commit

Permalink
Update tutorial.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bencardoen authored Oct 30, 2024
1 parent 60c7eac commit bfc479b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,19 @@ For example:

![example](./assets/interactive.png)

This would work like this:

```julia
using Pkg; Pkg.activate("."); # <CTRL+ENTER>
using SubPrecisionContactDetection; # <CTRL+ENTER>
@info "Test"; #CTRL+ENTER
defs = get_defaults(); #CTRL+ENTER
```

## Julia API
While you can call the scripts from the command line, you can also do so from within Julia:

```julia
using SubPrecisionInteractionDetection
twochannel_contats(get_defaults());
```
```

0 comments on commit bfc479b

Please sign in to comment.