Link to the source code for this example:
Open miscellaneous_ex9 in new tab.
The console output of the program:
***************************************************************
* Running Example miscellaneous_ex9:
* example-opt
***************************************************************
*** Warning, This code is deprecated, and likely to be removed in future library versions! ../../../include/libmesh/type_vector.h, line 878, compiled Apr 12 2016 at 11:19:59 ***
EquationSystems
n_systems()=1
System #0, "Poisson"
Type "LinearImplicit"
Variables="u"
Finite Element Types="LAGRANGE", "JACOBI_20_00"
Infinite Element Mapping="CARTESIAN"
Approximation Orders="FIRST", "THIRD"
n_dofs()=1868
n_local_dofs()=1868
n_constrained_dofs()=44
n_local_constrained_dofs()=44
n_vectors()=1
n_matrices()=1
DofMap Sparsity
Average On-Processor Bandwidth <= 14.0032
Average Off-Processor Bandwidth <= 0
Maximum On-Processor Bandwidth <= 42
Maximum Off-Processor Bandwidth <= 0
DofMap Constraints
Number of DoF Constraints = 44
Average DoF Constraint Length= 0
-------------------------------------------------------------------------------------------------------------------
| Time: Wed Apr 13 09:36:36 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-default-comm-world' |
| '--enable-tecio' |
| '--enable-unique-ptr' |
| '--enable-ifem' |
| 'PETSC_DIR=/opt/moose/petsc/mpich_petsc-3.6.1/clang-opt-superlu' |
| 'SLEPC_DIR=/opt/petejw/slepc/3.6.1' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| '--disable-netcdf-4' |
| '--disable-testsets' |
| 'CXX=mpicxx' |
| 'CC=mpicc' |
| 'F77=mpif77' |
| 'FC=mpif90' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
-------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
| libMesh Performance: Alive time=0.117259, Active time=0.083034 |
-----------------------------------------------------------------------------------------------------------------
| 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 |
|-----------------------------------------------------------------------------------------------------------------|
| |
| |
| DofMap |
| add_neighbors_to_send_list() 1 0.0015 0.001460 0.0015 0.001460 1.76 1.76 |
| build_constraint_matrix() 8371 0.0018 0.000000 0.0018 0.000000 2.22 2.22 |
| build_sparsity() 1 0.0112 0.011173 0.0131 0.013093 13.46 15.77 |
| cnstrn_elem_mat_vec() 8371 0.0008 0.000000 0.0008 0.000000 0.94 0.94 |
| create_dof_constraints() 1 0.0101 0.010119 0.0121 0.012127 12.19 14.60 |
| distribute_dofs() 1 0.0009 0.000872 0.0048 0.004837 1.05 5.83 |
| dof_indices() 33550 0.0051 0.000000 0.0051 0.000000 6.16 6.16 |
| prepare_send_list() 2 0.0000 0.000000 0.0000 0.000000 0.00 0.00 |
| reinit() 1 0.0040 0.003965 0.0040 0.003965 4.78 4.78 |
| |
| EquationSystems |
| build_solution_vector() 1 0.0034 0.003423 0.0052 0.005179 4.12 6.24 |
| |
| ExodusII_IO |
| write_nodal_data() 1 0.0056 0.005584 0.0056 0.005584 6.72 6.72 |
| |
| FE |
| compute_shape_functions() 8569 0.0054 0.000001 0.0054 0.000001 6.51 6.51 |
| init_shape_functions() 199 0.0001 0.000000 0.0001 0.000000 0.07 0.07 |
| inverse_map() 264 0.0002 0.000001 0.0002 0.000001 0.20 0.20 |
| |
| FEMap |
| compute_affine_map() 8569 0.0051 0.000001 0.0051 0.000001 6.13 6.13 |
| compute_face_map() 132 0.0001 0.000001 0.0001 0.000001 0.13 0.13 |
| init_face_shape_functions() 1 0.0000 0.000024 0.0000 0.000024 0.03 0.03 |
| init_reference_to_physical_map() 199 0.0002 0.000001 0.0002 0.000001 0.23 0.23 |
| |
| Mesh |
| find_neighbors() 1 0.0136 0.013590 0.0136 0.013590 16.37 16.37 |
| renumber_nodes_and_elem() 2 0.0002 0.000117 0.0002 0.000117 0.28 0.28 |
| |
| MeshOutput |
| write_equation_systems() 1 0.0000 0.000016 0.0108 0.010780 0.02 12.98 |
| |
| NameBasedIO |
| read() 1 0.0053 0.005295 0.0053 0.005295 6.38 6.38 |
| |
| Parallel |
| allgather() 1 0.0000 0.000000 0.0000 0.000000 0.00 0.00 |
| |
| Partitioner |
| single_partition() 1 0.0001 0.000131 0.0001 0.000131 0.16 0.16 |
| |
| PetscLinearSolver |
| solve() 1 0.0084 0.008396 0.0084 0.008396 10.11 10.11 |
-----------------------------------------------------------------------------------------------------------------
| Totals: 68242 0.0830 100.00 |
-----------------------------------------------------------------------------------------------------------------
***************************************************************
* Done Running Example miscellaneous_ex9:
* example-opt
***************************************************************