From 543eda599fe7a91b795f15619f7ecfe4f9e81c0c Mon Sep 17 00:00:00 2001 From: gtheler Date: Thu, 5 Sep 2024 07:37:40 -0300 Subject: [PATCH] missing files for tests --- tests/time_path_petsc.fee | 2 +- tests/time_path_raw.fee | 7 +++++++ tests/time_path_sundials.fee | 8 ++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tests/time_path_raw.fee create mode 100644 tests/time_path_sundials.fee diff --git a/tests/time_path_petsc.fee b/tests/time_path_petsc.fee index f0be660..6a03bd5 100644 --- a/tests/time_path_petsc.fee +++ b/tests/time_path_petsc.fee @@ -13,7 +13,7 @@ TIME_PATH 1 10/2 end_time/2 10 SOLVE_PROBLEM -PRINT t +# PRINT t IF in_static|in_time_path|done FILE out PATH wilson-2d-%g.vtk 10*t WRITE_RESULTS FILE out T diff --git a/tests/time_path_raw.fee b/tests/time_path_raw.fee new file mode 100644 index 0000000..15c8b4f --- /dev/null +++ b/tests/time_path_raw.fee @@ -0,0 +1,7 @@ +end_time = 5 +dt = 7/37 +TIME_PATH 1 2 3 4 5 +IF in_time_path + PRINT t heaviside(t-1)-heaviside(t-3) lag(heaviside(t-1)-heaviside(t-3),1.234) +ENDIF + diff --git a/tests/time_path_sundials.fee b/tests/time_path_sundials.fee new file mode 100644 index 0000000..fbae979 --- /dev/null +++ b/tests/time_path_sundials.fee @@ -0,0 +1,8 @@ +PHASE_SPACE x +TIME_PATH 1e-2 5e-2 1e-1 5e-1 1 +end_time = 1 +x_0 = 1 +x_dot = -x +IF in_time_path + PRINT t x +ENDIF