Load and save file.
More...
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
|
static char | help [] = "...\n\n" |
|
Load and save file.
Definition in file fix_file.cpp.
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 10 of file fix_file.cpp.
17 PetscBool in_flg_file = PETSC_FALSE;
18 PetscBool out_flg_file = PETSC_FALSE;
19 CHKERR PetscOptionsBegin(PETSC_COMM_WORLD,
"",
"Fix file options",
"none");
20 CHKERR PetscOptionsString(
"-file_name",
"mesh file name",
"",
"mesh.h5m",
22 CHKERR PetscOptionsString(
"-out_file_name",
"mesh file name",
"",
24 ierr = PetscOptionsEnd();
29 ParallelComm *pcomm = ParallelComm::get_pcomm(&moab,
MYPCOMM_INDEX);
38 CHKERR BitRefManager::fixTagSize(moab, &changes);
◆ help
static MoFEMErrorCode Initialize(int *argc, char ***args, const char file[], const char help[])
Initializes the MoFEM database PETSc, MOAB and MPI.