/[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 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC
# Line 1  Line 1 
1    
2  /* $Id$ */  /* $Id$ */
3  /*  
4   ************************************************************  /*******************************************************
5   *          Copyright 2006 by ACcESS MNRF                   *   *
6   *                                                          *   *           Copyright 2003-2007 by ACceSS MNRF
7   *              http://www.access.edu.au                    *   *       Copyright 2007 by University of Queensland
8   *       Primary Business: Queensland, Australia            *   *
9   *  Licensed under the Open Software License version 3.0    *   *                http://esscc.uq.edu.au
10   *     http://www.opensource.org/licenses/osl-3.0.php       *   *        Primary Business: Queensland, Australia
11   *                                                          *   *  Licensed under the Open Software License version 3.0
12   ************************************************************   *     http://www.opensource.org/licenses/osl-3.0.php
13  */   *
14     *******************************************************/
15    
16  #include "FunctionSpace.h"  #include "FunctionSpace.h"
17  #include "FunctionSpaceException.h"  #include "FunctionSpaceException.h"
# Line 69  std::string Line 71  std::string
71  FunctionSpace::toString() const  FunctionSpace::toString() const
72  {  {
73    std::stringstream temp;    std::stringstream temp;
74    temp << "Function space type: "    temp << m_domain->functionSpaceTypeAsString(m_functionSpaceType)
        << m_domain->functionSpaceTypeAsString(m_functionSpaceType)  
75         << " on " << m_domain->getDescription();         << " on " << m_domain->getDescription();
76    return temp.str();    return temp.str();
77  }  }
# Line 111  FunctionSpace::getTagFromDataPointNo(int Line 112  FunctionSpace::getTagFromDataPointNo(int
112    return(tagNo);    return(tagNo);
113  }  }
114    
115  int  int*
116  FunctionSpace::getReferenceNoFromSampleNo(int sampleNo) const  FunctionSpace::borrowSampleReferenceIDs() const
117  {  {
118    return m_domain->getReferenceNoFromSampleNo(m_functionSpaceType,sampleNo);    return m_domain->borrowSampleReferenceIDs(m_functionSpaceType);
119  }  }
120    
121  FunctionSpace&  FunctionSpace&

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

  ViewVC Help
Powered by ViewVC 1.1.26