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

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

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

revision 783 by gross, Tue Jul 18 01:32:50 2006 UTC revision 1137 by gross, Thu May 10 08:11:31 2007 UTC
# Line 69  std::string Line 69  std::string
69  FunctionSpace::toString() const  FunctionSpace::toString() const
70  {  {
71    std::stringstream temp;    std::stringstream temp;
72    temp << "Function space type: "    temp << m_domain->functionSpaceTypeAsString(m_functionSpaceType) << " on " << m_domain->getDescription();
        << m_domain->functionSpaceTypeAsString(m_functionSpaceType)  
        << " on " << m_domain->getDescription();  
73    return temp.str();    return temp.str();
74  }  }
75    
76    const
77    boost::python::str
78    FunctionSpace::str() const
79    {
80      return boost::python::str(toString().c_str());
81    }
82    
83    
84  int  int
85  FunctionSpace::getTagFromSampleNo(int sampleNo) const  FunctionSpace::getTagFromSampleNo(int sampleNo) const
86  {  {
# Line 111  FunctionSpace::getTagFromDataPointNo(int Line 117  FunctionSpace::getTagFromDataPointNo(int
117    return(tagNo);    return(tagNo);
118  }  }
119    
120  int  int*
121  FunctionSpace::getReferenceNoFromSampleNo(int sampleNo) const  FunctionSpace::borrowSampleReferenceIDs() const
122  {  {
123    return m_domain->getReferenceNoFromSampleNo(m_functionSpaceType,sampleNo);    return m_domain->borrowSampleReferenceIDs(m_functionSpaceType);
124  }  }
125    
126  FunctionSpace&  FunctionSpace&

Legend:
Removed from v.783  
changed lines
  Added in v.1137

  ViewVC Help
Powered by ViewVC 1.1.26