From 5857ade9d1a14065eddb0e4227f6182529d3902e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Tue, 11 Sep 2018 13:10:25 +0300 Subject: [PATCH] More test values for ewald. Former-commit-id: a233c84404a48da48dec65189e3de5525954aa18 --- tests/ewalds.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/ewalds.c b/tests/ewalds.c index 8cc24a1..09e91c7 100644 --- a/tests/ewalds.c +++ b/tests/ewalds.c @@ -1,4 +1,4 @@ -// c99 -ggdb -Wall -I ../ ewalds.c ../qpms/ewald.c ../qpms/ewaldgammas.c ../qpms/lattices2d.c -lgsl -lm -lblas +// c99 -ggdb -Wall -I ../ ewalds.c ../qpms/ewald.c ../qpms/ewaldsf.c ../qpms/lattices2d.c -lgsl -lm -lblas // implementation of the [LT(4.16)] test #include @@ -43,6 +43,13 @@ ewaldtest_triang_params paramslist[] = { { 3, {1.1, 0.23}, 2.3, 0.97, 0.9, 30, 30, 1., TRIANGULAR_VERTICAL}, { 3, {1.1, 0.23}, 2.3, 0.97, 1.3, 30, 30, 1., TRIANGULAR_VERTICAL}, { 6, {1.1, 0.23}, 2.3, 0.97, 1.9, 30, 30, 1., TRIANGULAR_VERTICAL}, + { 6, {1.1, 0.23}, 2.3, 0.97, 2.5, 30, 30, 1., TRIANGULAR_VERTICAL}, + { 6, {1.1, 0.23}, 2.3, 0.97, 3.2, 30, 30, 1., TRIANGULAR_VERTICAL}, + { 6, {1.1, 0.23}, 2.3, 0.97, 3.8, 30, 30, 1., TRIANGULAR_VERTICAL}, + { 6, {1.1, 0.23}, 2.3, 0.97, 4.5, 30, 30, 1., TRIANGULAR_VERTICAL}, + { 6, {1.1, 0.23}, 2.3, 0.97, 4.5, 40, 40, 1., TRIANGULAR_VERTICAL}, + { 6, {1.1, 0.23}, 2.3, 0.97, 2.3, 100, 100, 1., TRIANGULAR_VERTICAL}, + { 6, {1.1, 0.23}, 2.3, 0.97, 2.9, 100, 100, 1., TRIANGULAR_VERTICAL}, // end: // { 0, {0, 0}, 0, 0, 0, 0, 0, 0, 0} };