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