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
7467c891
Commit
7467c891
authored
Dec 11, 2008
by
Mark Olesen
Browse files
minor tweak for matching MPI types, documentation cosmetics
parent
7473adc8
Changes
4
Hide whitespace changes
Inline
Side-by-side
etc/bashrc
View file @
7467c891
...
...
@@ -91,7 +91,7 @@ export WM_COMPILER_LIB_ARCH=
# WM_JAVAC_OPTION = Opt | Debug
:
${
WM_JAVAC_OPTION
:
=Opt
}
;
export
WM_JAVAC_OPTION
# WM_MPLIB = | OPENMPI| LAM | MPICH | MPICH-GM | HPMPI | GAMMA | MPI
# WM_MPLIB = | OPENMPI
| LAM | MPICH | MPICH-GM | HPMPI | GAMMA | MPI
:
${
WM_MPLIB
:
=OPENMPI
}
;
export
WM_MPLIB
...
...
src/OpenFOAM/db/IOstreams/Pstreams/OPstream.H
View file @
7467c891
...
...
@@ -47,7 +47,7 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class OPstream Declaration
Class OPstream Declaration
\*---------------------------------------------------------------------------*/
class
OPstream
...
...
@@ -160,7 +160,7 @@ public:
void
flush
()
{}
//- Add
'\n'
and flush stream
//- Add
newline
and flush stream
void
endl
()
{}
...
...
src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H
View file @
7467c891
...
...
@@ -48,7 +48,7 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class OSstream Declaration
Class OSstream Declaration
\*---------------------------------------------------------------------------*/
class
OSstream
...
...
@@ -162,20 +162,20 @@ public:
//- Flush stream
virtual
void
flush
();
//- Add
'\n'
and flush stream
//- Add
newline
and flush stream
virtual
void
endl
();
//- Get width of output field
virtual
int
width
()
const
;
//- Set width of output field (and return old width)
virtual
int
width
(
const
int
w
);
virtual
int
width
(
const
int
);
//- Get precision of output field
virtual
int
precision
()
const
;
//- Set precision of output field (and return old precision)
virtual
int
precision
(
const
int
p
);
virtual
int
precision
(
const
int
);
// Print
...
...
src/Pstream/Allwmake
View file @
7467c891
...
...
@@ -5,7 +5,11 @@ set -x
wmake libso dummy
case
"
$WM_MPLIB
"
in
LAM
|
OPENMPI
|
MPI
|
MPICH
|
MPICH-GM
|
HPMPI
|
MPIGAMMA
)
GAMMA
)
wmake libso gamma
;;
LAM
|
*
MPI
*
)
export
WM_OPTIONS
=
${
WM_OPTIONS
}
$WM_MPLIB
set
+x
echo
...
...
@@ -13,10 +17,6 @@ LAM | OPENMPI | MPI | MPICH | MPICH-GM | HPMPI | MPIGAMMA )
set
-x
wmake libso mpi
;;
GAMMA
)
wmake libso gamma
;;
esac
# ----------------------------------------------------------------- end-of-file
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