1144df584Sjeremylt /// @file 2144df584Sjeremylt /// Test GetNumNodes and GetNumQuadraturePoints for basis 3144df584Sjeremylt /// \test Test GetNumNodes and GetNumQuadraturePoints for basis 4144df584Sjeremylt #include <ceed.h> 5*49aac155SJeremy L Thompson #include <stdio.h> 6144df584Sjeremylt 7144df584Sjeremylt int main(int argc, char **argv) { 8144df584Sjeremylt Ceed ceed; 94fee36f0SJeremy L Thompson CeedBasis basis; 104fee36f0SJeremy L Thompson CeedInt p, q; 11144df584Sjeremylt 12144df584Sjeremylt CeedInit(argv[1], &ceed); 13144df584Sjeremylt 144fee36f0SJeremy L Thompson CeedBasisCreateTensorH1Lagrange(ceed, 3, 1, 4, 5, CEED_GAUSS_LOBATTO, &basis); 15144df584Sjeremylt 164fee36f0SJeremy L Thompson CeedBasisGetNumNodes(basis, &p); 174fee36f0SJeremy L Thompson CeedBasisGetNumQuadraturePoints(basis, &q); 18144df584Sjeremylt 194fee36f0SJeremy L Thompson if (p != 64) printf("%" CeedInt_FMT " != 64\n", p); 204fee36f0SJeremy L Thompson if (q != 125) printf("%" CeedInt_FMT " != 125\n", q); 21144df584Sjeremylt 224fee36f0SJeremy L Thompson CeedBasisDestroy(&basis); 23144df584Sjeremylt CeedDestroy(&ceed); 24144df584Sjeremylt return 0; 25144df584Sjeremylt } 26