ENH: paraFoam : unsetenv FOAM_ABORT so tracebacks do not hang paraview.
[OpenFOAM-1.6.x.git] / etc / aliases.csh
blobfd7f183a368a39d2d60c7ba5d758bbc1af03a0f5
1 #----------------------------------*-sh-*--------------------------------------
2 # =========                 |
3 # \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4 #  \\    /   O peration     |
5 #   \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
6 #    \\/     M anipulation  |
7 #------------------------------------------------------------------------------
8 # License
9 #     This file is part of OpenFOAM.
11 #     OpenFOAM is free software; you can redistribute it and/or modify it
12 #     under the terms of the GNU General Public License as published by the
13 #     Free Software Foundation; either version 2 of the License, or (at your
14 #     option) any later version.
16 #     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 #     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 #     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
19 #     for more details.
21 #     You should have received a copy of the GNU General Public License
22 #     along with OpenFOAM; if not, write to the Free Software Foundation,
23 #     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 # Script
26 #     aliases.csh
28 # Description
29 #     Aliases for working with OpenFOAM
30 #     Sourced from OpenFOAM-??/etc/cshrc and/or ~/.cshrc
32 #------------------------------------------------------------------------------
34 # Change compiled version aliases
35 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 alias wm64 'setenv WM_ARCH_OPTION 64; source $WM_PROJECT_DIR/etc/cshrc'
37 alias wm32 'setenv WM_ARCH_OPTION 32; source $WM_PROJECT_DIR/etc/cshrc'
38 alias wmSP 'setenv WM_PRECISION_OPTION SP; source $WM_PROJECT_DIR/etc/cshrc'
39 alias wmDP 'setenv WM_PRECISION_OPTION DP; source $WM_PROJECT_DIR/etc/cshrc'
41 # Toggle wmakeScheduler on/off
42 #  - also need to set WM_HOSTS
43 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 alias wmSchedON 'setenv WM_SCHEDULER $WM_PROJECT_DIR/wmake/wmakeScheduler'
45 alias wmSchedOFF 'unsetenv WM_SCHEDULER'
47 # Change directory aliases
48 # ~~~~~~~~~~~~~~~~~~~~~~~~
49 alias src 'cd $FOAM_SRC'
50 alias lib 'cd $FOAM_LIB'
51 alias run 'cd $FOAM_RUN'
52 alias foam 'cd $WM_PROJECT_DIR'
53 alias foamsrc 'cd $FOAM_SRC/$WM_PROJECT'
54 alias foamfv 'cd $FOAM_SRC/finiteVolume'
55 alias app 'cd $FOAM_APP'
56 alias util 'cd $FOAM_UTILITIES'
57 alias sol 'cd $FOAM_SOLVERS'
58 alias tut 'cd $FOAM_TUTORIALS'
59 alias foam3rdParty 'cd $WM_THIRD_PARTY_DIR'
61 # -----------------------------------------------------------------------------