299 {
300
301
302 const char param_file[] = "param_file.petsc";
304
305
306 try {
307
308 DMType dm_name = "DMMOFEM";
310
311
312 moab::Core mb_instance;
313 moab::Interface &moab = mb_instance;
314
315
318
319
321 CHKERR poisson_problem.runProgram();
322 }
324
325
327
328 return 0;
329}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
PetscErrorCode DMRegister_MoFEM(const char sname[])
Register MoFEM problem.
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.