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

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

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

revision 767 by gross, Fri Jun 30 07:29:08 2006 UTC revision 964 by gross, Tue Feb 13 05:10:26 2007 UTC
# Line 146  class ESCRIPT_DLL_API FunctionSpace { Line 146  class ESCRIPT_DLL_API FunctionSpace {
146    /**    /**
147     \brief     \brief
148     Return the reference number associated with the given sample number.     Return the reference number associated with the given sample number.
149       This function is not efficient. It is better to first call
150       borrowSampleReferenceIDs and then when iterating over sampleNo to use sampleNo as an offset.
151    */    */
152      inline
153    int    int
154    getReferenceNoFromSampleNo(int sampleNo) const;    getReferenceIDOfSample(int sampleNo) const
155      {
156          return borrowSampleReferenceIDs()[sampleNo];
157      }
158      /**
159       \brief
160       Return a borrowed reference to the list of sample reference IDs
161      */
162      int*
163      borrowSampleReferenceIDs() const;
164    
165    /**    /**
166     \brief     \brief

Legend:
Removed from v.767  
changed lines
  Added in v.964

  ViewVC Help
Powered by ViewVC 1.1.26