Link to the source code for this example:
Open miscellaneous_ex6 in new tab.
The console output of the program:
***************************************************************
* Running Example miscellaneous_ex6:
* example-opt
***************************************************************
Triangulating an L-shaped domain with holes
Tetrahedralizing a prismatic domain with a hole
-------------------------------------------------------------------------------------------------------------------
| Time: Wed Apr 13 12:41:22 2016 |
| OS: Darwin |
| HostName: peterson-laptop.local |
| OS Release: 15.0.0 |
| OS Version: Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 |
| Machine: x86_64 |
| Username: petejw |
| Configuration: ../configure 'INSTALL=/usr/bin/install -C' |
| '--with-methods=opt dbg' |
| '--prefix=/Users/petejw/projects/libmesh_git/installed' |
| '--enable-perflog' |
| '--enable-tracefiles' |
| '--disable-blocked-storage' |
| '--enable-tecio' |
| '--enable-unique-ptr' |
| '--enable-ifem' |
| '--disable-strict-lgpl' |
| '--with-vtk-include=/opt/moose/vtk-6.3/include/vtk-6.3' |
| '--with-vtk-lib=/opt/moose/vtk-6.3/lib' |
| 'CXX=mpicxx' |
| 'CC=mpicc' |
| 'FC=mpif90' |
| 'F77=mpif77' |
| 'PETSC_DIR=/opt/moose/petsc/mpich_petsc-3.6.1/clang-opt-superlu' |
| 'SLEPC_DIR=/opt/petejw/slepc/3.6.1' |
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
| libMesh Performance: Alive time=0.0231, Active time=0.006187 |
------------------------------------------------------------------------------------------------------------
| Event nCalls Total Time Avg Time Total Time Avg Time % of Active Time |
| w/o Sub w/o Sub With Sub With Sub w/o S With S |
|------------------------------------------------------------------------------------------------------------|
| |
| |
| Mesh |
| find_neighbors() 5 0.0037 0.000736 0.0037 0.000736 59.51 59.51 |
| renumber_nodes_and_elem() 6 0.0001 0.000009 0.0001 0.000009 0.91 0.91 |
| write() 2 0.0024 0.001195 0.0024 0.001195 38.65 38.65 |
| |
| MeshTools::Generation |
| build_cube() 2 0.0000 0.000010 0.0000 0.000010 0.34 0.34 |
| |
| Partitioner |
| single_partition() 3 0.0000 0.000012 0.0000 0.000012 0.60 0.60 |
------------------------------------------------------------------------------------------------------------
| Totals: 18 0.0062 100.00 |
------------------------------------------------------------------------------------------------------------
***************************************************************
* Done Running Example miscellaneous_ex6:
* example-opt
***************************************************************