28 |
|
|
29 |
void AbstractDomain::throwStandardException(const std::string& functionName) const |
void AbstractDomain::throwStandardException(const std::string& functionName) const |
30 |
{ |
{ |
31 |
throw DomainException("Error - Base class function: " + |
throw DomainException("Error - Base class function: " + functionName + " should not be called. Programming error."); |
|
functionName + " should not be called. Programming error."); |
|
32 |
} |
} |
33 |
|
|
34 |
bool AbstractDomain::isValidFunctionSpaceType(int functionSpaceType) const |
bool AbstractDomain::isValidFunctionSpaceType(int functionSpaceType) const |
67 |
return; |
return; |
68 |
} |
} |
69 |
|
|
70 |
|
void AbstractDomain::getReferenceNoList(int functionSpaceType, int** referenceNoList, int* numReferenceNo) const |
71 |
|
{ |
72 |
|
throwStandardException("AbstractDomain::getTagList"); |
73 |
|
return; |
74 |
|
} |
75 |
|
|
76 |
std::pair<int,int> AbstractDomain::getDataShape(int functionSpaceCode) const |
std::pair<int,int> AbstractDomain::getDataShape(int functionSpaceCode) const |
77 |
{ |
{ |
78 |
throwStandardException("AbstractDomain::getDataShape"); |
throwStandardException("AbstractDomain::getDataShape"); |
85 |
return 0; |
return 0; |
86 |
} |
} |
87 |
|
|
88 |
|
int AbstractDomain::getReferenceNoFromSampleNo(int functionSpaceType, int sampleNo) const |
89 |
|
{ |
90 |
|
throwStandardException("AbstractDomain::getReferenceNoFromSampleNo"); |
91 |
|
return 0; |
92 |
|
} |
93 |
|
|
94 |
void AbstractDomain::setNewX(const escript::Data& arg) |
void AbstractDomain::setNewX(const escript::Data& arg) |
95 |
{ |
{ |
96 |
throwStandardException("AbstractDomain::setNewX"); |
throwStandardException("AbstractDomain::setNewX"); |
119 |
throwStandardException("AbstractDomain::getNormal"); |
throwStandardException("AbstractDomain::getNormal"); |
120 |
return Data(); |
return Data(); |
121 |
} |
} |
122 |
|
|
123 |
escript::Data AbstractDomain::getSize() const |
escript::Data AbstractDomain::getSize() const |
124 |
{ |
{ |
125 |
throwStandardException("AbstractDomain::getSize"); |
throwStandardException("AbstractDomain::getSize"); |
126 |
return Data(); |
return Data(); |
127 |
} |
} |
128 |
|
|
129 |
void AbstractDomain::setToX(escript::Data& out) const |
void AbstractDomain::setToX(escript::Data& out) const |
130 |
{ |
{ |
131 |
throwStandardException("AbstractDomain::setToX"); |
throwStandardException("AbstractDomain::setToX"); |
137 |
throwStandardException("AbstractDomain::setToNormal"); |
throwStandardException("AbstractDomain::setToNormal"); |
138 |
return; |
return; |
139 |
} |
} |
140 |
|
|
141 |
void AbstractDomain::setToSize(escript::Data& out) const |
void AbstractDomain::setToSize(escript::Data& out) const |
142 |
{ |
{ |
143 |
throwStandardException("AbstractDomain::setToSize"); |
throwStandardException("AbstractDomain::setToSize"); |
156 |
return; |
return; |
157 |
} |
} |
158 |
|
|
159 |
|
void AbstractDomain::saveVTK(const std::string& filename,const escript::Data& arg) const |
160 |
|
{ |
161 |
|
throwStandardException("AbstractDomain::saveVTK"); |
162 |
|
return; |
163 |
|
} |
164 |
|
|
165 |
bool AbstractDomain::probeInterpolationOnDomain(int functionSpaceType_source,int functionSpaceType_target) const |
bool AbstractDomain::probeInterpolationOnDomain(int functionSpaceType_source,int functionSpaceType_target) const |
166 |
{ |
{ |
167 |
throwStandardException("AbstractDomain::probeInterpolationOnDomain"); |
throwStandardException("AbstractDomain::probeInterpolationOnDomain"); |
190 |
return (!operator==(other)); |
return (!operator==(other)); |
191 |
} |
} |
192 |
|
|
193 |
} // end of namespace |
} // end of namespace |