Bugfix: constraint must work on a reference. Inno Gatin
[foam-extend-4.0.git] / etc / aliases.csh
blobe16e542e22fcd1380b641c4eadcd1bc96f977512
1 #----------------------------------*-sh-*--------------------------------------
2 # =========                 |
3 # \\      /  F ield         | foam-extend: Open Source CFD
4 #  \\    /   O peration     | Version:     3.2
5 #   \\  /    A nd           | Web:         http://www.foam-extend.org
6 #    \\/     M anipulation  | For copyright notice see file Copyright
7 #------------------------------------------------------------------------------
8 # License
9 #     This file is part of foam-extend.
11 #     foam-extend 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 3 of the License, or (at your
14 #     option) any later version.
16 #     foam-extend is distributed in the hope that it will be useful, but
17 #     WITHOUT ANY WARRANTY; without even the implied warranty of
18 #     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19 #     General Public License for more details.
21 #     You should have received a copy of the GNU General Public License
22 #     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 # Script
25 #     aliases.csh
27 # Description
28 #     Aliases for working with FOAM
29 #     Sourced from FOAM-??/etc/cshrc and/or ~/.cshrc
31 #------------------------------------------------------------------------------
33 # Change compiled version aliases
34 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35 alias wm64 'setenv WM_ARCH_OPTION 64; source $WM_PROJECT_DIR/etc/cshrc'
36 alias wm32 'setenv WM_ARCH_OPTION 32; source $WM_PROJECT_DIR/etc/cshrc'
37 alias wmSP 'setenv WM_PRECISION_OPTION SP; source $WM_PROJECT_DIR/etc/cshrc'
38 alias wmDP 'setenv WM_PRECISION_OPTION DP; source $WM_PROJECT_DIR/etc/cshrc'
40 # Toggle wmakeScheduler on/off
41 #  - also need to set WM_HOSTS
42 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43 alias wmSchedON 'setenv WM_SCHEDULER $WM_PROJECT_DIR/wmake/wmakeScheduler'
44 alias wmSchedOFF 'unsetenv WM_SCHEDULER'
46 # Change directory aliases
47 # ~~~~~~~~~~~~~~~~~~~~~~~~
48 alias src 'cd $FOAM_SRC'
49 alias lib 'cd $FOAM_LIB'
50 alias run 'cd $FOAM_RUN'
51 alias foam 'cd $WM_PROJECT_DIR'
52 alias foamsrc 'cd $FOAM_SRC/$WM_PROJECT'
53 alias foamfv 'cd $FOAM_SRC/finiteVolume'
54 alias app 'cd $FOAM_APP'
55 alias util 'cd $FOAM_UTILITIES'
56 alias sol 'cd $FOAM_SOLVERS'
57 alias tut 'cd $FOAM_TUTORIALS'
58 alias foam3rdParty 'cd $WM_THIRD_PARTY_DIR'
59 alias work 'cd $WM_PROJECT_USER_DIR/work'
61 # -----------------------------------------------------------------------------