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.
   10                                 {
   11 
   13 
   14  try {
   17    PetscBool out_flg_file = PETSC_FALSE;
   18    PetscOptionsBegin(PETSC_COMM_WORLD, "", "Fix file options", "none");
   19    CHKERR PetscOptionsString(
"-file_name", 
"mesh file name", 
"", 
"mesh.h5m",
 
   21    CHKERR PetscOptionsString(
"-out_file_name", 
"mesh file name", 
"",
 
   23    PetscOptionsEnd();
   24 
   25    moab::Core mb_instance;
   26    moab::Interface &moab = mb_instance;
   27    const char *option;
   28    option = "";
   29 
   32 
   34    bool changes = false;
   36    if (changes)
   38  }
   39 
   41 
   43}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
#define MOFEM_LOG(channel, severity)
Log.
static MoFEMErrorCode fixTagSize(moab::Interface &moab, bool *changed=nullptr)
Fix tag size when BITREFLEVEL_SIZE of core library is different than file BITREFLEVEL_SIZE.
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