Changes between Version 17 and Version 18 of C++ API

Show
Ignore:
Timestamp:
09/12/13 12:06:33 (11 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • C++ API

    v17 v18  
    146146 
    147147}}} 
    148 {{{init}}}, {{{finalize}}}, {{{will_stop}}}, {{{send}}}, {{{receive}}}, {{{get_property}}}, and {{{kernel_name}}} behave exactly as their C counterparts. Since scientific data is often vectors of doubles, there are two new convenience functions to send or receive only double vectors. Vectors are safer than arrays memory-wise and they do range-checking. If other vector methods are of interest to you, send us [[mailto:j.borgdorff@uva.nl|an email]]. Except for vectors, the data that is received must be freed by MUSCLE by calling {{{free_data}}} with the received pointer and the datatype of the received pointer. 
     148{{{init}}}, {{{finalize}}}, {{{will_stop}}}, {{{send}}}, {{{receive}}}, {{{get_property}}}, {{{kernel_name}}}, `barrier_init`, `barrier`, and `barrier_destroy` behave exactly as their C counterparts. Since scientific data is often vectors of doubles, there are two new convenience functions to send or receive only double vectors. Vectors are safer than arrays memory-wise and they do range-checking. If other vector methods are of interest to you, send us [[mailto:j.borgdorff@uva.nl|an email]]. Except for vectors, the data that is received must be freed by MUSCLE by calling {{{free_data}}} with the received pointer and the datatype of the received pointer. 
    149149 
    150150=== Complex data ===