X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_HypothesisFactory.cxx;h=1373fae69a7d72c2110c0129a490bc1879b237a3;hp=afbcf37a65b3ce460c96171705363b2b4efacb3a;hb=0aec6215ad14ec7743951aa68bbbc8f7369b7deb;hpb=0b959120c59670d73c0a1f6d46bfa72a6ceb49cf diff --git a/src/SMESH/SMESH_HypothesisFactory.cxx b/src/SMESH/SMESH_HypothesisFactory.cxx index afbcf37a6..1373fae69 100644 --- a/src/SMESH/SMESH_HypothesisFactory.cxx +++ b/src/SMESH/SMESH_HypothesisFactory.cxx @@ -1,14 +1,33 @@ +// SMESH SMESH : implementaion of SMESH idl descriptions +// +// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// +// +// +// File : SMESH_HypothesisFactory.cxx +// Author : Paul RASCLE, EDF +// Module : SMESH +// $Header$ + using namespace std; -//============================================================================= -// File : SMESH_HypothesisFactory.cxx -// Created : mer mai 15 13:45:50 CEST 2002 -// Author : Paul RASCLE, EDF -// Project : SALOME -// Copyright : EDF 2002 -// $Header$ -//============================================================================= using namespace std; - #include "SMESH_HypothesisFactory.hxx" #include "SMESH_Hypothesis.hxx" #include "SMESH_HypothesisCreator.hxx" @@ -22,11 +41,14 @@ using namespace std; #include "SMESH_LengthFromEdges.hxx" #include "SMESH_NumberOfSegments.hxx" #include "SMESH_MaxElementArea.hxx" +#include "SMESH_MaxElementVolume.hxx" #include "SMESH_Regular_1D.hxx" #include "SMESH_MEFISTO_2D.hxx" #include "SMESH_Quadrangle_2D.hxx" #include "SMESH_Hexa_3D.hxx" - +#ifdef HAVE_NETGEN +#include "SMESH_NETGEN_3D.hxx" +#endif //--------------------------------------- //============================================================================= @@ -68,11 +90,14 @@ _creatorMap["LocalLength"] = new SMESH_HypothesisCreator; _creatorMap["NumberOfSegments"] = new SMESH_HypothesisCreator; _creatorMap["LengthFromEdges"] = new SMESH_HypothesisCreator; _creatorMap["MaxElementArea"] = new SMESH_HypothesisCreator; +_creatorMap["MaxElementVolume"] = new SMESH_HypothesisCreator; _creatorMap["Regular_1D"] = new SMESH_HypothesisCreator; _creatorMap["MEFISTO_2D"] = new SMESH_HypothesisCreator; _creatorMap["Quadrangle_2D"] = new SMESH_HypothesisCreator; _creatorMap["Hexa_3D"] = new SMESH_HypothesisCreator; - +#ifdef HAVE_NETGEN +_creatorMap["NETGEN_3D"] = new SMESH_HypothesisCreator; +#endif //--------------------------------------- }