/// @file /// Test creation, use, and destruction of an element restriction oriented /// \test Test creation, use, and destruction of an element restriction oriented #include int main(int argc, char **argv) { Ceed ceed; CeedVector x, y; CeedInt num_elem = 6, P = 2, dim = 1; CeedInt ind[P*num_elem]; bool orient[P*num_elem]; CeedScalar a[num_elem+1]; const CeedScalar *yy; CeedElemRestriction r; CeedInit(argv[1], &ceed); CeedVectorCreate(ceed, num_elem+1, &x); for (CeedInt i=0; i