1 /// @file 2 /// Test creation and distruction of a H1Lagrange basis 3 /// \test Test creation and distruction of a H1Lagrange basis 4 #include <ceed.h> 5 6 int main(int argc, char **argv) { 7 Ceed ceed; 8 CeedBasis b; 9 10 CeedInit(argv[1], &ceed); 11 12 CeedBasisCreateTensorH1Lagrange(ceed, 1, 1, 4, 4, CEED_GAUSS_LOBATTO, &b); 13 CeedBasisView(b, stdout); 14 CeedBasisDestroy(&b); 15 16 CeedBasisCreateTensorH1Lagrange(ceed, 1, 1, 4, 4, CEED_GAUSS, &b); 17 CeedBasisView(b, stdout); 18 CeedBasisDestroy(&b); 19 20 CeedDestroy(&ceed); 21 return 0; 22 } 23