374 {
375
376
377 const char param_file[] = "param_file.petsc";
379
380
381 try {
382
383 DMType dm_name = "DMMOFEM";
385
386
387 moab::Core mb_instance;
388 moab::Interface &moab = mb_instance;
389
390
393
394
396 CHKERR poisson_problem.runProgram();
397 }
399
400
402
403 return 0;
404}
#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.