Installing WavKinS
The following steps are necessary to install WavKinS.
Installation of Julia
Download the Julia Programming Language https://julialang.org and follow the instructions for installation.
Installing WavkinS
To install WavKinS.jl open Julia in project mode. From the WavKinS folder type:
> julia --projectthen enter to the package mode by typing ] and do
(@v1.10) pkg> instantiateJulia should download and install all the necessary packages.
If you use Visual Studio Code for coding, it is useful to install the julia package Revise.jl.
Generating Documentation
To generate a local copy fo the documentation, go to /docs folder and run
julia --project make.jlThe package Documenter.jl will generate a webpage in the folder /docs/build. After building, open the file /docs/build/index.html
Getting started and running the code
The next tutorials show with examples the basic use of WavKinS. In all cases, we need to import the module WavKinS. Assuming that Julia knows where WavKinS has been installed, it is imported by doing
using WavKinSbefore any call to WavKinS routines.
Before lunching Julia, you need to indicate the path to the folder where WavKinS has been installed, here denoted as PATH_TO_WAVKINS_FOLDER. In Linux bash, this is set by setting the JULIA_LOAD_PATH environment variable
export JULIA_LOAD_PATH="PATH_TO_WAVKINS_FOLDER:$JULIA_LOAD_PATH"