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

*** empty log message ***

parent fddf9c5c
No related branches found
No related tags found
No related merge requests found
# $Id: Makefile,v 1.185 2008-05-20 19:03:26 geuzaine Exp $
# $Id: Makefile,v 1.186 2008-05-20 19:25:33 geuzaine Exp $
#
# Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
#
......@@ -179,7 +179,7 @@ GUI_Classifier.o: GUI_Classifier.cpp GUI_Classifier.h ../Common/GmshUI.h \
../Geo/fourierProjectionFace.h ../Geo/GModel.h ../Geo/Range.h \
GUI_Extras.h ../Common/Message.h ../Mesh/meshGFaceDelaunayInsertion.h \
../Mesh/meshGFaceOptimize.h ../Mesh/meshGFaceDelaunayInsertion.h \
../Geo/discreteEdge.h ../Geo/GModel.h ../Geo/GEdge.h ../Geo/Geo.h \
../Geo/discreteEdge.h ../Geo/GModel.h ../Geo/GEdge.h \
../Geo/discreteFace.h ../Geo/GModel.h ../Geo/GFace.h
Callbacks.o: Callbacks.cpp ../Common/GmshUI.h ../Common/Message.h \
../DataStr/Malloc.h ../DataStr/Tools.h ../DataStr/List.h \
......
# $Id: Makefile,v 1.208 2008-05-20 19:03:27 geuzaine Exp $
# $Id: Makefile,v 1.209 2008-05-20 19:25:33 geuzaine Exp $
#
# Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
#
......@@ -34,7 +34,7 @@ SRC = GEntity.cpp\
GVertex.cpp GEdge.cpp GEdgeLoop.cpp GFace.cpp GRegion.cpp\
gmshVertex.cpp gmshEdge.cpp gmshFace.cpp gmshRegion.cpp gmshSurface.cpp\
OCCVertex.cpp OCCEdge.cpp OCCFace.cpp OCCRegion.cpp\
discreteFace.cpp discreteRegion.cpp\
discreteEdge.cpp discreteFace.cpp discreteRegion.cpp\
fourierEdge.cpp fourierFace.cpp fourierProjectionFace.cpp\
GModel.cpp\
GModelIO_Geo.cpp\
......@@ -153,15 +153,21 @@ OCCRegion.o: OCCRegion.cpp GModel.h GVertex.h GEntity.h Range.h SPoint3.h \
SBoundingBox3d.h GPoint.h SPoint2.h GEdge.h SVector3.h GFace.h \
GEdgeLoop.h Pair.h GRegion.h OCCVertex.h OCCIncludes.h MVertex.h \
OCCEdge.h OCCFace.h OCCRegion.h ../Common/Message.h
discreteEdge.o: discreteEdge.cpp discreteEdge.h GModel.h GVertex.h \
GEntity.h Range.h SPoint3.h SBoundingBox3d.h GPoint.h SPoint2.h GEdge.h \
SVector3.h GFace.h GEdgeLoop.h Pair.h GRegion.h Geo.h \
../Common/GmshDefines.h gmshSurface.h ../Numeric/Numeric.h \
../Numeric/NumericEmbedded.h ../DataStr/List.h ../DataStr/Tree.h \
../DataStr/avl.h ExtrudeParams.h ../Common/SmoothData.h
discreteFace.o: discreteFace.cpp discreteFace.h GModel.h GVertex.h \
GEntity.h Range.h SPoint3.h SBoundingBox3d.h GPoint.h SPoint2.h GEdge.h \
SVector3.h GFace.h GEdgeLoop.h Pair.h GRegion.h Geo.h \
../Common/GmshDefines.h gmshSurface.h ../Numeric/Numeric.h \
../Numeric/NumericEmbedded.h ../DataStr/List.h ../DataStr/Tree.h \
../DataStr/avl.h ExtrudeParams.h ../Common/SmoothData.h
discreteRegion.o: discreteRegion.cpp discreteRegion.h GRegion.h GEntity.h \
Range.h SPoint3.h SBoundingBox3d.h GModel.h GVertex.h GPoint.h \
SPoint2.h GEdge.h SVector3.h GFace.h GEdgeLoop.h Pair.h Geo.h \
discreteRegion.o: discreteRegion.cpp discreteRegion.h GModel.h GVertex.h \
GEntity.h Range.h SPoint3.h SBoundingBox3d.h GPoint.h SPoint2.h GEdge.h \
SVector3.h GFace.h GEdgeLoop.h Pair.h GRegion.h Geo.h \
../Common/GmshDefines.h gmshSurface.h ../Numeric/Numeric.h \
../Numeric/NumericEmbedded.h ../DataStr/List.h ../DataStr/Tree.h \
../DataStr/avl.h ExtrudeParams.h ../Common/SmoothData.h
......@@ -182,12 +188,12 @@ GModel.o: GModel.cpp GModel.h GVertex.h GEntity.h Range.h SPoint3.h \
SBoundingBox3d.h GPoint.h SPoint2.h GEdge.h SVector3.h GFace.h \
GEdgeLoop.h Pair.h GRegion.h MElement.h ../Common/GmshDefines.h \
MVertex.h MEdge.h MFace.h discreteRegion.h discreteFace.h \
discreteEdge.h Geo.h gmshSurface.h ../Numeric/Numeric.h \
../Numeric/NumericEmbedded.h ../DataStr/List.h ../DataStr/Tree.h \
../DataStr/avl.h ExtrudeParams.h ../Common/SmoothData.h \
discreteVertex.h ../Common/Message.h ../Mesh/Field.h ../Geo/Geo.h \
../Post/PView.h ../Geo/SPoint3.h ../Mesh/Generator.h \
../Common/Context.h
discreteEdge.h discreteVertex.h ../Common/Message.h gmshSurface.h \
../Numeric/Numeric.h ../Numeric/NumericEmbedded.h ../Mesh/Field.h \
../Geo/Geo.h ../Geo/gmshSurface.h ../DataStr/List.h ../DataStr/Tree.h \
../DataStr/avl.h ../Geo/SPoint2.h ../Geo/ExtrudeParams.h \
../Common/SmoothData.h ../Post/PView.h ../Geo/SPoint3.h \
../Mesh/Generator.h ../Common/Context.h
GModelIO_Geo.o: GModelIO_Geo.cpp GModel.h GVertex.h GEntity.h Range.h \
SPoint3.h SBoundingBox3d.h GPoint.h SPoint2.h GEdge.h SVector3.h \
GFace.h GEdgeLoop.h Pair.h GRegion.h Geo.h ../Common/GmshDefines.h \
......@@ -201,10 +207,8 @@ GModelIO_Mesh.o: GModelIO_Mesh.cpp GModel.h GVertex.h GEntity.h Range.h \
SPoint3.h SBoundingBox3d.h GPoint.h SPoint2.h GEdge.h SVector3.h \
GFace.h GEdgeLoop.h Pair.h GRegion.h ../Common/GmshDefines.h MElement.h \
MVertex.h MEdge.h MFace.h discreteRegion.h discreteFace.h \
discreteEdge.h Geo.h gmshSurface.h ../Numeric/Numeric.h \
../Numeric/NumericEmbedded.h ../DataStr/List.h ../DataStr/Tree.h \
../DataStr/avl.h ExtrudeParams.h ../Common/SmoothData.h \
discreteVertex.h ../Common/StringUtils.h ../Common/Message.h
discreteEdge.h discreteVertex.h ../Common/StringUtils.h \
../Common/Message.h
GModelIO_OCC.o: GModelIO_OCC.cpp GModelIO_OCC.h GModel.h GVertex.h \
GEntity.h Range.h SPoint3.h SBoundingBox3d.h GPoint.h SPoint2.h GEdge.h \
SVector3.h GFace.h GEdgeLoop.h Pair.h GRegion.h OCCIncludes.h \
......
......@@ -23,20 +23,9 @@
#include "GModel.h"
#include "GEdge.h"
#if !defined(HAVE_GMSH_EMBEDDED)
#include "Geo.h"
#endif
class discreteEdge : public GEdge {
public:
discreteEdge(GModel *model, int num) : GEdge(model, num, 0, 0)
{
#if !defined(HAVE_GMSH_EMBEDDED)
Curve *c = Create_Curve(num, MSH_SEGM_DISCRETE, 0, 0, 0, -1, -1, 0., 1.);
Tree_Add(model->getGEOInternals()->Curves, &c);
CreateReversedCurve(c);
#endif
}
discreteEdge(GModel *model, int num);
virtual ~discreteEdge() {}
virtual GeomType geomType() const { return DiscreteCurve; }
virtual GPoint point(double p) const { throw; }
......
// $Id: discreteFace.cpp,v 1.2 2008-05-20 19:25:33 geuzaine Exp $
//
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA.
//
// Please report all bugs and problems to <gmsh@geuz.org>.
#include "discreteFace.h"
#if !defined(HAVE_GMSH_EMBEDDED)
#include "Geo.h"
#endif
......
// $Id: discreteRegion.cpp,v 1.2 2008-05-20 19:25:34 geuzaine Exp $
//
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA.
//
// Please report all bugs and problems to <gmsh@geuz.org>.
#include "discreteRegion.h"
#include "GModel.h"
#if !defined(HAVE_GMSH_EMBEDDED)
#include "Geo.h"
......
......@@ -20,7 +20,9 @@
//
// Please report all bugs and problems to <gmsh@geuz.org>.
#include "GModel.h"
#include "GRegion.h"
class discreteRegion : public GRegion {
public:
discreteRegion(GModel *model, int num);
......
# $Id: Makefile,v 1.483 2008-05-19 18:50:31 remacle Exp $
# $Id: Makefile,v 1.484 2008-05-20 19:25:33 geuzaine Exp $
#
# Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
#
......@@ -43,7 +43,7 @@ GMSH_API = Geo/GModel.h\
Post/PView.h Post/PViewData.h Post/PViewDataGModel.h\
Common/Gmsh.h Common/GmshDefines.h Common/GmshVersion.h Common/GmshMatrix.h
GMSH_EMBEDDED = ${GMSH_API} Geo/discrete*.h\
GMSH_EMBEDDED = ${GMSH_API} Geo/discrete*.cpp\
Geo/GModel.cpp Geo/GModelIO_Mesh.cpp\
Geo/GEntity.cpp Geo/GVertex.cpp Geo/GEdge.cpp\
Geo/GEdgeLoop.cpp Geo/GFace.cpp Geo/GRegion.cpp\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment