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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 150 - (show annotations)
Thu Sep 15 03:44:45 2005 UTC (17 years, 6 months ago) by jgs
Original Path: trunk/esys2/bruce/src/Bruce/BruceFactory.cpp
File size: 1636 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-09-15

1 /* $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
16 #include "bruce/Bruce/BruceFactory.h"
17 #include "bruce/Bruce/BruceException.h"
18
19 #include <iostream>
20 #include <sstream>
21 #include <boost/python/extract.hpp>
22
23 using namespace std;
24 using namespace escript;
25
26 namespace bruce {
27
28 AbstractContinuousDomain* brick(int n0,int n1,int n2,
29 double l0,double l1,double l2)
30 {
31 int numElements[]={n0,n1,n2};
32 double length[]={l0,l1,l2};
33
34 AbstractContinuousDomain* temp=new Bruce();
35 return temp;
36 }
37
38 AbstractContinuousDomain* rectangle(int n0,int n1,
39 double l0, double l1)
40 {
41 int numElements[]={n0,n1};
42 double length[]={l0,l1};
43
44 AbstractContinuousDomain* temp=new Bruce();
45 return temp;
46 }
47
48 } // end of namespace

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26