Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78542188
memory.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, Aug 21, 12:42
Size
437 B
Mime Type
text/x-c
Expires
Fri, Aug 23, 12:42 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
20062088
Attached To
rLAMMPS lammps
memory.h
View Options
#ifndef MEMORY_H
#define MEMORY_H
#include "mpi.h"
class Memory {
public:
Memory(MPI_Comm);
~Memory();
void *smalloc(int n, const char *);
void sfree(void *);
void *srealloc(void *, int n, const char *name);
double **create_2d_double_array(int, int, const char *);
double **grow_2d_double_array(double **, int, int, const char *);
void destroy_2d_double_array(double **);
private:
class Error *error;
};
#endif
Event Timeline
Log In to Comment