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

Topological ancestry from vertex classification, independent of CGAL. More...

#include <MoFEM.hpp>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Topological ancestry from vertex classification, independent of CGAL.

Definition in file mesh_parentage.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 234 of file mesh_parentage.cpp.

234 {
235 MoFEM::Core::Initialize(&argc, &argv, nullptr,
236 "Topological parentage test\n");
237 try {
238 moab::Core mb;
239 MoFEM::Core core(mb, PETSC_COMM_WORLD);
240 CHKERR run(core);
241 MOFEM_LOG("WORLD", Sev::inform) << "Topological parentage checks passed";
242 }
245 return 0;
246}
moab::Interface & mb
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
#define MOFEM_LOG(channel, severity)
Log.
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