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