Link to the source code for this example:

Open introduction_ex3 in new tab.


The console output of the program:

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

 Mesh Information:
  elem_dimensions()={2}
  spatial_dimension()=2
  n_nodes()=961
    n_local_nodes()=961
  n_elem()=225
    n_local_elem()=225
    n_active_elem()=225
  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="SECOND", "THIRD" 
    n_dofs()=961
    n_local_dofs()=961
    n_constrained_dofs()=0
    n_local_constrained_dofs()=0
    n_vectors()=1
    n_matrices()=1
    DofMap Sparsity
      Average  On-Processor Bandwidth <= 15.2352
      Average Off-Processor Bandwidth <= 0
      Maximum  On-Processor Bandwidth <= 25
      Maximum Off-Processor Bandwidth <= 0
    DofMap Constraints
      Number of DoF Constraints = 0


 -------------------------------------------------------------------------------------------------------------------
| Time:           Wed Apr 13 09:51:17 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.014589, Active time=0.008085                                                  |
 -----------------------------------------------------------------------------------------------------------------
| 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.0001      0.000076    0.0001      0.000076    0.94     0.94     |
|   build_sparsity()                 1          0.0006      0.000648    0.0007      0.000740    8.01     9.15     |
|   create_dof_constraints()         1          0.0000      0.000023    0.0000      0.000023    0.28     0.28     |
|   distribute_dofs()                1          0.0001      0.000106    0.0005      0.000477    1.31     5.90     |
|   dof_indices()                    450        0.0002      0.000000    0.0002      0.000000    2.59     2.59     |
|   prepare_send_list()              2          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|   reinit()                         1          0.0004      0.000371    0.0004      0.000371    4.59     4.59     |
|                                                                                                                 |
| FE                                                                                                              |
|   compute_shape_functions()        285        0.0005      0.000002    0.0005      0.000002    6.12     6.12     |
|   init_shape_functions()           61         0.0000      0.000000    0.0000      0.000000    0.28     0.28     |
|   inverse_map()                    180        0.0001      0.000001    0.0001      0.000001    1.71     1.71     |
|                                                                                                                 |
| FEMap                                                                                                           |
|   compute_affine_map()             285        0.0002      0.000001    0.0002      0.000001    2.62     2.62     |
|   compute_face_map()               60         0.0001      0.000002    0.0002      0.000004    1.26     3.07     |
|   init_face_shape_functions()      1          0.0000      0.000004    0.0000      0.000004    0.05     0.05     |
|   init_reference_to_physical_map() 61         0.0002      0.000002    0.0002      0.000002    1.87     1.87     |
|                                                                                                                 |
| Mesh                                                                                                            |
|   find_neighbors()                 1          0.0004      0.000379    0.0004      0.000379    4.69     4.69     |
|   renumber_nodes_and_elem()        2          0.0000      0.000008    0.0000      0.000008    0.19     0.19     |
|                                                                                                                 |
| MeshTools::Generation                                                                                           |
|   build_cube()                     1          0.0002      0.000165    0.0002      0.000165    2.04     2.04     |
|                                                                                                                 |
| Parallel                                                                                                        |
|   allgather()                      1          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|                                                                                                                 |
| Partitioner                                                                                                     |
|   single_partition()               1          0.0000      0.000016    0.0000      0.000016    0.20     0.20     |
|                                                                                                                 |
| PetscLinearSolver                                                                                               |
|   solve()                          1          0.0035      0.003530    0.0035      0.003530    43.66    43.66    |
|                                                                                                                 |
| System                                                                                                          |
|   assemble()                       1          0.0014      0.001422    0.0028      0.002767    17.59    34.22    |
 -----------------------------------------------------------------------------------------------------------------
| Totals:                            1398       0.0081                                          100.00            |
 -----------------------------------------------------------------------------------------------------------------

 
***************************************************************
* Done Running Example introduction_ex3:
*   example-opt  
***************************************************************