1 diff --git a/CMakeLists.txt b/CMakeLists.txt
7 +#-------------------------------------------------------------------------------
9 +# | ____| _| |_ / __ \ /\ | \/ |
10 +# | |__ _ __ ___ ___ / \| | | | / \ | \ / |
11 +# | __| '__/ _ \/ _ ( (| |) ) | | |/ /\ \ | |\/| |
12 +# | | | | | __/ __/\_ _/| |__| / ____ \| | | |
13 +# |_| |_| \___|\___| |_| \____/_/ \_\_| |_|
15 +# FreeFOAM: The Cross-Platform CFD Toolkit
17 +# Copyright (C) 2008-2010 Michael Wild <themiwi@users.sf.net>
18 +# Gerber van der Graaf <gerber_graaf@users.sf.net>
19 +#-------------------------------------------------------------------------------
21 +# This file is part of FreeFOAM.
23 +# FreeFOAM is free software; you can redistribute it and/or modify it
24 +# under the terms of the GNU General Public License as published by the
25 +# Free Software Foundation; either version 2 of the License, or (at your
26 +# option) any later version.
28 +# FreeFOAM is distributed in the hope that it will be useful, but WITHOUT
29 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
30 +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
33 +# You should have received a copy of the GNU General Public License
34 +# along with FreeFOAM; if not, write to the Free Software Foundation,
35 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
37 +#-------------------------------------------------------------------------------
39 +cmake_minimum_required(VERSION 2.8)
42 +find_package(Threads REQUIRED)
47 + ${CMAKE_SOURCE_DIR}/MGridGen/IMlib
48 + ${CMAKE_SOURCE_DIR}/MGridGen/Lib
50 +add_library(foam_mgridgen ${SRCS})
52 +target_link_libraries(foam_mgridgen ${CMAKE_THREAD_LIBS_INIT})
54 +install(TARGETS foam_mgridgen
55 + LIBRARY DESTINATION lib
56 + ARCHIVE DESTINATION lib
57 + RUNTIME DESTINATION bin
60 +install(FILES mgridgen.h
64 +# ------------------------- vim: set sw=2 sts=2 et: --------------- end-of-file
65 diff --git a/MGridGen/IMlib/IMlib.h b/MGridGen/IMlib/IMlib.h
66 index 9d0c85c..94a90b8 100644
67 --- a/MGridGen/IMlib/IMlib.h
68 +++ b/MGridGen/IMlib/IMlib.h
69 @@ -40,12 +40,6 @@ typedef double realtype;
79 /*************************************************************************
80 * Data structure definition section
81 **************************************************************************/
82 diff --git a/MGridGen/Lib/mgridgen.h b/MGridGen/Lib/mgridgen.h
83 index 0c146e1..c6506a0 100644
84 --- a/MGridGen/Lib/mgridgen.h
85 +++ b/MGridGen/Lib/mgridgen.h
99 diff --git a/ParMGridGen/IMParMetis-2.0/ParMETISLib/parmetis.h b/ParMGridGen/IMParMetis-2.0/ParMETISLib/parmetis.h
100 index 62d4903..eb7c33b 100644
101 --- a/ParMGridGen/IMParMetis-2.0/ParMETISLib/parmetis.h
102 +++ b/ParMGridGen/IMParMetis-2.0/ParMETISLib/parmetis.h
108 -#include <dmalloc.h>
116 diff --git a/ParMGridGen/ParLib/parmgridgen.h b/ParMGridGen/ParLib/parmgridgen.h
117 index 58882db..348c2d1 100644
118 --- a/ParMGridGen/ParLib/parmgridgen.h
119 +++ b/ParMGridGen/ParLib/parmgridgen.h
125 -#include <dmalloc.h>
133 diff --git a/files.cmake b/files.cmake
135 index 0000000..da30fdf
139 +#-------------------------------------------------------------------------------
140 +# ______ _ ____ __ __
141 +# | ____| _| |_ / __ \ /\ | \/ |
142 +# | |__ _ __ ___ ___ / \| | | | / \ | \ / |
143 +# | __| '__/ _ \/ _ ( (| |) ) | | |/ /\ \ | |\/| |
144 +# | | | | | __/ __/\_ _/| |__| / ____ \| | | |
145 +# |_| |_| \___|\___| |_| \____/_/ \_\_| |_|
147 +# FreeFOAM: The Cross-Platform CFD Toolkit
149 +# Copyright (C) 2008-2010 Michael Wild <themiwi@users.sf.net>
150 +# Gerber van der Graaf <gerber_graaf@users.sf.net>
151 +#-------------------------------------------------------------------------------
153 +# This file is part of FreeFOAM.
155 +# FreeFOAM is free software; you can redistribute it and/or modify it
156 +# under the terms of the GNU General Public License as published by the
157 +# Free Software Foundation; either version 2 of the License, or (at your
158 +# option) any later version.
160 +# FreeFOAM is distributed in the hope that it will be useful, but WITHOUT
161 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
162 +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
165 +# You should have received a copy of the GNU General Public License
166 +# along with FreeFOAM; if not, write to the Free Software Foundation,
167 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
168 +#-------------------------------------------------------------------------------
171 + MGridGen/IMlib/blas.c
172 + MGridGen/IMlib/dfkeysort.c
173 + MGridGen/IMlib/file.c
174 + MGridGen/IMlib/ifkeysort.c
175 + MGridGen/IMlib/ifloatsort.c
176 + MGridGen/IMlib/iintsort.c
177 + MGridGen/IMlib/ikeysort.c
178 + MGridGen/IMlib/memory.c
179 + MGridGen/IMlib/sort.c
180 + MGridGen/IMlib/util.c
181 + MGridGen/Lib/aratio.c
182 + MGridGen/Lib/coarsen.c
183 + MGridGen/Lib/kwayfm.c
184 + MGridGen/Lib/match.c
185 + MGridGen/Lib/merge.c
186 + MGridGen/Lib/mgridgen.c
187 + MGridGen/Lib/refine.c
188 + MGridGen/Lib/setup.c
191 +# ------------------------- vim: set sw=2 sts=2 et: --------------- end-of-file