/[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 1628 by phornby, Fri Jul 11 13:12:46 2008 UTC revision 1716 by gross, Thu Aug 21 05:03:49 2008 UTC
# Line 193  FunctionSpace::setTags(const int newTag, Line 193  FunctionSpace::setTags(const int newTag,
193     }     }
194  }  }
195    
196    int
197    FunctionSpace::getNumberOfTagsInUse() const
198    {
199       return  m_domain->getNumberOfTagsInUse(m_functionSpaceType);
200    }
201    
202    int*
203    FunctionSpace::borrowListOfTagsInUse() const
204    {
205       return  m_domain->borrowListOfTagsInUse(m_functionSpaceType);
206    }
207    
208    
209    
210    boost::python::list
211    FunctionSpace::getListOfTags() const
212    {
213      boost::python::list taglist;
214      int i;
215      int* tags=borrowListOfTagsInUse();
216      for (i=0;i<getNumberOfTagsInUse();++i) taglist.append(tags[i]);
217      return taglist;
218    }
219    
220  }  // end of namespace  }  // end of namespace

Legend:
Removed from v.1628  
changed lines
  Added in v.1716

  ViewVC Help
Powered by ViewVC 1.1.26