1 /// @file 2 /// Test viewing of qfunction by name 3 /// \test Test viewing of qfunction by name 4 #include <ceed.h> 5 6 int main(int argc, char **argv) { 7 Ceed ceed; 8 CeedQFunction qf_setup, qf_mass; 9 10 11 CeedInit(argv[1], &ceed); 12 13 CeedQFunctionCreateInteriorByName(ceed, "Mass1DBuild", &qf_setup); 14 CeedQFunctionCreateInteriorByName(ceed, "MassApply", &qf_mass); 15 16 CeedQFunctionView(qf_setup, stdout); 17 CeedQFunctionView(qf_mass, stdout); 18 19 CeedQFunctionDestroy(&qf_setup); 20 CeedQFunctionDestroy(&qf_mass); 21 CeedDestroy(&ceed); 22 return 0; 23 } 24