Commit a173ee63 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Refactoring the mesh.

parent 844cfb88
Loading
Loading
Loading
Loading
+3 −17
Original line number Diff line number Diff line
ADD_SUBDIRECTORY( config )
ADD_SUBDIRECTORY( grids )
ADD_SUBDIRECTORY( initializer )
ADD_SUBDIRECTORY( layers )
ADD_SUBDIRECTORY( traits )
ADD_SUBDIRECTORY( topologies )

SET( headers tnlGrid.h
             tnlGrid1D.h
             tnlGrid1D_impl.h
             tnlGrid2D.h
             tnlGrid2D_impl.h
             tnlGrid3D.h
             tnlGrid3D_impl.h
             tnlDummyMesh.h
             tnlDimensionsTag.h
             tnlGnuplotWriter.h
             tnlMesh.h
             tnlMeshEntity.h
             tnlMeshEntityId.h
             tnlMeshEntitySeedKey.h
             tnlMeshReaderNetgen.h
             tnlMeshWriterNetgen.h
             tnlMeshInitializer.h
             tnlMeshIntegrityChecker.h
             tnlMeshEntityInitializer.h
             tnlMeshSuperentityStorageInitializer.h
             tnlTraverser.h
             tnlTraverser_Grid1D.h
             tnlTraverser_Grid1D_impl.h 
             tnlTraverser_Grid2D.h
             tnlTraverser_Grid2D_impl.h 
             tnlTraverser_Grid3D.h
             tnlTraverser_Grid3D_impl.h )
    )

SET( CURRENT_DIR ${CMAKE_SOURCE_DIR}/src/mesh )    
SET( tnl_mesh_SOURCES
     ${CURRENT_DIR}/tnlGrid_impl.cpp
     PARENT_SCOPE )

INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/mesh )
 No newline at end of file
+19 −0
Original line number Diff line number Diff line
SET( headers tnlGrid1D.h
             tnlGrid1D_impl.h
             tnlGrid2D.h
             tnlGrid2D_impl.h
             tnlGrid3D.h
             tnlGrid3D_impl.h
             tnlTraverser_Grid1D.h
             tnlTraverser_Grid1D_impl.h 
             tnlTraverser_Grid2D.h
             tnlTraverser_Grid2D_impl.h 
             tnlTraverser_Grid3D.h
             tnlTraverser_Grid3D_impl.h )

SET( CURRENT_DIR ${CMAKE_SOURCE_DIR}/src/mesh/grids )    
SET( tnl_mesh_grids_SOURCES
     ${CURRENT_DIR}/tnlGrid_impl.cpp
     PARENT_SCOPE )

INSTALL( FILES ${headers} DESTINATION include/tnl-${tnlVersion}/mesh/grids )
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -184,6 +184,6 @@ class tnlGrid< 1, Real, Device, Index > : public tnlObject

};

#include <mesh/tnlGrid1D_impl.h>
#include <mesh/grids/tnlGrid1D_impl.h>

#endif /* SRC_MESH_TNLGRID1D_H_ */
+1 −1
Original line number Diff line number Diff line
@@ -248,6 +248,6 @@ class tnlGrid< 2, Real, Device, Index > : public tnlObject

};

#include <mesh/tnlGrid2D_impl.h>
#include <mesh/grids/tnlGrid2D_impl.h>

#endif /* SRC_MESH_TNLGRID2D_H_ */
Loading