Link to the source code for this example:

Open eigenproblems_ex4 in new tab.


The console output of the program:

  CXX      example_dbg-eigenproblems_ex4.o
  CXX      example_devel-eigenproblems_ex4.o
  CXX      example_oprof-eigenproblems_ex4.o
  CXXLD    example-dbg
  CXXLD    example-oprof
  CXXLD    example-devel
***************************************************************
* Running Example eigenproblems_ex4:
*   ./example-opt  
***************************************************************
 
Running /home/lindad/projects/moose-no-cuda/libmesh/build/examples/eigenproblems/eigenproblems_ex4/.libs/example-opt

 Mesh Information:
  elem_dimensions()={2}
  spatial_dimension()=2
  n_nodes()=1071
    n_local_nodes()=1071
  n_elem()=1200
    n_local_elem()=1200
    n_active_elem()=1000
  n_subdomains()=1
  n_elemsets()=0
  n_partitions()=1
  n_processors()=1
  n_threads()=1
  processor_id()=0
  is_prepared()=true
  is_replicated()=true

 EquationSystems
  n_systems()=1
   System #0, "Condensed Eigensystem"
    Type "Eigen"
    Variables="p" 
    Finite Element Types="LAGRANGE" 
    Approximation Orders="FIRST" 
    n_dofs()=1071
    n_local_dofs()=1071
    max(n_local_dofs())=1071
    n_constrained_dofs()=20
    n_local_constrained_dofs()=20
    max(local unconstrained dofs)=1051
    n_vectors()=0
    n_matrices()=1
    DofMap Sparsity
      Average  On-Processor Bandwidth <= 8.71242
      Average Off-Processor Bandwidth <= 0
      Maximum  On-Processor Bandwidth <= 13
      Maximum Off-Processor Bandwidth <= 0
    DofMap Constraints
      Number of DoF Constraints = 20
      Average DoF Constraint Length= 2

The converged eigenvalue is 1.48092 + 0i
 
***************************************************************
* Done Running Example eigenproblems_ex4:
*   ./example-opt  
***************************************************************