/// @file /// Test creation, use, and destruction of a strided element restriction /// \test Test creation, use, and destruction of a strided element restriction #include #include int main(int argc, char **argv) { Ceed ceed; CeedVector x, y; CeedInt num_elem = 3; CeedScalar a[num_elem*2]; const CeedScalar *yy; CeedInt strides[3] = {1, 2, 2}; CeedInt layout[3]; CeedElemRestriction r; CeedInit(argv[1], &ceed); CeedVectorCreate(ceed, num_elem*2, &x); for (CeedInt i=0; i