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

Implicit sphere/shell geometry and persistent-ID reconstruction. More...

#include <MoFEM.hpp>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/squared_distance_3.h>
#include <cmath>

Go to the source code of this file.

Functions

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

Detailed Description

Implicit sphere/shell geometry and persistent-ID reconstruction.

Definition in file cgal_generation.cpp.

Function Documentation

◆ main()

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

Definition at line 139 of file cgal_generation.cpp.

139 {
140 MoFEM::Core::Initialize(&argc, &argv, nullptr, "Implicit mesh checks\n");
141 try {
142 moab::Core mb;
143 MoFEM::Core core(mb);
144 CHKERR run(core);
145 }
148 return 0;
149}
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