/// @file /// Test creation, use, and destruction of an element restriction /// \test Test creation, use, and destruction of an element restriction #include int main(int argc, char **argv) { Ceed ceed; CeedVector x, y; CeedInt num_elem = 3; CeedInt ind[2*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