Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
65e56915
Commit
65e56915
authored
Dec 04, 2009
by
Mark Olesen
Browse files
add single-line version/build info to argList::printUsage
parent
79b53a9c
Changes
9
Hide whitespace changes
Inline
Side-by-side
src/OSspecific/POSIX/signals/sigInt.C
View file @
65e56915
...
...
@@ -44,7 +44,7 @@ void Foam::sigInt::sigIntHandler(int)
(
"Foam::sigInt::sigIntHandler()"
)
<<
"Cannot reset SIGINT trapping"
<<
abort
(
FatalError
);
<<
abort
(
FatalError
);
}
// Update jobInfo file
...
...
@@ -74,7 +74,7 @@ Foam::sigInt::~sigInt()
(
"Foam::sigInt::~sigInt()"
)
<<
"Cannot reset SIGINT trapping"
<<
abort
(
FatalError
);
<<
abort
(
FatalError
);
}
}
...
...
@@ -102,7 +102,7 @@ void Foam::sigInt::set(const bool verbose)
(
"Foam::sigInt::set()"
)
<<
"Cannot set SIGINT trapping"
<<
abort
(
FatalError
);
<<
abort
(
FatalError
);
}
}
...
...
src/OSspecific/POSIX/signals/sigQuit.C
View file @
65e56915
...
...
@@ -44,7 +44,7 @@ void Foam::sigQuit::sigQuitHandler(int)
(
"Foam::sigQuit::sigQuitHandler()"
)
<<
"Cannot reset SIGQUIT trapping"
<<
abort
(
FatalError
);
<<
abort
(
FatalError
);
}
// Update jobInfo file
...
...
@@ -76,7 +76,7 @@ Foam::sigQuit::~sigQuit()
(
"Foam::sigQuit::~sigQuit()"
)
<<
"Cannot reset SIGQUIT trapping"
<<
abort
(
FatalError
);
<<
abort
(
FatalError
);
}
}
...
...
@@ -104,7 +104,7 @@ void Foam::sigQuit::set(const bool verbose)
(
"Foam::sigQuit::set()"
)
<<
"Cannot set SIGQUIT trapping"
<<
abort
(
FatalError
);
<<
abort
(
FatalError
);
}
}
...
...
src/OSspecific/POSIX/signals/sigSegv.C
View file @
65e56915
...
...
@@ -44,7 +44,7 @@ void Foam::sigSegv::sigSegvHandler(int)
(
"Foam::sigSegv::sigSegvHandler()"
)
<<
"Cannot reset SIGSEGV trapping"
<<
abort
(
FatalError
);
<<
abort
(
FatalError
);
}
// Update jobInfo file
...
...
@@ -76,7 +76,7 @@ Foam::sigSegv::~sigSegv()
(
"Foam::sigSegv::~sigSegv()"
)
<<
"Cannot reset SIGSEGV trapping"
<<
abort
(
FatalError
);
<<
abort
(
FatalError
);
}
}
...
...
@@ -104,7 +104,7 @@ void Foam::sigSegv::set(const bool verbose)
(
"Foam::sigSegv::set()"
)
<<
"Cannot set SIGSEGV trapping"
<<
abort
(
FatalError
);
<<
abort
(
FatalError
);
}
}
...
...
src/OpenFOAM/db/dlLibraryTable/dlLibraryTable.C
View file @
65e56915
...
...
@@ -68,7 +68,7 @@ bool Foam::dlLibraryTable::open(const fileName& functionLibName)
{
if
(
functionLibName
.
size
())
{
void
*
functionLibPtr
=
void
*
functionLibPtr
=
dlopen
(
functionLibName
.
c_str
(),
RTLD_LAZY
|
RTLD_GLOBAL
);
if
(
!
functionLibPtr
)
...
...
src/OpenFOAM/global/argList/argList.C
View file @
65e56915
...
...
@@ -807,7 +807,11 @@ void Foam::argList::printUsage() const
7
,
"print the usage"
);
Info
<<
endl
;
Info
<<
nl
<<
"Using OpenFOAM-"
<<
Foam
::
FOAMversion
<<
" (build: "
<<
Foam
::
FOAMbuild
<<
") - see www.OpenFOAM.org"
<<
nl
<<
endl
;
}
...
...
src/OpenFOAM/meshes/meshShapes/cell/oppositeCellFace.C
View file @
65e56915
...
...
@@ -99,7 +99,7 @@ Foam::label Foam::cell::opposingFaceLabel
{
// There has already been an opposite face.
// Non-prismatic cell
Info
<<
"Multiple faces not sharing vertex: "
Info
<<
"Multiple faces not sharing vertex: "
<<
oppositeFaceLabel
<<
" and "
<<
curFaceLabels
[
faceI
]
<<
endl
;
return
-
1
;
...
...
src/OpenFOAM/meshes/meshShapes/cellMatcher/prismMatcher.C
View file @
65e56915
...
...
@@ -37,7 +37,6 @@ const Foam::label Foam::prismMatcher::maxVertPerFace = 4;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// Construct from components
Foam
::
prismMatcher
::
prismMatcher
()
:
cellMatcher
...
...
@@ -89,7 +88,7 @@ bool Foam::prismMatcher::matchShape
faceLabels_
.
setSize
(
facePerCell
);
//
// Try first triangular face.
// Try first triangular face.
// Only need to try one orientation of this face since prism is
// rotation symmetric
//
...
...
@@ -223,7 +222,7 @@ bool Foam::prismMatcher::matchShape
// Walk face 0 from vertex 1 to 2
label
face0vert2
=
label
face0vert2
=
nextVert
(
face0vert1
,
...
...
@@ -257,7 +256,7 @@ bool Foam::prismMatcher::matchShape
// << " at position " << face3vert2 << " in face " << face3
// << endl;
label
face3vert5
=
label
face3vert5
=
nextVert
(
face3vert2
,
...
...
@@ -313,7 +312,7 @@ bool Foam::prismMatcher::faceSizeMatch
label
nTris
=
0
;
label
nQuads
=
0
;
forAll
(
myFaces
,
myFaceI
)
{
label
size
=
faces
[
myFaces
[
myFaceI
]].
size
();
...
...
src/OpenFOAM/meshes/meshShapes/cellMatcher/tetWedgeMatcher.C
View file @
65e56915
...
...
@@ -40,7 +40,6 @@ const Foam::label Foam::tetWedgeMatcher::maxVertPerFace = 4;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// Construct null
Foam
::
tetWedgeMatcher
::
tetWedgeMatcher
()
:
cellMatcher
...
...
@@ -241,7 +240,7 @@ bool Foam::tetWedgeMatcher::faceSizeMatch
label
nTris
=
0
;
label
nQuads
=
0
;
forAll
(
myFaces
,
myFaceI
)
{
label
size
=
faces
[
myFaces
[
myFaceI
]].
size
();
...
...
src/OpenFOAM/meshes/meshShapes/cellMatcher/wedgeMatcher.C
View file @
65e56915
...
...
@@ -37,7 +37,6 @@ const Foam::label Foam::wedgeMatcher::maxVertPerFace = 4;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// Construct null
Foam
::
wedgeMatcher
::
wedgeMatcher
()
:
cellMatcher
...
...
@@ -340,7 +339,7 @@ bool Foam::wedgeMatcher::faceSizeMatch
label
nTris
=
0
;
label
nQuads
=
0
;
forAll
(
myFaces
,
myFaceI
)
{
label
size
=
faces
[
myFaces
[
myFaceI
]].
size
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment