~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to sandbox/ilmarw/assembler_bench/SConstruct

  • Committer: Anders Logg
  • Date: 2008-05-18 20:10:23 UTC
  • mto: (2668.7.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2670.
  • Revision ID: logg@simula.no-20080518201023-q5sec18uepjnjw4f
Add new function DirichletBC::setSubSystem(), allowing modification
of the sub system for which a BC has been set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import os, commands
2
 
 
3
 
# Get compiler from pkg-config
4
 
compiler = commands.getoutput('pkg-config --variable=compiler dolfin')
5
 
 
6
 
# Create a SCons Environment based on the main os environment
7
 
env = Environment(ENV=os.environ, CXX=compiler)
8
 
 
9
 
# Get compiler flags from pkg-config
10
 
env.ParseConfig('pkg-config --cflags --libs dolfin')
11
 
 
12
 
Export('env')
13
 
 
14
 
SConscript(['Elasticity_3D/SConscript',
15
 
            'ICNS_3D_Momentum/SConscript',
16
 
            'Laplace_2D/SConscript',
17
 
            'Stokes_2D_Stab/SConscript',
18
 
            'Stokes_2D_TH/SConscript'])