t413-qfunction.c (874019bc89a44b0eae6b48d78442abcb0851055b) t413-qfunction.c (d1d35e2f02dc969aee8debf3fd943dd784aa847a)
1/// @file
1/// @file
2/// Test viewing of qfunction by name
3/// \test Test viewing of qfunction by name
2/// Test viewing of QFunction by name
3/// \test Test viewing of QFunction by name
4#include <ceed.h>
5
6int 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}
4#include <ceed.h>
5
6int 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}