#include <ceed.h>
#include <ceed/backend.h>
#include <stdbool.h>
static bool register_all_called;
#define CEED_GALLERY_QFUNCTION(name) CEED_INTERN int name(void);
#include "../gallery/ceed-gallery-list.h"
#undef CEED_GALLERY_QFUNCTION
int CeedQFunctionRegisterAll() {
int ierr = 0;
CeedPragmaCritical(CeedQFunctionRegisterAll) {
if (!register_all_called) {
CeedDebugEnv256(1, "\n---------- Registering Gallery QFunctions ----------\n");
#define CEED_GALLERY_QFUNCTION(name) \
if (!ierr) ierr = name();
#include "../gallery/ceed-gallery-list.h"
#undef CEED_GALLERY_QFUNCTION
register_all_called = true;
}
}
return ierr;
}