From 9141aa9ca29ce151bd7ffa706f3ff0fe6ae46141 Mon Sep 17 00:00:00 2001 From: johnson452 Date: Thu, 14 Mar 2024 16:37:15 -0400 Subject: [PATCH] Removed unnessesary functions --- unit/ctest_bgk_sr.c | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/unit/ctest_bgk_sr.c b/unit/ctest_bgk_sr.c index 6e8f61bbb..2c06a4cb3 100644 --- a/unit/ctest_bgk_sr.c +++ b/unit/ctest_bgk_sr.c @@ -58,21 +58,6 @@ eval_M0(double t, const double *xn, double *restrict fout, void *ctx) fout[0] = 1.0; } -void -eval_M1i_1v_no_drift(double t, const double *xn, double *restrict fout, void *ctx) -{ - double x = xn[0]; - fout[0] = 0.0; -} - -void -eval_M2_1v_no_drift(double t, const double *xn, double *restrict fout, void *ctx) -{ - double T = 1.0; - double x = xn[0]; - fout[0] = T; -} - void eval_M1i_1v(double t, const double *xn, double *restrict fout, void *ctx) { @@ -88,21 +73,6 @@ eval_M2_1v(double t, const double *xn, double *restrict fout, void *ctx) fout[0] = T; } -void -eval_M1i_2v(double t, const double *xn, double *restrict fout, void *ctx) -{ - double x = xn[0]; - fout[0] = 0.5; - fout[1] = 0.25; -} - -void -eval_M2_2v(double t, const double *xn, double *restrict fout, void *ctx) -{ - double T = 1.0; - double x = xn[0]; - fout[0] = T; -} // waterbag distribution void @@ -142,7 +112,7 @@ void test_1x1v(int poly_order) { double lower[] = {0.1, -10.0}, upper[] = {1.0, 10.0}; - int cells[] = {2, 32}; // 1000 + int cells[] = {2, 320}; // 1000 int vdim = 1, cdim = 1; int ndim = cdim + vdim;