Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91271985
send2one.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
Sat, Nov 9, 13:26
Size
433 B
Mime Type
text/x-c
Expires
Mon, Nov 11, 13:26 (2 d)
Engine
blob
Format
Raw Data
Handle
22231570
Attached To
rLAMMPS lammps
send2one.h
View Options
#ifndef SEND2ONE_H
#define SEND2ONE_H
#include "mpi.h"
class
Send2One
{
public:
Send2One
(
MPI_Comm
);
virtual
~
Send2One
();
void
execute
();
protected:
int
me
,
nprocs
;
MPI_Comm
comm
;
class
Memory
*
memory
;
class
Error
*
error
;
int
maxbuf
;
char
*
buf
;
virtual
void
pre
()
=
0
;
virtual
int
size
()
=
0
;
virtual
void
pack
(
char
*
)
=
0
;
virtual
void
process
(
int
,
char
*
)
=
0
;
virtual
void
post
()
=
0
;
};
#endif
Event Timeline
Log In to Comment