/[escript]/trunk/escript/src/AbstractContinuousDomain.cpp
ViewVC logotype

Contents of /trunk/escript/src/AbstractContinuousDomain.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3259 - (show annotations)
Mon Oct 11 01:48:14 2010 UTC (8 years, 10 months ago) by jfenwick
File size: 6535 byte(s)
Merging dudley and scons updates from branches

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 #include "AbstractContinuousDomain.h"
16 #include "Data.h"
17
18 using namespace boost::python;
19
20 namespace escript {
21
22 AbstractContinuousDomain::AbstractContinuousDomain()
23 {
24 }
25
26 AbstractContinuousDomain::~AbstractContinuousDomain()
27 {
28 }
29
30 bool AbstractContinuousDomain::isValidFunctionSpaceType(int functionSpaceType) const
31 {
32 throwStandardException("AbstractContinuousDomain::isValidFunctionSpaceType");
33 return false;
34 }
35
36 std::string AbstractContinuousDomain::getDescription() const
37 {
38 throwStandardException("AbstractContinuousDomain::getDescription");
39 return "";
40 }
41
42 int AbstractContinuousDomain::getContinuousFunctionCode() const
43 {
44 throwStandardException("AbstractContinuousDomain::getContinuousFunctionCode");
45 return 0;
46 }
47
48 int AbstractContinuousDomain::getReducedContinuousFunctionCode() const
49 {
50 throwStandardException("AbstractContinuousDomain::getReducedContinuousFunctionCode");
51 return 0;
52 }
53
54 int AbstractContinuousDomain::getFunctionCode() const
55 {
56 throwStandardException("AbstractContinuousDomain::getFunctionCode");
57 return 0;
58 }
59
60 int AbstractContinuousDomain::getReducedFunctionCode() const
61 {
62 throwStandardException("AbstractContinuousDomain::getReducedFunctionCode");
63 return 0;
64 }
65
66 int AbstractContinuousDomain::getFunctionOnBoundaryCode() const
67 {
68 throwStandardException("AbstractContinuousDomain::getFunctionOnBoundaryCode");
69 return 0;
70 }
71
72 int AbstractContinuousDomain::getReducedFunctionOnBoundaryCode() const
73 {
74 throwStandardException("AbstractContinuousDomain::getReducedFunctionOnBoundaryCode");
75 return 0;
76 }
77
78 int AbstractContinuousDomain::getFunctionOnContactZeroCode() const
79 {
80 throwStandardException("AbstractContinuousDomain::getFunctionOnContactZeroCode");
81 return 0;
82 }
83
84 int AbstractContinuousDomain::getReducedFunctionOnContactZeroCode() const
85 {
86 throwStandardException("AbstractContinuousDomain::getReducedFunctionOnContactZeroCode");
87 return 0;
88 }
89
90 int AbstractContinuousDomain::getFunctionOnContactOneCode() const
91 {
92 throwStandardException("AbstractContinuousDomain::getFunctionOnContactOneCode");
93 return 0;
94 }
95
96 int AbstractContinuousDomain::getReducedFunctionOnContactOneCode() const
97 {
98 throwStandardException("AbstractContinuousDomain::getReducedFunctionOnContactOneCode");
99 return 0;
100 }
101
102 int AbstractContinuousDomain::getSolutionCode() const
103 {
104 throwStandardException("AbstractContinuousDomain::getSolutionCode");
105 return 0;
106 }
107
108 int AbstractContinuousDomain::getReducedSolutionCode() const
109 {
110 throwStandardException("AbstractContinuousDomain::getReducedSolutionCode");
111 return 0;
112 }
113
114 int AbstractContinuousDomain::getDiracDeltaFunctionCode() const
115 {
116 throwStandardException("AbstractContinuousDomain::getDiracDeltaFunctionCode");
117 return 0;
118 }
119
120 void AbstractContinuousDomain::setToIntegrals(std::vector<double>& integrals,const escript::Data& arg) const
121 {
122 throwStandardException("AbstractContinuousDomain::setToIntegrals");
123 return;
124 }
125
126 int AbstractContinuousDomain::getSystemMatrixTypeId(const int solver, const int precondioner, const int package, const bool symmetry) const
127 {
128 return 0;
129 }
130
131 int AbstractContinuousDomain::getTransportTypeId(const int solver, const int precondioner, const int package, const bool symmetry) const
132 {
133 return 0;
134 }
135
136 void AbstractContinuousDomain::addPDEToSystem(
137 AbstractSystemMatrix& mat, escript::Data& rhs,
138 const escript::Data& A, const escript::Data& B, const escript::Data& C,
139 const escript::Data& D, const escript::Data& X, const escript::Data& Y,
140 const escript::Data& d, const escript::Data& y,
141 const escript::Data& d_contact, const escript::Data& y_contact) const
142 {
143 throwStandardException("AbstractContinuousDomain::addPDEToSystem");
144 return;
145 }
146
147 void AbstractContinuousDomain::addPDEToRHS(escript::Data& rhs,
148 const escript::Data& X, const escript::Data& Y,
149 const escript::Data& y, const escript::Data& y_contact) const
150 {
151 throwStandardException("AbstractContinuousDomain::addPDEToRHS");
152 return;
153 }
154
155 void AbstractContinuousDomain::addPDEToTransportProblem(
156 AbstractTransportProblem& tp, escript::Data& source,
157 const escript::Data& M,
158 const escript::Data& A, const escript::Data& B, const escript::Data& C,const escript::Data& D,
159 const escript::Data& X,const escript::Data& Y,
160 const escript::Data& d, const escript::Data& y,
161 const escript::Data& d_contact,const escript::Data& y_contact) const
162 {
163 throwStandardException("AbstractContinuousDomain::addPDEToTransportProblem");
164 return;
165 }
166
167 ASM_ptr AbstractContinuousDomain::newSystemMatrix(
168 const int row_blocksize,
169 const escript::FunctionSpace& row_functionspace,
170 const int column_blocksize,
171 const escript::FunctionSpace& column_functionspace,
172 const int type) const
173 {
174 throwStandardException("AbstractContinuousDomain::newSystemMatrix");
175 return ASM_ptr();
176 }
177
178 ATP_ptr AbstractContinuousDomain::newTransportProblem(
179 const bool useBackwardEuler,
180 const int blocksize,
181 const escript::FunctionSpace& functionspace,
182 const int type) const
183 {
184 throwStandardException("AbstractContinuousDomain::newTransportProblem");
185 return ATP_ptr();
186 }
187
188 int AbstractContinuousDomain::getNumDataPointsGlobal() const
189 {
190 throwStandardException("AbstractContinuousDomain::getNumDataPointsGlobal");
191 return 1;
192 }
193
194 std::pair<int,int> AbstractContinuousDomain::getDataShape(int functionSpaceCode) const
195 {
196 throwStandardException("AbstractContinuousDomain::getDataShape");
197 return std::pair<int,int>(0,0);
198 }
199
200 void AbstractContinuousDomain::setNewX(const escript::Data& arg)
201 {
202 throwStandardException("AbstractContinuousDomain::setNewX");
203 return;
204 }
205
206 void AbstractContinuousDomain::Print_Mesh_Info(const bool full) const
207 {
208 throwStandardException("AbstractContinuousDomain::Print_Mesh_Info");
209 return;
210 }
211
212
213
214 } // end of namespace

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26