301 {
302
303
304 const char param_file[] = "param_file.petsc";
306
307
308 try {
309
310 DMType dm_name = "DMMOFEM";
312
313
314 moab::Core mb_instance;
315 moab::Interface &moab = mb_instance;
316
317
320
321
323 CHKERR poisson_problem.runProgram();
324 }
326
327
329
330 return 0;
331}
#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.