Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,20 @@ For single-point runs such as ripple tests, populate a `config_t` instance, call

When spline mode is active the `M_t`, `vth`, `qi`, and `mi` values come from the supplied plasma/profile data and overwrite any prior config settings, so reset them if you later switch back to the config-only workflow.

## Examples

The `examples/` directory contains ready-to-run input decks. To run the base example:

```bash
make examples-base
```

To list all available examples:

```bash
make examples-list
```

## Testing

Regression and unit tests are provided for both the Fortran and Python components. After building the solver, run
Expand Down
2 changes: 1 addition & 1 deletion examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ example_value = $($(call example_var,$1,$2))
examples-list:
@printf "Available examples: %s\n" "$(EXAMPLE_TARGETS)"

examples-%: build | $(NEO_RT_BIN)
examples-%: build
$(call run_example,$*)

# Internal helper: run a single example by name.
Expand Down
1 change: 1 addition & 0 deletions examples/base/driftorbit.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
efac = 1.0 ! scale E field by factor
inp_swi = 8 ! input switch for Boozer file
vsteps = 256 ! integration steps in velocity space
log_level = 3 ! log level (0=result, 1=error, 2=warn, 3=info, 4=debug, 5=trace)
/
2 changes: 1 addition & 1 deletion src/config.f90
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ subroutine read_and_set_config(config_file)

character(len=*), intent(in) :: config_file
real(dp) :: qs, ms
integer :: log_level
integer :: log_level = 0

namelist /params/ s, M_t, qs, ms, vth, epsmn, m0, mph, comptorque, magdrift, &
nopassing, noshear, pertfile, nonlin, bfac, efac, inp_swi, vsteps, log_level
Expand Down
Loading