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

Exchange vectors with imported partition labels in serial and parallel. More...

#include <MoFEM.hpp>

Go to the source code of this file.

Functions

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

Detailed Description

Exchange vectors with imported partition labels in serial and parallel.

Definition in file entities_petsc_vector.cpp.

Function Documentation

◆ main()

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

Definition at line 154 of file entities_petsc_vector.cpp.

154 {
155 MoFEM::Core::Initialize(&argc, &argv, nullptr,
156 "Entity exchange with imported partition labels\n");
157 try {
158 moab::Core moab_core;
159 ParallelComm pcomm(&moab_core, PETSC_COMM_WORLD);
160 CHKERR runTest(moab_core, pcomm);
161 }
164 return 0;
165}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
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