/[escript]/branches/trilinos_from_5897/escriptcore/src/AbstractContinuousDomain.cpp
ViewVC logotype

Contents of /branches/trilinos_from_5897/escriptcore/src/AbstractContinuousDomain.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5963 - (show annotations)
Mon Feb 22 06:59:27 2016 UTC (3 years, 3 months ago) by caltinay
File size: 6848 byte(s)
sync and fix.

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26