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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1387 - (show annotations)
Fri Jan 11 07:45:26 2008 UTC (13 years, 6 months ago) by trankine
File MIME type: text/plain
File size: 1604 byte(s)
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.
1
2 /* $Id$ */
3
4 /*******************************************************
5 *
6 * Copyright 2003-2007 by ACceSS MNRF
7 * Copyright 2007 by University of Queensland
8 *
9 * http://esscc.uq.edu.au
10 * Primary Business: Queensland, Australia
11 * Licensed under the Open Software License version 3.0
12 * http://www.opensource.org/licenses/osl-3.0.php
13 *
14 *******************************************************/
15
16 #if !defined bruce_BruceFactory_20050901_H
17 #define bruce_BruceFactory_20050901_H
18 #include "system_dep.h"
19 #include "escript/AbstractContinuousDomain.h"
20
21 namespace bruce {
22
23 /**
24 \brief
25 A suite of factory methods for creating various Bruces.
26
27 Description:
28 A suite of factory methods for creating various Bruces.
29 */
30
31 /**
32 \brief
33 Creates a rectangular mesh with n0 x n1 x n2 elements over the brick
34 [l0,0,0] x [0,l1,0] x [0,0,l2].
35
36 \param n0,n1,n2 Input - number of elements in each dimension
37 \param l0,l1,l2 Input - length of each side of brick
38 */
39 BRUCE_DLL_API escript::AbstractContinuousDomain* brick(int n0=2, int n1=2, int n2=2,
40 double l0=1.0, double l1=1.0, double l2=1.0);
41
42 /**
43 \brief
44 Creates a rectangular mesh with n0 x n1 elements over the rectangle
45 [l0,0] x [0,l1].
46
47 \param n0,n1 Input - number of elements in each dimension
48 \param l0,l1 Input - length of each side of rectangle
49 */
50 BRUCE_DLL_API escript::AbstractContinuousDomain* rectangle(int n0=2, int n1=2,
51 double l0=1.0, double l1=1.0);
52
53 } // end of namespace
54
55 #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26