Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90994714
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
Wed, Nov 6, 18:17
Size
433 B
Mime Type
text/x-c
Expires
Fri, Nov 8, 18:17 (2 d)
Engine
blob
Format
Raw Data
Handle
22172844
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