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