Skip to content

Commit c5975a1

Browse files
committed
Tidied up PreProcessing utilities.
Generalised Cmake SUBDIRS inclusions in solvers and PreProcessing to only include available directories. Added scripts to generate tarball of code. git-svn-id: https://gforge.sci.utah.edu/svn/nektar/trunk@2455 305cdda6-5ce1-45b3-a98d-dfc68c8b3305
1 parent 2522fa3 commit c5975a1

20 files changed

+93
-954
lines changed

LICENSE

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
The MIT License
2+
3+
Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
4+
Department of Aeronautics, Imperial College London (UK), and Scientific
5+
Computing and Imaging Institute, University of Utah (USA).
6+
7+
License for the specific language governing rights and limitations under
8+
Permission is hereby granted, free of charge, to any person obtaining a
9+
copy of this software and associated documentation files (the "Software"),
10+
to deal in the Software without restriction, including without limitation
11+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
12+
and/or sell copies of the Software, and to permit persons to whom the
13+
Software is furnished to do so, subject to the following conditions:
14+
15+
The above copyright notice and this permission notice shall be included
16+
in all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
24+
DEALINGS IN THE SOFTWARE.

VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.0

dist-exclude

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
make-distribution.sh
2+
distro-exclude.txt
3+
builds/*
4+
nektar++-*
5+
ThirdParty
6+
templates
7+
solvers/ADR2DManifoldSolver
8+
solvers/BoussinesqSolver
9+
solvers/EulerSolver
10+
solvers/FitzHughNagumoSolver
11+
solvers/ShallowWaterSolver
12+
docs/Coding\ Style\ Standard.doc
13+
docs/emacs
14+
docs/html/code
15+
docs/html/images
16+
docs/html/downloads
17+
docs/html/videos
18+
docs/html/Templates
19+
docs/html/*.html
20+
docs/html/*.php
21+
docs/html/*.css
22+
utilities/Mesh
23+
utilities/PreProcessing/EnsiteToXml.cpp
24+
utilities/PreProcessing/meshFiles
25+
utilities/PreProcessing/smeshFile
26+
utilities/PreProcessing/makeEllipsoidNektar.c

distribute.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
cd `dirname $0`
4+
5+
TARGET=nektar++-`cat VERSION`
6+
7+
if [ -d $TARGET ]; then
8+
rm -rf $TARGET
9+
fi
10+
mkdir -p $TARGET
11+
12+
echo "Generating file list..."
13+
rsync -avqH --cvs-exclude --exclude-from dist-exclude * $TARGET
14+
15+
echo "Generating library distribution..."
16+
tar -zc -f $TARGET.tar.gz $TARGET
17+
rm -rf $TARGET
18+
19+
# Get documentation up to date
20+
#cd docs/html/doxygen
21+
#doxygen doxygen

solvers/CMakeLists.txt

+10-2
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,13 @@ MACRO(ADD_SOLVER_EXECUTABLE name source)
5959

6060
ENDMACRO(ADD_SOLVER_EXECUTABLE name source)
6161

62-
SUBDIRS(ADRSolver ShallowWaterSolver
63-
IncNavierStokesSolver EulerSolver ADR2DManifoldSolver FitzHughNagumoSolver)
62+
# Generate list of available solvers
63+
FILE(GLOB dir_list "*")
64+
LIST(REMOVE_ITEM dir_list "${CMAKE_SOURCE_DIR}/Auxiliary")
65+
LIST(REMOVE_ITEM dir_list "${CMAKE_SOURCE_DIR}/.svn")
66+
LIST(REMOVE_ITEM dir_list "${CMAKE_SOURCE_DIR}/builds")
67+
FOREACH(dir ${dir_list})
68+
IF(IS_DIRECTORY ${dir} AND EXISTS ${dir}/CMakeLists.txt)
69+
ADD_SUBDIRECTORY(${dir})
70+
ENDIF(IS_DIRECTORY ${dir} AND EXISTS ${dir}/CMakeLists.txt)
71+
ENDFOREACH(dir ${dir_list})

0 commit comments

Comments
 (0)