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

Two-to-three cell flip, representative lineage and rebuilt sharing. More...

#include <MoFEM.hpp>

Go to the source code of this file.

Functions

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

Detailed Description

Two-to-three cell flip, representative lineage and rebuilt sharing.

Definition in file comm_reconstruction.cpp.

Function Documentation

◆ main()

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

Definition at line 160 of file comm_reconstruction.cpp.

160 {
161 MoFEM::Core::Initialize(&argc, &argv, nullptr,
162 "Reconnection communication checks\n");
163 try {
164 moab::Core mb;
165 MoFEM::Core core(mb);
166 const auto error = run(core);
167 if (error)
168 MPI_Abort(PETSC_COMM_WORLD, error);
169 }
172 return 0;
173}
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