/[escript]/branches/windows_from_1383_trunk/escript/src/FunctionSpace.cpp
ViewVC logotype

Diff of /branches/windows_from_1383_trunk/escript/src/FunctionSpace.cpp

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

revision 120 by jgs, Fri Apr 1 05:48:57 2005 UTC revision 121 by jgs, Fri May 6 04:26:16 2005 UTC
# Line 23  Line 23 
23  #include <iostream>  #include <iostream>
24  #include <sstream>  #include <sstream>
25    
26    using namespace std;
27  namespace escript {  namespace escript {
28    
29  //  //
# Line 70  FunctionSpace::getDomain() const Line 71  FunctionSpace::getDomain() const
71  std::string  std::string
72  FunctionSpace::toString() const  FunctionSpace::toString() const
73  {  {
74    cout << "toString" << m_domain->getDescription() << "\n";
75    std::stringstream temp;    std::stringstream temp;
76    temp << "Function space type: "    temp << "Function space type: "
77         << m_domain->functionSpaceTypeAsString(m_functionSpaceType)         << m_domain->functionSpaceTypeAsString(m_functionSpaceType)
# Line 103  FunctionSpace::operator=(const FunctionS Line 105  FunctionSpace::operator=(const FunctionS
105  bool  bool
106  FunctionSpace::operator==(const FunctionSpace& other) const  FunctionSpace::operator==(const FunctionSpace& other) const
107  {  {
108    return (other.m_domain==m_domain && other.m_functionSpaceType==m_functionSpaceType);    return ((*(other.m_domain)==*(m_domain)) && (other.m_functionSpaceType==m_functionSpaceType));
109  }  }
110    
111  bool  bool
112  FunctionSpace::operator!=(const FunctionSpace& other) const  FunctionSpace::operator!=(const FunctionSpace& other) const
113  {  {
114    return (!(other==*this));    return !(operator==(other));
115  }  }
116    
117  escript::Data  escript::Data

Legend:
Removed from v.120  
changed lines
  Added in v.121

  ViewVC Help
Powered by ViewVC 1.1.26