MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / rootPrint

Function rootPrint

examples/isolated/reporting_matrices.c:23–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22
23void rootPrint(qindex num) {
24
25 if (getQuESTEnv().rank != 0)
26 return;
27
28 printf("\n\n>> set number of reported items to %lld", num);
29
30 if (num == 0)
31 printf(" (which means report all)");
32
33 printf("\n\n");
34}
35
36
37

Callers 3

demo_CompMatrFunction · 0.70
demo_DiagMatrFunction · 0.70
demo_FullStateDiagMatrFunction · 0.70

Calls 1

getQuESTEnvFunction · 0.85

Tested by

no test coverage detected