v0.16.3
Loading...
Searching...
No Matches
Functions
checkpoints.cpp File Reference

Reload tutorial checkpoints and check the global mesh independently. More...

#include <MoFEM.hpp>
#include <cmath>
#include <iomanip>

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Detailed Description

Reload tutorial checkpoints and check the global mesh independently.

Definition in file checkpoints.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 231 of file checkpoints.cpp.

231 {
232 MoFEM::Core::Initialize(&argc, &argv, nullptr, "Check mesh checkpoints\n");
233 try {
234 moab::Core mb;
235 MoFEM::Core core(mb);
236 CHKERR run(core);
237 }
240 return 0;
241}
moab::Interface & mb
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
MoFEMErrorCode run(MoFEM::Interface &m_field)
Definition sdf_python.cpp:7
Core (interface) class.
Definition Core.hpp:83
static MoFEMErrorCode Initialize(int *argc, char ***args, const char file[], const char help[])
Initializes the MoFEM database PETSc, MOAB and MPI.
Definition Core.cpp:68
static MoFEMErrorCode Finalize()
Checks for options to be called at the conclusion of the program.
Definition Core.cpp:123