diff --git a/Common/GmshMessage.cpp b/Common/GmshMessage.cpp index c5771d530278685368b13f84a3685ecd8b9fd493..d94728cd0c5155ed039a6db9a4b51b7a95e47dac 100644 --- a/Common/GmshMessage.cpp +++ b/Common/GmshMessage.cpp @@ -1102,9 +1102,14 @@ void Msg::RunOnelabClient(const std::string &name, const std::string &command) o.setVisible(false); o.setNeverChanged(true); onelab::server::instance()->set(o); +#if defined(HAVE_FLTK) Msg::Info("Creating new ONELAB client `%s' (%s)", name.c_str(), command.c_str()); client = new gmshLocalNetworkClient(name, command); client->run(); +#else + Msg::Error("Cannot create ONELAB client without FLTK"); + return; +#endif } onelab::string o(name + "/Action", "compute"); o.setVisible(false); diff --git a/Plugin/DuplicateBoundaries.cpp b/Plugin/DuplicateBoundaries.cpp index d686d9651109eab4aa4d72f4d60ca3817bb320b9..04fdb1694376e414cb712839dd5f60345b6538d4 100644 --- a/Plugin/DuplicateBoundaries.cpp +++ b/Plugin/DuplicateBoundaries.cpp @@ -18,9 +18,7 @@ #include "Context.h" StringXNumber DuplicateBoundariesOptions_Number[] = { -// {GMSH_FULLRC, "Dimension", NULL, 1.}, -// {GMSH_FULLRC, "PhysicalGroup", NULL, 1.}, -// {GMSH_FULLRC, "OpenBoundaryPhysicalGroup", NULL, 0.}, + {GMSH_FULLRC, "Dummy", NULL, 1.}, }; extern "C" @@ -33,18 +31,7 @@ extern "C" std::string GMSH_DuplicateBoundariesPlugin::getHelp() const { - return "Plugin(Crack) creates a crack around the physical " - "group `PhysicalGroup' of dimension `Dimension' (1 or 2). " - "The plugin duplicates the vertices and the elements on " - "the crack and stores them in a new discrete curve " - "(`Dimension' = 1) or surface (`Dimension' = 2). The " - "elements touching the crack on the negative side " - "are modified to use the newly generated vertices." - "If `OpenBoundaryPhysicalGroup' is given (> 0), its " - "vertices are duplicated and the crack will be left " - "open on that (part of the) boundary. Otherwise, the " - "lips of the crack are sealed, i.e., its vertices are " - "not duplicated."; + return "Plugin(DuplicateBoundaries) is not documented yet."; } int GMSH_DuplicateBoundariesPlugin::getNbOptions() const