Skip to content
GitLab
Menu
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
dc2418eb
Commit
dc2418eb
authored
Jan 03, 2013
by
mattijs
Browse files
COMP: paraview: move include directory setting to paraview.sh
parent
e7b5594f
Changes
6
Show whitespace changes
Inline
Side-by-side
etc/config/example/paraview.csh
View file @
dc2418eb
...
...
@@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
...
...
@@ -39,7 +39,7 @@
#
set
foamFile
=
`
$WM_PROJECT_DIR
/bin/foamEtcFile
-mode
o config/paraview.csh
`
if
(
$status
==
0
)
source
$foamFile
ParaView_VERSION
=
3.
9
.0
if
(
$status
==
0
)
source
$foamFile
ParaView_VERSION
=
3.
12
.0
unset
foamFile
...
...
etc/config/example/paraview.sh
View file @
dc2418eb
...
...
@@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
...
...
@@ -39,7 +39,7 @@
#
foamFile
=
$(
$WM_PROJECT_DIR
/bin/foamEtcFile
-mode
o config/paraview.sh 2>/dev/null
)
[
$?
-eq
0
]
&&
.
$foamFile
ParaView_VERSION
=
3.
9
.0
[
$?
-eq
0
]
&&
.
$foamFile
ParaView_VERSION
=
3.
12
.0
unset
foamFile
...
...
etc/config/paraview.csh
View file @
dc2418eb
...
...
@@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
...
...
@@ -88,6 +88,7 @@ if ( -r $ParaView_DIR || -r $paraviewInstDir ) then
setenv PATH
${
ParaView_DIR
}
/bin:
${
PATH
}
setenv LD_LIBRARY_PATH
"
${
ParaView_DIR
}
/lib/paraview-
${
ParaView_MAJOR
}
:
${
LD_LIBRARY_PATH
}
"
setenv PV_PLUGIN_PATH
$FOAM_LIBBIN
/paraview-
${
ParaView_MAJOR
}
setenv ParaView_INCLUDE_DIR
$ParaView_DIR
/include/paraview-
${
ParaView_MAJOR
}
# add in python libraries if required
set
paraviewPython
=
$ParaView_DIR
/Utilities/VTKPythonWrapping
...
...
etc/config/paraview.sh
View file @
dc2418eb
...
...
@@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
...
...
@@ -98,6 +98,8 @@ then
export
LD_LIBRARY_PATH
=
$ParaView_DIR
/lib/paraview-
$ParaView_MAJOR
:
$LD_LIBRARY_PATH
export
PV_PLUGIN_PATH
=
$FOAM_LIBBIN
/paraview-
$ParaView_MAJOR
export
ParaView_INCLUDE_DIR
=
$ParaView_DIR
/include/paraview-
$ParaView_MAJOR
# add in python libraries if required
paraviewPython
=
$ParaView_DIR
/Utilities/VTKPythonWrapping
if
[
-r
$paraviewPython
]
...
...
etc/config/unset.csh
View file @
dc2418eb
...
...
@@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
...
...
@@ -125,6 +125,7 @@ unsetenv OPAL_PREFIX
unsetenv ENSIGHT9_READER
unsetenv CMAKE_HOME
unsetenv ParaView_DIR
unsetenv ParaView_INCLUDE_DIR
unsetenv PV_PLUGIN_PATH
...
...
etc/config/unset.sh
View file @
dc2418eb
...
...
@@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
...
...
@@ -112,6 +112,7 @@ unset OPAL_PREFIX
unset
ENSIGHT9_READER
unset
CMAKE_HOME
unset
ParaView_DIR
unset
ParaView_INCLUDE_DIR
unset
PV_PLUGIN_PATH
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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