/[escript]/branches/arrexp_2137_win_merge/escript/src/NullDomain.cpp
ViewVC logotype

Contents of /branches/arrexp_2137_win_merge/escript/src/NullDomain.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 110 - (show annotations)
Mon Feb 14 04:14:42 2005 UTC (14 years, 6 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/NullDomain.cpp
File size: 2502 byte(s)
*** empty log message ***

1 /*
2 ******************************************************************************
3 * *
4 * COPYRIGHT ACcESS 2004 - All Rights Reserved *
5 * *
6 * This software is the property of ACcESS. No part of this code *
7 * may be copied in any form or by any means without the expressed written *
8 * consent of ACcESS. Copying, use or modification of this software *
9 * by any unauthorised person is illegal unless that person has a software *
10 * license agreement with ACcESS. *
11 * *
12 ******************************************************************************
13 */
14
15 #include "escript/Data/NullDomain.h"
16
17 namespace escript {
18
19 NullDomain::NullDomain() {
20 }
21
22 bool NullDomain::isValidFunctionSpaceType(int functionSpaceType) const
23 {
24 //
25 // allow anything
26 return true;
27 }
28 std::string NullDomain::getDescription() const
29 {
30 return "NullDomain";
31 }
32
33 int NullDomain::getContinuousFunctionCode() const
34 {
35 //
36 // return an arbitary value
37 return 1;
38 }
39
40 int NullDomain::getFunctionCode() const
41 {
42 //
43 // return an arbitary value
44 return 1;
45 }
46
47 int NullDomain::getFunctionOnBoundaryCode() const
48 {
49 //
50 // return an arbitary value
51 return 1;
52 }
53
54 int NullDomain::getFunctionOnContactZeroCode() const
55 {
56 //
57 // return an arbitary value
58 return 1;
59 }
60
61 int NullDomain::getFunctionOnContactOneCode() const
62 {
63 //
64 // return an arbitary value
65 return 1;
66 }
67
68 int NullDomain::getSolutionCode() const
69 {
70 //
71 // return an arbitary value
72 return 1;
73 }
74
75 int NullDomain::getReducedSolutionCode() const
76 {
77 //
78 // return an arbitary value
79 return 1;
80 }
81
82 int NullDomain::getDiracDeltaFunctionCode() const
83 {
84 //
85 // return an arbitary value
86 return 1;
87 }
88
89 std::pair<int,int> NullDomain::getDataShape(int functionSpaceCode) const
90 {
91 //
92 // return an arbitary value
93 return std::pair<int,int>(1,1);
94 }
95
96 int NullDomain::getTagFromSampleNo(int functionSpaceType, int sampleNo) const
97 {
98 //
99 // return an arbitary value
100 return 1;
101 }
102
103 int NullDomain::getReferenceNoFromSampleNo(int functionSpaceType, int sampleNo) const
104 {
105 //
106 // return an arbitary value
107 return 1;
108 }
109
110 int NullDomain::getDim() const
111 {
112 //
113 // return an arbitary value
114 return 1;
115 }
116
117 } // end of namespace

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26