Link to the source code for this example:

Open introduction_ex5 in new tab.


The console output of the program:

***************************************************************
* Running Example introduction_ex5:
*   example-opt -q 0 
***************************************************************
 
Running /Users/petejw/projects/libmesh_git/build/examples/introduction/introduction_ex5/.libs/example-opt -q 0

 Mesh Information:
  elem_dimensions()={3}
  spatial_dimension()=3
  n_nodes()=4913
    n_local_nodes()=4913
  n_elem()=4096
    n_local_elem()=4096
    n_active_elem()=4096
  n_subdomains()=1
  n_partitions()=1
  n_processors()=1
  n_threads()=1
  processor_id()=0

 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()=4913
    n_local_dofs()=4913
    n_constrained_dofs()=1538
    n_local_constrained_dofs()=1538
    n_vectors()=1
    n_matrices()=1
    DofMap Sparsity
      Average  On-Processor Bandwidth <= 23.9465
      Average Off-Processor Bandwidth <= 0
      Maximum  On-Processor Bandwidth <= 27
      Maximum Off-Processor Bandwidth <= 0
    DofMap Constraints
      Number of DoF Constraints = 1538
      Number of Heterogenous Constraints= 1474
      Average DoF Constraint Length= 0


 -------------------------------------------------------------------------------------------------------------------
| Time:           Wed Apr 13 09:51:35 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.108081, Active time=0.093413                                                      |
 ---------------------------------------------------------------------------------------------------------------------
| 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.0009      0.000897    0.0009      0.000897    0.96     0.96     |
|   build_constraint_matrix_and_vector() 4096       0.0031      0.000001    0.0031      0.000001    3.34     3.34     |
|   build_sparsity()                     1          0.0092      0.009181    0.0105      0.010507    9.83     11.25    |
|   create_dof_constraints()             1          0.0081      0.008108    0.0094      0.009389    8.68     10.05    |
|   distribute_dofs()                    1          0.0007      0.000692    0.0040      0.003970    0.74     4.25     |
|   dof_indices()                        16384      0.0037      0.000000    0.0037      0.000000    3.93     3.93     |
|   hetero_cnstrn_elem_mat_vec()         4096       0.0032      0.000001    0.0032      0.000001    3.45     3.45     |
|   prepare_send_list()                  2          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|   reinit()                             1          0.0033      0.003277    0.0033      0.003277    3.51     3.51     |
|                                                                                                                     |
| EquationSystems                                                                                                     |
|   build_solution_vector()              1          0.0025      0.002503    0.0036      0.003606    2.68     3.86     |
|                                                                                                                     |
| ExodusII_IO                                                                                                         |
|   write_nodal_data()                   1          0.0059      0.005948    0.0059      0.005948    6.37     6.37     |
|                                                                                                                     |
| FE                                                                                                                  |
|   compute_shape_functions()            4096       0.0082      0.000002    0.0082      0.000002    8.75     8.75     |
|   init_shape_functions()               1          0.0000      0.000014    0.0000      0.000014    0.01     0.01     |
|                                                                                                                     |
| FEMap                                                                                                               |
|   compute_affine_map()                 4096       0.0034      0.000001    0.0034      0.000001    3.62     3.62     |
|   init_reference_to_physical_map()     1          0.0000      0.000027    0.0000      0.000027    0.03     0.03     |
|                                                                                                                     |
| Mesh                                                                                                                |
|   find_neighbors()                     1          0.0096      0.009605    0.0096      0.009605    10.28    10.28    |
|   renumber_nodes_and_elem()            2          0.0002      0.000102    0.0002      0.000102    0.22     0.22     |
|                                                                                                                     |
| MeshOutput                                                                                                          |
|   write_equation_systems()             1          0.0000      0.000017    0.0096      0.009571    0.02     10.25    |
|                                                                                                                     |
| MeshTools::Generation                                                                                               |
|   build_cube()                         1          0.0022      0.002157    0.0022      0.002157    2.31     2.31     |
|                                                                                                                     |
| Parallel                                                                                                            |
|   allgather()                          1          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|                                                                                                                     |
| Partitioner                                                                                                         |
|   single_partition()                   1          0.0001      0.000126    0.0001      0.000126    0.13     0.13     |
|                                                                                                                     |
| PetscLinearSolver                                                                                                   |
|   solve()                              1          0.0065      0.006502    0.0065      0.006502    6.96     6.96     |
|                                                                                                                     |
| System                                                                                                              |
|   assemble()                           1          0.0226      0.022590    0.0432      0.043153    24.18    46.20    |
 ---------------------------------------------------------------------------------------------------------------------
| Totals:                                32788      0.0934                                          100.00            |
 ---------------------------------------------------------------------------------------------------------------------

 
***************************************************************
* Done Running Example introduction_ex5:
*   example-opt -q 0 
***************************************************************