// Test Colocated Grad calculated matches basis with Lobatto points #include #include int main(int argc, char **argv) { Ceed ceed; CeedInt P=4, Q=4; CeedScalar colograd1d[Q*Q], colograd1d2[(P+2)*(P+2)]; CeedBasis b; CeedInit(argv[1], &ceed); // Already colocated, GetColocatedGrad will return grad1d CeedBasisCreateTensorH1Lagrange(ceed, 1, 1, P, Q, CEED_GAUSS_LOBATTO, &b); CeedBasisGetColocatedGrad(b, colograd1d); CeedBasisView(b, stdout); for (int i=0; i