Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81031366
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 3, 21:19
Size
362 B
Mime Type
text/x-c
Expires
Thu, Sep 5, 21:19 (2 d)
Engine
blob
Format
Raw Data
Handle
20405255
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