/[escript]/trunk/bruce/src/BruceFactory.h
ViewVC logotype

Contents of /trunk/bruce/src/BruceFactory.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 682 - (show annotations)
Mon Mar 27 02:43:09 2006 UTC (14 years, 6 months ago) by robwdcock
File MIME type: text/plain
File size: 1690 byte(s)
+ NEW BUILD SYSTEM

This commit contains the new build system with cross-platform support.
Most things work are before though you can have more control.

ENVIRONMENT settings have changed:
+ You no longer require LD_LIBRARY_PATH or PYTHONPATH to point to the
esysroot for building and testing performed via scons
+ ACcESS altix users: It is recommended you change your modules to load
the latest intel compiler and other libraries required by boost to match
the setup in svn (you can override). The correct modules are as follows

module load intel_cc.9.0.026
export
MODULEPATH=${MODULEPATH}:/data/raid2/toolspp4/modulefiles/gcc-3.3.6
module load boost/1.33.0/python-2.4.1
module load python/2.4.1
module load numarray/1.3.3


1 /* $Id$ */
2 /*
3 ************************************************************
4 * Copyright 2006 by ACcESS MNRF *
5 * *
6 * http://www.access.edu.au *
7 * Primary Business: Queensland, Australia *
8 * Licensed under the Open Software License version 3.0 *
9 * http://www.opensource.org/licenses/osl-3.0.php *
10 * *
11 ************************************************************
12 */
13
14 #if !defined bruce_BruceFactory_20050901_H
15 #define bruce_BruceFactory_20050901_H
16
17 #include "escript/AbstractContinuousDomain.h"
18
19 namespace bruce {
20
21 /**
22 \brief
23 A suite of factory methods for creating various Bruces.
24
25 Description:
26 A suite of factory methods for creating various Bruces.
27 */
28
29 /**
30 \brief
31 Creates a rectangular mesh with n0 x n1 x n2 elements over the brick
32 [l0,0,0] x [0,l1,0] x [0,0,l2].
33
34 \param n0,n1,n2 Input - number of elements in each dimension
35 \param l0,l1,l2 Input - length of each side of brick
36 */
37 escript::AbstractContinuousDomain* brick(int n0=2, int n1=2, int n2=2,
38 double l0=1.0, double l1=1.0, double l2=1.0);
39
40 /**
41 \brief
42 Creates a rectangular mesh with n0 x n1 elements over the rectangle
43 [l0,0] x [0,l1].
44
45 \param n0,n1 Input - number of elements in each dimension
46 \param l0,l1 Input - length of each side of rectangle
47 */
48 escript::AbstractContinuousDomain* rectangle(int n0=2, int n1=2,
49 double l0=1.0, double l1=1.0);
50
51 } // end of namespace
52
53 #endif

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26