Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
This commit is contained in:
commit
a5b60b171f
4
.gitignore
vendored
4
.gitignore
vendored
@ -55,7 +55,7 @@ doc/[Dd]oxygen/man
|
||||
# ignore .timeStamp in the main directory
|
||||
/.timeStamp
|
||||
|
||||
# ignore .ebrowse in the main directory
|
||||
/.ebrowse
|
||||
# ignore .tags in the main directory
|
||||
/.tags
|
||||
|
||||
# end-of-file
|
||||
|
@ -27,26 +27,27 @@
|
||||
# foamEbrowse
|
||||
#
|
||||
# Description
|
||||
# Build the Ebrowse database for all the .C and .H files
|
||||
# Build the Ebrowse database for all the .H and .C files
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
headersFile=${TMPDIR:-/tmp}/headersFile.$$
|
||||
sourcesFile=${TMPDIR:-/tmp}/sourcesFile.$$
|
||||
|
||||
if [ $# -ne 0 ]; then
|
||||
echo "Usage : ${0##*/}"
|
||||
echo ""
|
||||
echo "Build the Ebrowse dadbase for all the .C and .H files"
|
||||
echo "Build the Ebrowse dadbase for all the .H and .C files"
|
||||
echo ""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Clean up on termination and on Ctrl-C
|
||||
trap 'rm -f $headersFile $sourcesFile 2>/dev/null; exit 0' EXIT TERM INT
|
||||
trap 'rm -f $sourcesFile 2>/dev/null; exit 0' EXIT TERM INT
|
||||
|
||||
cd $WM_PROJECT_DIR
|
||||
find -H . -name "*.H" | fgrep -v lnInclude > $headersFile
|
||||
find -H . -name "*.C" | fgrep -v lnInclude > $sourcesFile
|
||||
ebrowse --files=$headersFile --files=$sourcesFile --output-file=.ebrowse
|
||||
mkdir .tags 2>/dev/null
|
||||
cd .tags
|
||||
|
||||
find -H .. \( -name "*.[HC]" -not -name "lnInclude" -not -name "Doxygen" \) -print > $sourcesFile
|
||||
ebrowse --files=$sourcesFile --output-file=ebrowse
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
56
bin/foamTags
Executable file
56
bin/foamTags
Executable file
@ -0,0 +1,56 @@
|
||||
#!/bin/sh
|
||||
#------------------------------------------------------------------------------
|
||||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration |
|
||||
# \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd.
|
||||
# \\/ M anipulation |
|
||||
#-------------------------------------------------------------------------------
|
||||
# License
|
||||
# This file is part of OpenFOAM.
|
||||
#
|
||||
# OpenFOAM 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.
|
||||
#
|
||||
# OpenFOAM 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 OpenFOAM; if not, write to the Free Software Foundation,
|
||||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# Script
|
||||
# foamTags
|
||||
#
|
||||
# Description
|
||||
# Build the tags files for all the .C and .H files
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
if [ $# -ne 0 ]; then
|
||||
echo "Usage : ${0##*/}"
|
||||
echo ""
|
||||
echo "Build the tags files for all the .C and .H files"
|
||||
echo ""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd $WM_PROJECT_DIR
|
||||
mkdir .tags 2>/dev/null
|
||||
|
||||
find -H . \( -name "*.[HC]" -not -name "lnInclude" -not -name "Doxygen" \) | \
|
||||
etags --declarations -l c++ -o .tags/etags -
|
||||
find -H . \( -name "*.[HC]" -not -name "lnInclude" -not -name "Doxygen" \) | \
|
||||
etags -l c++ -o .tags/etagsDef -
|
||||
find -H . \( -name "*.H" -not -name "lnInclude" -not -name "Doxygen" \) | \
|
||||
etags --declarations -l c++ -o .tags/etagsDec -
|
||||
|
||||
gtags -i --gtagsconf bin/tools/gtagsrc .tags
|
||||
|
||||
foamEbrowse
|
||||
|
||||
#------------------------------------------------------------------------------
|
63
bin/tools/gtagsrc
Normal file
63
bin/tools/gtagsrc
Normal file
@ -0,0 +1,63 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration |
|
||||
# \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd.
|
||||
# \\/ M anipulation |
|
||||
#-------------------------------------------------------------------------------
|
||||
# License
|
||||
# This file is part of OpenFOAM.
|
||||
#
|
||||
# OpenFOAM 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.
|
||||
#
|
||||
# OpenFOAM 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 OpenFOAM; if not, write to the Free Software Foundation,
|
||||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# Canfiguration file
|
||||
# gtagsrc
|
||||
#
|
||||
# Description
|
||||
# Configuration file for gtags(1).
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
default:\
|
||||
:tc=gtags:tc=htags:
|
||||
#------------------------------------------------------------------------------
|
||||
# Configuration for gtags(1)
|
||||
# See gtags(1).
|
||||
#------------------------------------------------------------------------------
|
||||
common:\
|
||||
:skip=GPATH,GTAGS,GRTAGS,GSYMS,HTML/,HTML.pub/,html/,tags,TAGS,ID,.ebrowse,.etags,.etagsDef,.etagsDec,y.tab.c,y.tab.h,.notfunction,cscope.out,cscope.po.out,cscope.in.out,.gdbinit,SCCS/,RCS/,CVS/,CVSROOT/,{arch}/,.svn/,.git/,.cvsrc,.cvsignore,.gitignore,.cvspass,.cvswrappers,.deps/,autom4te.cache/,.snprj/:\
|
||||
:langmap=c\:.c.h,yacc\:.y,asm\:.s.S,java\:.java,cpp\:.c++.cc.cpp.cxx.hxx.hpp.C.H,php\:.php.php3.phtml:
|
||||
gtags:\
|
||||
:tc=common:\
|
||||
:GTAGS=gtags-parser %s:\
|
||||
:GRTAGS=gtags-parser -r %s:\
|
||||
:GSYMS=gtags-parser -s %s:\
|
||||
:skip=lnInclude/,tutorials/,wmake/,doc/,lib/,etc/:
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
# Configuration for htags(1)
|
||||
#------------------------------------------------------------------------------
|
||||
htags:\
|
||||
:body_begin=<body text='#191970' bgcolor='#f5f5dc' vlink='gray'>:body_end=</body>:\
|
||||
:table_begin=<table>:table_end=</table>:\
|
||||
:title_begin=<h1><font color='#cc0000'>:title_end=</font></h1>:\
|
||||
:comment_begin=<i><font color='green'>:comment_end=</font></i>:\
|
||||
:sharp_begin=<font color='darkred'>:sharp_end=</font>:\
|
||||
:brace_begin=<font color='red'>:brace_end=</font>:\
|
||||
:warned_line_begin=<span style='background-color\:yellow'>:warned_line_end=</span>:\
|
||||
:reserved_begin=<b>:reserved_end=</b>:script_alias=/cgi-bin/:\
|
||||
:ncol#4:tabs#8:normal_suffix=html:gzipped_suffix=ghtml:\
|
||||
:definition_header=no:
|
||||
|
||||
#------------------------------------------------------------------------------
|
@ -154,7 +154,7 @@ tmp<GeometricField<scalar, PatchField, GeoMesh> > pow
|
||||
pow
|
||||
(
|
||||
gsf1.dimensions(),
|
||||
dimensionedScalar("1", 1.0, gsf2.dimensions())
|
||||
dimensionedScalar("1", gsf2.dimensions(), 1.0)
|
||||
)
|
||||
)
|
||||
);
|
||||
@ -183,7 +183,7 @@ tmp<GeometricField<scalar, PatchField, GeoMesh> > pow
|
||||
pow
|
||||
(
|
||||
gsf1.dimensions(),
|
||||
dimensionedScalar("1", 1.0, gsf2.dimensions())
|
||||
dimensionedScalar("1", gsf2.dimensions(), 1.0)
|
||||
)
|
||||
)
|
||||
);
|
||||
@ -214,7 +214,7 @@ tmp<GeometricField<scalar, PatchField, GeoMesh> > pow
|
||||
pow
|
||||
(
|
||||
gsf1.dimensions(),
|
||||
dimensionedScalar("1", 1.0, gsf2.dimensions())
|
||||
dimensionedScalar("1", gsf2.dimensions(), 1.0)
|
||||
)
|
||||
)
|
||||
);
|
||||
@ -247,7 +247,7 @@ tmp<GeometricField<scalar, PatchField, GeoMesh> > pow
|
||||
pow
|
||||
(
|
||||
gsf1.dimensions(),
|
||||
dimensionedScalar("1", 1.0, gsf2.dimensions())
|
||||
dimensionedScalar("1", gsf2.dimensions(), 1.0)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
@ -60,7 +60,7 @@ void Foam::lduMatrix::Amul
|
||||
interfaceBouCoeffs,
|
||||
interfaces,
|
||||
psi,
|
||||
Apsi,
|
||||
Apsi,
|
||||
cmpt
|
||||
);
|
||||
|
||||
@ -79,7 +79,7 @@ void Foam::lduMatrix::Amul
|
||||
|
||||
register const label nFaces = upper().size();
|
||||
#ifdef ICC_IA64_PREFETCH
|
||||
#pragma swp
|
||||
#pragma swp
|
||||
#endif
|
||||
for (register label face=0; face<nFaces; face++)
|
||||
{
|
||||
@ -227,7 +227,7 @@ void Foam::lduMatrix::sumA
|
||||
}
|
||||
|
||||
#ifdef ICC_IA64_PREFETCH
|
||||
#pragma swp
|
||||
#pragma swp
|
||||
#endif
|
||||
|
||||
for (register label face=0; face<nFaces; face++)
|
||||
@ -316,7 +316,7 @@ void Foam::lduMatrix::residual
|
||||
mBouCoeffs,
|
||||
interfaces,
|
||||
psi,
|
||||
rA,
|
||||
rA,
|
||||
cmpt
|
||||
);
|
||||
|
||||
@ -336,7 +336,7 @@ void Foam::lduMatrix::residual
|
||||
|
||||
register const label nFaces = upper().size();
|
||||
#ifdef ICC_IA64_PREFETCH
|
||||
#pragma swp
|
||||
#pragma swp
|
||||
#endif
|
||||
for (register label face=0; face<nFaces; face++)
|
||||
{
|
||||
|
@ -51,6 +51,12 @@ namespace Foam
|
||||
// Forward declaration of classes
|
||||
class polyPatch;
|
||||
class polyMesh;
|
||||
class wallPoint;
|
||||
|
||||
// Forward declaration of friend functions and operators
|
||||
Ostream& operator<<(Ostream&, const wallPoint&);
|
||||
Istream& operator>>(Istream&, wallPoint&);
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class wallPoint Declaration
|
||||
@ -78,12 +84,15 @@ class wallPoint
|
||||
const scalar tol
|
||||
);
|
||||
|
||||
|
||||
public:
|
||||
|
||||
// Static data members
|
||||
|
||||
//- initial point far away.
|
||||
static point greatPoint;
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
@ -102,6 +111,7 @@ public:
|
||||
const wallPoint&
|
||||
);
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
// Access
|
||||
@ -184,11 +194,11 @@ public:
|
||||
const scalar tol
|
||||
);
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
// Needed for List IO
|
||||
inline bool operator==(const wallPoint&) const;
|
||||
|
||||
inline bool operator!=(const wallPoint&) const;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user