/// @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 elem_size = 2; CeedInt ind[elem_size*num_elem]; CeedScalar a[num_elem+1]; CeedElemRestriction r; CeedScalar *y_array; CeedInit(argv[1], &ceed); CeedVectorCreate(ceed, num_elem+1, &x); for (CeedInt i=0; i