#include <stdlib.h>
#include <BasicFiniteElements.hpp>
#include <PoissonOperators.hpp>
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
|
static char | help [] = "...\n\n" |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 210 of file poisson_prob.cpp.
210 {
213 try {
214 moab::Core mb_instance;
215 moab::Interface &moab = mb_instance;
217 DMType dm_name = "DMMOFEM";
219
222
224
225 CHKERR poisson_problem.runAnalysis();
226 }
229 return 0;
230}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
PetscErrorCode DMRegister_MoFEM(const char sname[])
Register MoFEM problem.
PetscErrorCode PetscOptionsGetInt(PetscOptions *, const char pre[], const char name[], PetscInt *ivalue, PetscBool *set)
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.
◆ help