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

Delaunay transfer, identity and mesh-level isolation checks. More...

#include <MoFEM.hpp>
#include <CGALInterfaceTypes.hpp>
#include <CGAL/version.h>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Delaunay transfer, identity and mesh-level isolation checks.

Definition in file cgal_interface.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 707 of file cgal_interface.cpp.

707 {
708 MoFEM::Core::Initialize(&argc, &argv, nullptr, "CGAL interface atom test\n");
709 try {
710 moab::Core mb;
711 MoFEM::Core core(mb, PETSC_COMM_WORLD);
712 CHKERR run(core);
713 CHKERR runAncestry(core);
714 CHKERR indexedIdentity();
715 CHKERR skinOrientation();
716#if CGAL_VERSION_NR >= 1060300000
717 CHKERR constrainedReconstruction();
718#endif
719 MOFEM_LOG("WORLD", Sev::inform) << "CGAL transfer checks passed";
720 }
723 return 0;
724}
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