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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 475 - (hide annotations)
Mon Jan 30 05:36:15 2006 UTC (14 years, 11 months ago) by jgs
File MIME type: text/plain
File size: 2004 byte(s)
rationalise #includes

1 jgs 150 /* $Id$ */
2     /*
3     ******************************************************************************
4     * *
5     * COPYRIGHT ACcESS 2005 - All Rights Reserved *
6     * *
7     * This software is the property of ACcESS. No part of this code *
8     * may be copied in any form or by any means without the expressed written *
9     * consent of ACcESS. Copying, use or modification of this software *
10     * by any unauthorised person is illegal unless that person has a software *
11     * license agreement with ACcESS. *
12     * *
13     ******************************************************************************
14     */
15 jgs 151
16 jgs 150 #if !defined bruce_BruceFactory_20050901_H
17     #define bruce_BruceFactory_20050901_H
18    
19 jgs 474 #include "AbstractContinuousDomain.h"
20 jgs 150
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 jgs 151 [l0,0,0] x [0,l1,0] x [0,0,l2].
35 jgs 150
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 jgs 153 escript::AbstractContinuousDomain* brick(int n0=2, int n1=2, int n2=2,
40 jgs 151 double l0=1.0, double l1=1.0, double l2=1.0);
41 jgs 150
42     /**
43     \brief
44     Creates a rectangular mesh with n0 x n1 elements over the rectangle
45 jgs 151 [l0,0] x [0,l1].
46 jgs 150
47     \param n0,n1 Input - number of elements in each dimension
48 jgs 153 \param l0,l1 Input - length of each side of rectangle
49 jgs 150 */
50 jgs 153 escript::AbstractContinuousDomain* rectangle(int n0=2, int n1=2,
51 jgs 151 double l0=1.0, double l1=1.0);
52 jgs 150
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