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. |