Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.39 KB

File metadata and controls

45 lines (36 loc) · 1.39 KB

Numerical Analysis

By Alex Quinlan, Henry Jacobson, Pia Callmer and Nicola Sabbadini

Tests

Latest beam animation

Running the code

Run the dynamic case from the root of the directory with

julia --project=. src/single_dynamic.jl
julia --project=. src/framework_dynamic.jl

Run the static code with

julia --project=. src/single_static.jl
julia --project=. src/dynamic_static.jl

You can also run the code from the REPL. Add the NumericalAnalysis package by add https://github.com/alexQueue/NumericalAnalysis using the package manager, then you can with using NumericalAnalysis use the modules Beam1D and Beam2D directly.

Testing

Tests are run in Github Actions but are non-blocking. You can run tests locally with

julia --project=. test/runtests.jl

Package management

See: https://pkgdocs.julialang.org/v1/environments/

Add packages by:

  • Entering the Julia REPL.
  • Then enter package management mode with ].
  • Activate the local project with activate ..
  • Finally, add the package with add <package-name>.

Add all necessary packages for development:

  • Do first three steps as above.
  • Add required packages with instantiate.