File tree Expand file tree Collapse file tree
examples/miscellaneous/miscellaneous_ex17 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ <h1>A Series of Example Programs</h1>
164164
165165< li > < L1 > < a href ="examples/vector_fe_ex8.html "> Hybridized Local Discontinuous Galerkin Elements for Poisson</ a > </ L1 > </ li >
166166
167- < li > < L1 > < a href ="examples/vector_fe_ex8 .html "> Hybridized Local Discontinuous Galerkin Elements for Navier-Stokes</ a > </ L1 > </ li >
167+ < li > < L1 > < a href ="examples/vector_fe_ex9 .html "> Hybridized Local Discontinuous Galerkin Elements for Navier-Stokes</ a > </ L1 > </ li >
168168
169169</ ol > </ li >
170170
@@ -203,10 +203,7 @@ <h1>A Series of Example Programs</h1>
203203
204204< li > < L1 > < a href ="examples/miscellaneous_ex16.html "> Static Condensation with Second Order Lagrange Elements</ a > </ L1 > </ li >
205205
206- < li >
207- < L1 > < a href ="examples/miscellaneous_ex17.html "> Demonstrating mix of preallocated/hash-table matrix assemblies</ a >
208- </ L1 >
209- </ li >
206+ < li > < L1 > < a href ="examples/miscellaneous_ex17.html "> Demonstrating mix of preallocated/hash-table matrix assemblies</ a > </ L1 > </ li >
210207
211208</ ol > </ li >
212209
Original file line number Diff line number Diff line change @@ -81,6 +81,10 @@ int main (int argc, char ** argv)
8181 // Skip this 2D example if libMesh was compiled as 1D-only.
8282 libmesh_example_requires (2 <= LIBMESH_DIM , "2D support" );
8383
84+ // This example is meant to test a PETSc-specific feature, so let's just skip it if
85+ // libmesh is not built with Petsc support.
86+ libmesh_example_requires (libMesh ::default_solver_package () == PETSC_SOLVERS , "--enable-petsc" );
87+
8488 // Create a mesh, with dimension to be overridden later, distributed
8589 // across the default MPI communicator.
8690 Mesh mesh (init .comm ());
You can’t perform that action at this time.
0 commit comments