Skip to content

Commit

Permalink
Replace Output.get_root -> get_path_solver_package in how-to
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinvis committed Dec 17, 2022
1 parent 0e69425 commit 107a9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how-to/read-write-par-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SimulTGV(SimulNek):
# Read defaults for `params.nek` from `tgv.par.cfg` (original code)
info_solver = cls.info_solver # cls.InfoSolver()
output_cls = info_solver.import_classes()["Output"]
root = output_cls.get_root()
root = output_cls.get_path_solver_package()
complete_params_from_par_file(
params, root / f"{info_solver.short_name}.par.cfg"
)
Expand Down

0 comments on commit 107a9b3

Please sign in to comment.