/// @file /// Test creation, use, and destruction of a blocked element restriction /// \test Test creation, use, and destruction of a blocked element restriction #include int main(int argc, char **argv) { Ceed ceed; CeedVector x, y; CeedInt num_elem = 8; CeedInt blk_size = 5; CeedInt ind[2*num_elem]; CeedScalar a[num_elem+1]; CeedElemRestriction r; CeedInit(argv[1], &ceed); CeedVectorCreate(ceed, num_elem+1, &x); for (CeedInt i=0; i