Skip to content
Snippets Groups Projects
Commit 22c4ddd8 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Please don't load solver plugins by default: for the vast majority of users,
the structural solver options don't make any sense.

Just add Solver.Plugins=1 in your option file if you need that stuff.
parent b34b1718
Branches
Tags
No related merge requests found
// $Id: Plugin.cpp,v 1.77 2005-06-27 19:34:34 geuzaine Exp $ // $Id: Plugin.cpp,v 1.78 2005-07-11 16:22:35 geuzaine Exp $
// //
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
// //
...@@ -167,7 +167,7 @@ GMSH_PluginManager *GMSH_PluginManager::instance() ...@@ -167,7 +167,7 @@ GMSH_PluginManager *GMSH_PluginManager::instance()
void GMSH_PluginManager::registerDefaultPlugins() void GMSH_PluginManager::registerDefaultPlugins()
{ {
// SOLVE PLUGINS // SOLVE PLUGINS
if(CTX.solver.plugins || 1){ if(CTX.solver.plugins){
allPlugins.insert(std::pair < char *, GMSH_Plugin * > allPlugins.insert(std::pair < char *, GMSH_Plugin * >
("StructuralSolver", GMSH_RegisterStructuralSolverPlugin())); ("StructuralSolver", GMSH_RegisterStructuralSolverPlugin()));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment