Link to the source code for this example:

Open miscellaneous_ex2 in new tab.


The console output of the program:

***************************************************************
* Running Example miscellaneous_ex2:
*   example-opt -f .5
***************************************************************

Running /Users/petejw/projects/libmesh_git/build_complex/examples/miscellaneous/miscellaneous_ex2/.libs/example-opt -f .5

*** Warning, This code is deprecated, and likely to be removed in future library versions! ../src/mesh/unstructured_mesh.C, line 595, compiled Apr 14 2016 at 21:27:08 ***
 Mesh Information:
  elem_dimensions()={2}
  spatial_dimension()=2
  n_nodes()=1281
    n_local_nodes()=1281
  n_elem()=300
    n_local_elem()=300
    n_active_elem()=300
  n_subdomains()=1
  n_partitions()=1
  n_processors()=1
  n_threads()=1
  processor_id()=0

 EquationSystems
  n_systems()=1
   System #0, "Helmholtz"
    Type "Frequency"
    Variables="p"
    Finite Element Types="LAGRANGE", "JACOBI_20_00"
    Infinite Element Mapping="CARTESIAN"
    Approximation Orders="SECOND", "THIRD"
    n_dofs()=1281
    n_local_dofs()=1281
    n_constrained_dofs()=0
    n_local_constrained_dofs()=0
    n_vectors()=5
    n_matrices()=4
    DofMap Sparsity
      Average  On-Processor Bandwidth <= 15.2389
      Average Off-Processor Bandwidth <= 0
      Maximum  On-Processor Bandwidth <= 25
      Maximum Off-Processor Bandwidth <= 0
    DofMap Constraints
      Number of DoF Constraints = 0


***************************************************************
* Done Running Example miscellaneous_ex2:
*   example-opt -f .5
***************************************************************