Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120495291
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, Jul 4, 19:20
Size
433 B
Mime Type
text/x-c
Expires
Sun, Jul 6, 19:20 (2 d)
Engine
blob
Format
Raw Data
Handle
27197260
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