Build

Install python dependencies

pip3 install matplotlib
pip3 install argparse

Build

cargo b --release

Run

Problem 1

function u

./target/release/calculation problem1 --load_function=type1 --a=10 --b=15 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --eps=0.1 --function_type=u

function v

./target/release/calculation problem1 --load_function=type1 --a=10 --b=15 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --eps=0001 --function_type=v

function sigma x

./target/release/calculation problem1 --load_function=type1 --a=10 --b=15 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --eps=0001 --function_type=sigma_x

function sigma y

./target/release/calculation problem1 --load_function=type1 --a=10 --b=15 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --eps=0001 --function_type=sigma_y

Problem 1_2

function u

./target/release/calculation problem1_2 --load_function=type1 --a=10 --b=15 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --eps=0001 --function_type=u

function v

./target/release/calculation problem1_2 --load_function=type1 --a=10 --b=15 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --eps=0001 --function_type=v

function sigma x

./target/release/calculation problem1_2 --load_function=type1 --a=10 --b=15 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --eps=0001 --function_type=sigma_x

function sigma y

./target/release/calculation problem1_2 --load_function=type1 --a=10 --b=15 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --eps=0001 --function_type=sigma_y

Problem 2

function u

./target/release/calculation problem2 --load_function=type1 --a=10 --b=15 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --eps=0.1 --function_type=u

function v

./target/release/calculation problem2 --load_function=type1 --a=10 --b=15 --n_x=50 --n_y=20 --puasson_coef=0.25 --young_modulus=200 --eps=0.1 --function_type=v

function sigma x

./target/release/calculation problem2 --load_function=type1 --a=10 --b=15 --n_x=50 --n_y=20 --puasson_coef=0.25 --young_modulus=200 --eps=0.1 --function_type=sigma_x

function sigma y

./target/release/calculation problem2 --load_function=type1 --a=10 --b=15 --n_x=50 --n_y=20 --puasson_coef=0.25 --young_modulus=200 --eps=0.1 --function_type=sigma_y

Problem 3

function u

./target/release/calculation problem3 --load_function=type1 --a=10 --b=15 --t=10 --n_x=100 --n_y=10 --n_t=100 --puasson_coef=0.25 --young_modulus=200 --omega=0.75 --c1=10 --c2=10 --eps=0.1 --function_type=u

function v

./target/release/calculation problem3 --load_function=type1 --a=10 --b=15 --t=10 --n_x=100 --n_y=10 --n_t=100 --puasson_coef=0.25 --young_modulus=200 --omega=0.75 --c1=10 --c2=10 --eps=0001 --function_type=v

function sigma x

./target/release/calculation problem3 --load_function=type1 --a=10 --b=15 --t=10 --n_x=100 --n_y=10 --n_t=100 --puasson_coef=0.25 --young_modulus=200 --omega=0.75 --c1=10 --c2=10 --eps=0001 --function_type=sigma_x

function sigma y

./target/release/calculation problem3 --load_function=type1 --a=10 --b=15 --t=10 --n_x=100 --n_y=10 --n_t=100 --puasson_coef=0.25 --young_modulus=200 --omega=0.75 --c1=10 --c2=10 --eps=0001 --function_type=sigma_y

## Problem 3 Part
function u

./target/release/calculation problem3_part --load_function=type1 --a=10 --b=15 --t=10 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --omega=0.75 --c1=10 --c2=10 --eps=0001 --function_type=u

function v

./target/release/calculation problem3_part --load_function=type1 --a=10 --b=15 --t=10 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --omega=0.75 --c1=10 --c2=10 --eps=0001 --function_type=v

function sigma x

./target/release/calculation problem3_part --load_function=type1 --a=10 --b=15 --t=10 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --omega=0.75 --c1=10 --c2=10 --eps=0001 --function_type=sigma_x

function sigma y

./target/release/calculation problem3_part --load_function=type1 --a=10 --b=15 --t=10 --n_x=100 --n_y=10 --puasson_coef=0.25 --young_modulus=200 --omega=0.75 --c1=10 --c2=10 --eps=0001 --function_type=sigma_y

Problem 3 Frequations calc

function u

./target/release/calculation problem3_freq --load_function=type1 --a=10 --b=15 --x=8 --y=10 --t=10 --omega_1=0.1 --omega_2=20 --n_omega=5000 --puasson_coef=0.25 --young_modulus=200 --c1=10 --c2=10 --eps=0.1 --function_type=u

function v

./target/release/calculation problem3_part --load_function=type1 --a=10 --b=15 --x=1 --y=2 --t=10 --omega_1=0 --omega_2=1 --n_omega=100 --puasson_coef=0.25 --young_modulus=200 --c1=10 --c2=10 --eps=0001 --function_type=v

function sigma x

./target/release/calculation problem3_part --load_function=type1 --a=10 --b=15 --x=1 --y=2 --t=10 --omega_1=0 --omega_2=1 --n_omega=100 --puasson_coef=0.25 --young_modulus=200 --c1=10 --c2=10 --eps=0001 --function_type=sigma_x

function sigma y

./target/release/calculation problem3_part --load_function=type1 --a=10 --b=15 --x=1 --y=2 --t=10 --omega_1=0 --omega_2=1 --n_omega=100 --puasson_coef=0.25 --young_modulus=200 --c1=10 --c2=10 --eps=0001 --function_type=sigma_y