Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90398249
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
Fri, Nov 1, 07:59
Size
362 B
Mime Type
text/x-c
Expires
Sun, Nov 3, 07:59 (2 d)
Engine
blob
Format
Raw Data
Handle
22065076
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