376 {
377
378
379 const char param_file[] = "param_file.petsc";
381
382
383 try {
384
385 DMType dm_name = "DMMOFEM";
387
388
389 moab::Core mb_instance;
390 moab::Interface &moab = mb_instance;
391
392
395
396
398 CHKERR poisson_problem.runProgram();
399 }
401
402
404
405 return 0;
406}
#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.