760 {
762 try {
763 moab::Core mb_instance;
764 moab::Interface &moab = mb_instance;
765
766 std::vector<Part> parts;
767 CHKERR createParts(moab, parts);
768 CHKERR createTags(moab, parts);
769
772 CHKERR setUpProblem(m_field, parts);
773
774 std::unique_ptr<TestingInterface>
testing(
776 FromTagsTest test(m_field, *
testing, parts);
778 [&]() { return test.testEntity(); });
780 [&]() { return test.testVertex(); });
782 [&]() { return test.testH1(); });
784 [&]() { return test.testNotation(); });
786 [&]() { return test.testSide(); });
788 [&]() { return test.testErrors(); });
790 [&]() { return test.testFactory(); });
792 }
795 return 0;
796}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
TestingInterface * createInterface< TestingInterface >(const Core &core)
static MoFEMErrorCode Initialize(int *argc, char ***args, const char file[], const char help[])
Initializes the MoFEM database PETSc, MOAB and MPI.
static MoFEMErrorCode Finalize()
Checks for options to be called at the conclusion of the program.
Deprecated interface functions.