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

Diff of /trunk/escript/src/AbstractDomain.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 110 by jgs, Mon Feb 14 04:14:42 2005 UTC revision 115 by jgs, Fri Mar 4 07:12:47 2005 UTC
# Line 28  AbstractDomain::~AbstractDomain() { Line 28  AbstractDomain::~AbstractDomain() {
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
# Line 120  escript::Data AbstractDomain::getNormal( Line 119  escript::Data AbstractDomain::getNormal(
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");
# Line 136  void AbstractDomain::setToNormal(escript Line 137  void AbstractDomain::setToNormal(escript
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");
# Line 188  bool AbstractDomain::operator!=(const Ab Line 190  bool AbstractDomain::operator!=(const Ab
190    return (!operator==(other));    return (!operator==(other));
191  }  }
192    
193  }  // end of namespace  } // end of namespace

Legend:
Removed from v.110  
changed lines
  Added in v.115

  ViewVC Help
Powered by ViewVC 1.1.26