test_latticegenxyweb.c fix compilation command, add test case.
Former-commit-id: 08b07d41cd6819ccb272cf3310467e806da9f6fe
This commit is contained in:
parent
47cd2b8c59
commit
2fd17cc697
|
@ -1,4 +1,4 @@
|
||||||
//c99 -o test_latticegenxyweb -ggdb -Wall -I ../ test_latticegenxyweb.c ../qpms/latticegens.c -lm
|
//c99 -o test_latticegenxyweb -ggdb -Wall -I ../ test_latticegenxyweb.c ../qpms/latticegens.c ../qpms/lattices2d.c -lm
|
||||||
#define QPMS_VECTORS_NICE_TRANSFORMATIONS
|
#define QPMS_VECTORS_NICE_TRANSFORMATIONS
|
||||||
#include <qpms/lattices.h>
|
#include <qpms/lattices.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -46,6 +46,9 @@ int main(int argc, char **argv) {
|
||||||
b1.x = 1.342, b1.y = 4.3121; b2.x = -1.83, b2.y = 1.4;
|
b1.x = 1.342, b1.y = 4.3121; b2.x = -1.83, b2.y = 1.4;
|
||||||
g = PGen_xyWeb_new(b1, b2, 1e-13, offset, 0, true, 8, false);
|
g = PGen_xyWeb_new(b1, b2, 1e-13, offset, 0, true, 8, false);
|
||||||
dump_PGenCart2("oblique1.xydump", &g);
|
dump_PGenCart2("oblique1.xydump", &g);
|
||||||
|
g = PGen_xyWeb_new(b1, b2, 1e-13, offset, 0, false, 8, false);
|
||||||
|
dump_PGenCart2("oblique1_noorig.xydump", &g);
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue