375 {
376
377
378 const char param_file[] = "param_file.petsc";
380
381
382 try {
383
384 DMType dm_name = "DMMOFEM";
386
387
388 moab::Core mb_instance;
389 moab::Interface &moab = mb_instance;
390
391
394
395
397 CHKERR poisson_problem.runProgram();
398 }
400
401
403
404 return 0;
405}
#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.