Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92048822
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
Sat, Nov 16, 22:27
Size
437 B
Mime Type
text/x-c
Expires
Mon, Nov 18, 22:27 (2 d)
Engine
blob
Format
Raw Data
Handle
22367306
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