/// @file /// Test Collocated Grad calculated matches basis with Lobatto points /// \test Test Collocated Grad calculated matches basis with Lobatto points #include #include #include int main(int argc, char **argv) { Ceed ceed; CeedInt P=4, Q=4; CeedScalar collograd1d[Q*Q], collograd1d2[(P+2)*(P+2)]; CeedBasis b; CeedInit(argv[1], &ceed); // Already collocated, GetCollocatedGrad will return grad1d CeedBasisCreateTensorH1Lagrange(ceed, 1, 1, P, Q, CEED_GAUSS_LOBATTO, &b); CeedBasisGetCollocatedGrad(b, collograd1d); for (int i=0; i