/[ff3d]/ff3d/solver/MeshOfTetrahedra.hpp
ViewVC logotype

Diff of /ff3d/solver/MeshOfTetrahedra.hpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by delpinux, Mon Feb 17 16:32:51 2003 UTC revision 1.2 by delpinux, Tue Feb 25 20:41:30 2003 UTC
# Line 35  class MeshOfTetrahedra Line 35  class MeshOfTetrahedra
35  {  {
36  public:  public:
37    typedef Tetrahedron ElementsGeometry;    typedef Tetrahedron ElementsGeometry;
38      typedef MeshOfTetrahedra Transformed;
39    
40      typedef SurfaceMeshOfTriangles BorderMeshes;
41  private:  private:
42    
43    ReferenceCounting<Vector<Tetrahedron> > __cells; /**< Cells list */    ReferenceCounting<Vector<Tetrahedron> > __cells; /**< Cells list */
# Line 47  private: Line 49  private:
49    TinyVector<3,real_t> __a;     /**< bounding box lower  corner */    TinyVector<3,real_t> __a;     /**< bounding box lower  corner */
50    TinyVector<3,real_t> __b;     /**< bounding box higher corner */    TinyVector<3,real_t> __b;     /**< bounding box higher corner */
51    
52    std::vector<ReferenceCounting<SurfaceMeshOfTriangles> >    std::vector<ReferenceCounting<BorderMeshes> >
53    __surfaceMeshes; /**< The various border lists*/    __surfaceMeshes; /**< The various border lists*/
54    
55    /**    /**
# Line 148  public: Line 150  public:
150    
151    MeshOfTetrahedra(ReferenceCounting<VerticesSet> vertices,    MeshOfTetrahedra(ReferenceCounting<VerticesSet> vertices,
152                     ReferenceCounting<Vector<Tetrahedron> > tetrahedra,                     ReferenceCounting<Vector<Tetrahedron> > tetrahedra,
153                     std::vector<ReferenceCounting<SurfaceMeshOfTriangles> > triangles)                     std::vector<ReferenceCounting<BorderMeshes> > triangles)
154      : Mesh(Mesh::tetrahedraMesh,      : Mesh(Mesh::tetrahedraMesh,
155             vertices),             vertices),
156        __cells(tetrahedra),        __cells(tetrahedra),
157        __surfaceMeshes(triangles)        __surfaceMeshes(triangles)
158    {    {
159      ;      this->buildLocalizationTools();
160      }
161    
162      /**
163       * With this constructor border has to be built
164       *
165       * @param vertices
166       * @param tetrahedra
167       *
168       */
169      MeshOfTetrahedra(ReferenceCounting<VerticesSet> vertices,
170                       ReferenceCounting<Vector<Tetrahedron> > tetrahedra)
171        : Mesh(Mesh::tetrahedraMesh,
172               vertices),
173          __cells(tetrahedra)
174      {
175        this->buildLocalizationTools();
176    }    }
177    
178    

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26