Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82317509
many2one.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 10, 18:01
Size
362 B
Mime Type
text/x-c
Expires
Thu, Sep 12, 18:01 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20603347
Attached To
rLAMMPS lammps
many2one.h
View Options
#ifndef MANY2ONE_H
#define MANY2ONE_H
#include "mpi.h"
class
Many2One
{
public:
Many2One
(
MPI_Comm
);
~
Many2One
();
void
setup
(
int
,
int
*
,
int
);
void
gather
(
double
*
,
int
,
double
*
);
protected:
int
me
,
nprocs
;
MPI_Comm
comm
;
class
Memory
*
memory
;
int
nsrc
,
nall
;
int
*
counts
,
*
multicounts
;
int
*
displs
,
*
multidispls
;
int
*
idall
;
};
#endif
Event Timeline
Log In to Comment