Skip to content

Commit

Permalink
Removed unnessesary functions
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson452 committed Mar 14, 2024
1 parent 4a14cba commit 9141aa9
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions unit/ctest_bgk_sr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 9141aa9

Please sign in to comment.