/[escript]/branches/intelc_win32/bruce/src/BruceFactory.h
ViewVC logotype

Contents of /branches/intelc_win32/bruce/src/BruceFactory.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 742 - (show annotations)
Sat Jun 24 11:27:16 2006 UTC (16 years, 8 months ago) by woo409
File MIME type: text/plain
File size: 1741 byte(s)
+ Initial commit of win32 port using intel c++ compiler 9.1.x for Windows
+ This version is failing some file handling tests in python
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 #include "system_dep.h"
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 BRUCE_DLL_API 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 BRUCE_DLL_API 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