Go to the source code of this file.
|
| int | main (int argc, char *argv[]) |
| | [Run program]
|
| |
|
| static char | help [] = "...\n\n" |
| |
◆ EXECUTABLE_DIMENSION
| #define EXECUTABLE_DIMENSION 3 |
◆ main()
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
[Run program]
[Main]
Definition at line 768 of file electrostatics.cpp.
768 {
769
770 const char param_file[] = "param_file.petsc";
772
773
774 try {
775
776 DMType dm_name = "DMMOFEM";
778
779
780 moab::Core mb_instance;
781 moab::Interface &moab = mb_instance;
782
783
786
787
789 CHKERR Electrostatics_problem.runProgram();
790 }
792
793
795
796 return 0;
797}
#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.
◆ help