Link to the source code for this example:

Open miscellaneous_ex1 in new tab.


The console output of the program:

***************************************************************
* Running Example miscellaneous_ex1:
*   example-opt  
***************************************************************
 
Running ex6 with dim = 3

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

 Verbose mode disabled in non-debug mode.
*** Warning, This code is deprecated, and likely to be removed in future library versions! ./include/libmesh/type_vector.h, line 878, compiled Apr 13 2016 at 18:30:52 ***
 Mesh Information:
  elem_dimensions()={3}
  spatial_dimension()=3
  n_nodes()=223
    n_local_nodes()=223
  n_elem()=160
    n_local_elem()=160
    n_active_elem()=160
  n_subdomains()=2
  n_partitions()=1
  n_processors()=1
  n_threads()=1
  processor_id()=0

 EquationSystems
  n_systems()=1
   System #0, "Wave"
    Type "LinearImplicit"
    Variables="p" 
    Finite Element Types="LAGRANGE", "JACOBI_20_00" 
    Infinite Element Mapping="CARTESIAN" 
    Approximation Orders="FIRST", "THIRD" 
    n_dofs()=419
    n_local_dofs()=419
    n_constrained_dofs()=0
    n_local_constrained_dofs()=0
    n_vectors()=1
    n_matrices()=1
    DofMap Sparsity
      Average  On-Processor Bandwidth <= 36.2458
      Average Off-Processor Bandwidth <= 0
      Maximum  On-Processor Bandwidth <= 45
      Maximum Off-Processor Bandwidth <= 0
    DofMap Constraints
      Number of DoF Constraints = 0


 -------------------------------------------------------------------------------------------------------------------
| Time:           Wed Apr 13 12:51:59 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.027108, Active time=0.017357                                                  |
 -----------------------------------------------------------------------------------------------------------------
| 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.0000      0.000050    0.0000      0.000050    0.29     0.29     |
|   build_sparsity()                 1          0.0007      0.000713    0.0008      0.000781    4.11     4.50     |
|   create_dof_constraints()         1          0.0000      0.000016    0.0000      0.000016    0.09     0.09     |
|   distribute_dofs()                1          0.0000      0.000049    0.0002      0.000233    0.28     1.34     |
|   dof_indices()                    320        0.0001      0.000000    0.0001      0.000000    0.74     0.74     |
|   prepare_send_list()              2          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|   reinit()                         1          0.0002      0.000183    0.0002      0.000183    1.05     1.05     |
|                                                                                                                 |
| EquationSystems                                                                                                 |
|   write()                          1          0.0006      0.000556    0.0006      0.000614    3.20     3.54     |
|                                                                                                                 |
| FE                                                                                                              |
|   compute_shape_functions()        64         0.0002      0.000004    0.0002      0.000004    1.38     1.38     |
|   init_shape_functions()           2          0.0000      0.000024    0.0000      0.000024    0.28     0.28     |
|                                                                                                                 |
| FEMap                                                                                                           |
|   compute_affine_map()             64         0.0002      0.000003    0.0002      0.000003    0.96     0.96     |
|   compute_map()                    96         0.0007      0.000007    0.0007      0.000007    4.10     4.10     |
|   init_reference_to_physical_map() 2          0.0000      0.000021    0.0000      0.000021    0.24     0.24     |
|                                                                                                                 |
| InfElemBuilder                                                                                                  |
|   build_inf_elem()                 1          0.0002      0.000168    0.0002      0.000168    0.97     0.97     |
|                                                                                                                 |
| InfFE                                                                                                           |
|   combine_base_radial()            96         0.0005      0.000005    0.0005      0.000005    2.73     2.73     |
|   compute_shape_functions()        96         0.0002      0.000002    0.0002      0.000002    1.31     1.31     |
|   init_radial_shape_functions()    1          0.0000      0.000005    0.0000      0.000005    0.03     0.03     |
|   init_shape_functions()           1          0.0002      0.000173    0.0002      0.000173    1.00     1.00     |
|                                                                                                                 |
| Mesh                                                                                                            |
|   find_neighbors()                 4          0.0011      0.000263    0.0011      0.000263    6.06     6.06     |
|   renumber_nodes_and_elem()        4          0.0000      0.000005    0.0000      0.000005    0.11     0.11     |
|                                                                                                                 |
| MeshCommunication                                                                                               |
|   assign_global_indices()          1          0.0016      0.001603    0.0016      0.001605    9.24     9.25     |
|                                                                                                                 |
| MeshTools::Generation                                                                                           |
|   build_cube()                     1          0.0001      0.000079    0.0001      0.000079    0.46     0.46     |
|                                                                                                                 |
| Parallel                                                                                                        |
|   allgather()                      5          0.0000      0.000000    0.0000      0.000000    0.01     0.01     |
|   probe()                          8          0.0000      0.000001    0.0000      0.000001    0.04     0.04     |
|   receive()                        4          0.0000      0.000005    0.0000      0.000006    0.12     0.13     |
|   send()                           4          0.0000      0.000004    0.0000      0.000004    0.10     0.10     |
|   send_receive()                   4          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|                                                                                                                 |
| Parallel::Request                                                                                               |
|   wait()                           4          0.0000      0.000003    0.0000      0.000003    0.06     0.06     |
|                                                                                                                 |
| Partitioner                                                                                                     |
|   single_partition()               2          0.0000      0.000007    0.0000      0.000007    0.09     0.09     |
|                                                                                                                 |
| PetscLinearSolver                                                                                               |
|   solve()                          1          0.0013      0.001267    0.0013      0.001267    7.30     7.30     |
|                                                                                                                 |
| System                                                                                                          |
|   assemble()                       1          0.0093      0.009316    0.0115      0.011532    53.67    66.44    |
 -----------------------------------------------------------------------------------------------------------------
| Totals:                            794        0.0174                                          100.00            |
 -----------------------------------------------------------------------------------------------------------------

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