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

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

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

revision 2383 by jfenwick, Mon Feb 16 05:08:29 2009 UTC revision 2384 by jfenwick, Wed Apr 15 00:17:20 2009 UTC
# Line 171  ESCRIPT_DLL_API double* getSampleDataRWF Line 171  ESCRIPT_DLL_API double* getSampleDataRWF
171    
172    
173  /**  /**
174       \brief
175       Return getSampleDataRWFast(escriptDataC* data, 0) if there are samples.
176       if not, returns NULL.
177       \warning This function calls requireWrite if there are samples so do not use in parallel sections.
178       \warning Please do not use this in new code.
179      \param data Input - C wrapper for Data.
180    */
181    ESCRIPT_DLL_API double* getDataRW(escriptDataC* data);
182    
183    
184    /**
185     \brief Create a buffer for use by getSample     \brief Create a buffer for use by getSample
186     Allocates a DataVector large enough for DataLazy::resolveSample to operate on for the current Data.     Allocates a DataVector large enough for DataLazy::resolveSample to operate on for the current Data.
187     Do not use this buffer for other DataC instances (unless you are sure they will be the same size).     Do not use this buffer for other DataC instances (unless you are sure they will be the same size).

Legend:
Removed from v.2383  
changed lines
  Added in v.2384

  ViewVC Help
Powered by ViewVC 1.1.26