~njansson/dolfin/hpc

1048 by logg
Tailorized "2005-05-06 15:25:20 by logg"
1
#!/bin/sh
1142 by logg
Tailorized "2005-06-30 19:03:51 by logg"
2
#
2589 by Anders Logg
Bug fix regarding order of values in interpolate_vertex_values for
3
# Copyright (C) 2005-2008 Anders Logg.
1905.1.1 by Johan Jansson
Implemented license change to LGPL.
4
# Licensed under the GNU LGPL Version 2.1.
1048 by logg
Tailorized "2005-05-06 15:25:20 by logg"
5
#
6
# Recompile all ffc forms (use when FFC has been updated)
7
# This script should be run from the top level directory.
1689.24.123 by Anders Logg
Remove #ifdef PETSC in fem demo and fix bug in plot.py for nonlinear Poisson
8
2589 by Anders Logg
Bug fix regarding order of values in interpolate_vertex_values for
9
FORMFILES=`find . -name '*.form'`
1671 by Anders Logg
Update interface for FiniteElement
10
TOPDIR=`pwd`
11
2420.1.1 by Johan Jansson
Function:
12
# Regenerate all forms in element and projection library
2589 by Anders Logg
Bug fix regarding order of values in interpolate_vertex_values for
13
cd $TOPDIR/dolfin/elements
2647 by Anders Logg
Fix problem with weird elasticity plot:
14
python generate_elements.py
2420.1.1 by Johan Jansson
Function:
15
python generate_projections.py
2126 by Anders Logg
Recompile all forms with latest (last?) UFC. Also updated script
16
17
# Compile all form files
1671 by Anders Logg
Update interface for FiniteElement
18
for FORMFILE in $FORMFILES; do
19
2126 by Anders Logg
Recompile all forms with latest (last?) UFC. Also updated script
20
    echo "Compiling $FORMFILE"
1671 by Anders Logg
Update interface for FiniteElement
21
22
    DIRNAME=`dirname $FORMFILE`
23
    FILENAME=`echo $FORMFILE | sed s#$DIRNAME/##`
24
2126 by Anders Logg
Recompile all forms with latest (last?) UFC. Also updated script
25
    cd $TOPDIR/$DIRNAME
26
    ffc -s -l dolfin $FILENAME
1671 by Anders Logg
Update interface for FiniteElement
27
1138 by logg
Tailorized "2005-06-28 21:07:10 by logg"
28
done