We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ae7b885 + bbba46c commit 5d4c38fCopy full SHA for 5d4c38f
examples/transient/transient_ex3/transient_ex3.C
@@ -43,6 +43,7 @@
43
#include "libmesh/exodusII_io.h"
44
#include "libmesh/equation_systems.h"
45
#include "libmesh/getpot.h"
46
+#include "libmesh/enum_solver_package.h"
47
48
// Application includes
49
#include "advection_system.h"
@@ -67,6 +68,10 @@ int main (int argc, char** argv)
67
68
// Initialize libMesh.
69
LibMeshInit init (argc, argv);
70
71
+ // This example requires a linear solver package.
72
+ libmesh_example_requires(libMesh::default_solver_package() != INVALID_SOLVER_PACKAGE,
73
+ "--enable-petsc, --enable-trilinos, or --enable-eigen");
74
+
75
// Create GetPot object to parse the command line
76
GetPot command_line (argc, argv);
77
0 commit comments