~ubuntu-branches/ubuntu/raring/rheolef/raring-proposed

« back to all changes in this revision

Viewing changes to skit/plib2/mpi_scatter_init.h

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito
  • Date: 2012-04-06 09:12:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120406091221-m58me99p1nxqui49
Tags: 6.0-1
* New upstream release 6.0 (major changes):
  - massively distributed and parallel support
  - full FEM characteristic method (Lagrange-Gakerkin method) support
  - enhanced users documentation 
  - source code supports g++-4.7 (closes: #667356)
* debian/control: dependencies for MPI distributed solvers added
* debian/rules: build commands simplified
* debian/librheolef-dev.install: man1/* to man9/* added
* debian/changelog: package description rewritted (closes: #661689)

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
        receive_data.begin(),
234
234
        receive_max_size,
235
235
        istart,
236
 
        to.procs.begin(),
237
 
        to.starts.begin(),
238
 
        to.indices.begin());
 
236
        to.procs().begin(),
 
237
        to.starts().begin(),
 
238
        to.indices().begin());
239
239
    // ---------------------------------------------------------------------------
240
240
    // 12) allocate the entire receive(from) scatter context
241
241
    // ---------------------------------------------------------------------------
247
247
    msg_from_context_pattern (
248
248
        msg_size.begin(),
249
249
        msg_size.end(),
250
 
        from.procs.begin(),
251
 
        from.starts.begin(),
 
250
        from.procs().begin(),
 
251
        from.starts().begin(),
252
252
        proc2from_proc.begin());
253
253
    // ---------------------------------------------------------------------------
254
254
    // 14) Computes the receive compresed message indices for receive(from)
255
255
    // ---------------------------------------------------------------------------
256
256
    // assume that indices are sorted by increasing order
257
257
    std::vector<size_type> start(send_nproc+1);
258
 
    copy (from.starts.begin(), from.starts.end(), start.begin());
 
258
    copy (from.starts().begin(), from.starts().end(), start.begin());
259
259
    msg_from_context_indices (
260
260
        owner.begin(),
261
261
        owner.end(),
264
264
        my_proc,
265
265
        idy_maxval,
266
266
        start.begin(),
267
 
        from.indices.begin());
 
267
        from.indices().begin());
268
268
    // ---------------------------------------------------------------------------
269
269
    // 15) wait on sends
270
270
    // ---------------------------------------------------------------------------