Link to the source code for this example:

Open systems_of_equations_ex6 in new tab.


The console output of the program:

***************************************************************
* Running Example systems_of_equations_ex6:
*   example-opt
***************************************************************
 
 Mesh Information:
  elem_dimensions()={3}
  spatial_dimension()=3
  n_nodes()=2706
    n_local_nodes()=2706
  n_elem()=2000
    n_local_elem()=2000
    n_active_elem()=2000
  n_subdomains()=1
  n_partitions()=1
  n_processors()=1
  n_threads()=1
  processor_id()=0

 EquationSystems
  n_systems()=2
   System #0, "Elasticity"
    Type "LinearImplicit"
    Variables={ "u" "v" "w" } 
    Finite Element Types="LAGRANGE", "JACOBI_20_00" 
    Infinite Element Mapping="CARTESIAN" 
    Approximation Orders="FIRST", "THIRD" 
    n_dofs()=8118
    n_local_dofs()=8118
    n_constrained_dofs()=219
    n_local_constrained_dofs()=219
    n_vectors()=1
    n_matrices()=1
    DofMap Sparsity
      Average  On-Processor Bandwidth <= 66.5366
      Average Off-Processor Bandwidth <= 0
      Maximum  On-Processor Bandwidth <= 81
      Maximum Off-Processor Bandwidth <= 0
    DofMap Constraints
      Number of DoF Constraints = 219
      Average DoF Constraint Length= 0
   System #1, "StressSystem"
    Type "Explicit"
    Variables={ "sigma_00" "sigma_01" "sigma_02" "sigma_11" "sigma_12" "sigma_22" "vonMises" }
    Finite Element Types="MONOMIAL", "JACOBI_20_00" 
    Infinite Element Mapping="CARTESIAN" 
    Approximation Orders="CONSTANT", "THIRD" 
    n_dofs()=14000
    n_local_dofs()=14000
    n_constrained_dofs()=0
    n_local_constrained_dofs()=0
    n_vectors()=1
    n_matrices()=0
    DofMap Sparsity
      Average  On-Processor Bandwidth <= 0
      Average Off-Processor Bandwidth <= 0
      Maximum  On-Processor Bandwidth <= 0
      Maximum Off-Processor Bandwidth <= 0
    DofMap Constraints
      Number of DoF Constraints = 0


 -------------------------------------------------------------------------------------------------------------------
| Time:           Wed Apr 13 10:00:05 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.75215, Active time=0.455849                                                   |
 -----------------------------------------------------------------------------------------------------------------
| 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()     2          0.0015      0.000739    0.0015      0.000739    0.32     0.32     |
|   build_constraint_matrix()        2000       0.0010      0.000001    0.0010      0.000001    0.22     0.22     |
|   build_sparsity()                 1          0.0177      0.017655    0.0188      0.018785    3.87     4.12     |
|   cnstrn_elem_mat_vec()            2000       0.0008      0.000000    0.0008      0.000000    0.18     0.18     |
|   create_dof_constraints()         2          0.0084      0.004211    0.0103      0.005129    1.85     2.25     |
|   distribute_dofs()                2          0.0006      0.000319    0.0044      0.002194    0.14     0.96     |
|   dof_indices()                    56000      0.0107      0.000000    0.0107      0.000000    2.35     2.35     |
|   prepare_send_list()              4          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|   reinit()                         2          0.0037      0.001875    0.0037      0.001875    0.82     0.82     |
|                                                                                                                 |
| EquationSystems                                                                                                 |
|   build_solution_vector()          1          0.0037      0.003745    0.0055      0.005464    0.82     1.20     |
|                                                                                                                 |
| ExodusII_IO                                                                                                     |
|   write_nodal_data()               1          0.0037      0.003706    0.0037      0.003706    0.81     0.81     |
|                                                                                                                 |
| FE                                                                                                              |
|   compute_shape_functions()        5315       0.0063      0.000001    0.0063      0.000001    1.37     1.37     |
|   init_shape_functions()           1317       0.0002      0.000000    0.0002      0.000000    0.04     0.04     |
|   inverse_map()                    30         0.0000      0.000002    0.0000      0.000002    0.01     0.01     |
|                                                                                                                 |
| FEMap                                                                                                           |
|   compute_affine_map()             5315       0.0043      0.000001    0.0043      0.000001    0.94     0.94     |
|   compute_edge_map()               15         0.0000      0.000001    0.0000      0.000001    0.00     0.00     |
|   compute_face_map()               1300       0.0006      0.000000    0.0006      0.000000    0.13     0.13     |
|   init_edge_shape_functions()      15         0.0000      0.000001    0.0000      0.000001    0.00     0.00     |
|   init_face_shape_functions()      1          0.0000      0.000007    0.0000      0.000007    0.00     0.00     |
|   init_reference_to_physical_map() 1317       0.0054      0.000004    0.0054      0.000004    1.18     1.18     |
|                                                                                                                 |
| Mesh                                                                                                            |
|   find_neighbors()                 1          0.0068      0.006805    0.0068      0.006805    1.49     1.49     |
|   renumber_nodes_and_elem()        2          0.0002      0.000085    0.0002      0.000085    0.04     0.04     |
|                                                                                                                 |
| MeshOutput                                                                                                      |
|   write_equation_systems()         1          0.0000      0.000024    0.0092      0.009194    0.01     2.02     |
|                                                                                                                 |
| MeshTools::Generation                                                                                           |
|   build_cube()                     1          0.0027      0.002730    0.0027      0.002730    0.60     0.60     |
|                                                                                                                 |
| Parallel                                                                                                        |
|   allgather()                      2          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|                                                                                                                 |
| Partitioner                                                                                                     |
|   single_partition()               1          0.0001      0.000086    0.0001      0.000086    0.02     0.02     |
|                                                                                                                 |
| PetscLinearSolver                                                                                               |
|   solve()                          1          0.1292      0.129223    0.1292      0.129223    28.35    28.35    |
|                                                                                                                 |
| System                                                                                                          |
|   assemble()                       1          0.2481      0.248069    0.2684      0.268421    54.42    58.88    |
 -----------------------------------------------------------------------------------------------------------------
| Totals:                            74650      0.4558                                          100.00            |
 -----------------------------------------------------------------------------------------------------------------

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