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 CeedInit(argv[1], &ceed); 11 12 CeedQFunctionCreateInteriorByName(ceed, "Mass1DBuild", &qf_setup); 13 CeedQFunctionCreateInteriorByName(ceed, "MassApply", &qf_mass); 14 15 CeedQFunctionView(qf_setup, stdout); 16 CeedQFunctionView(qf_mass, stdout); 17 18 CeedQFunctionDestroy(&qf_setup); 19 CeedQFunctionDestroy(&qf_mass); 20 CeedDestroy(&ceed); 21 return 0; 22 } 23