.. _Examples_ShellMatrix_petsc_Hamiltonian_code: ###################################### examples/ShellMatrix_petsc_Hamiltonian ###################################### :download:`examples/ShellMatrix_petsc_Hamiltonian/src/main.cpp<../../../examples/ShellMatrix_petsc_Hamiltonian/src/main.cpp>` .. literalinclude:: ../../../examples/ShellMatrix_petsc_Hamiltonian/src/main.cpp :language: cpp :linenos: