v0.16.3
Loading...
Searching...
No Matches
Classes | Functions
mesh_reconstruction.cpp File Reference
#include <MoFEM.hpp>
#include <iomanip>
#include "HybridProblem.hpp"

Go to the source code of this file.

Classes

struct  Example
 [Example] More...
 
struct  Example::Mesh
 

Functions

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

Function Documentation

◆ main()

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

Definition at line 565 of file mesh_reconstruction.cpp.

565 {
567 &argc, &argv, nullptr,
568 "Sphere, partition, stretch, twist and reconstruct a mesh\n");
569 try {
571 {
572 CHKERR DMRegister_MoFEM("DMMOFEM");
573 CHKERR Example().run();
574 }
576 }
579 return 0;
580}
#define CATCH_ERRORS
Catch errors.
#define CHKERR
Inline error check.
PetscErrorCode DMRegister_MoFEM(const char sname[])
Register MoFEM problem.
Definition DMMoFEM.cpp:43
[Example]
Definition plastic.cpp:209
MoFEMErrorCode run()
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
static MoFEMErrorCode initialise()
Definition SDFPython.cpp:84
static MoFEMErrorCode finalise()