ergo
memorymanag.h File Reference

Memory allocation/deallocation routines. More...

#include <memory.h>

Go to the source code of this file.

Macros

#define ergo_new(cnt, type)
 

Functions

void * ergo_malloc (size_t size)
 
void ergo_free (void *p)
 
void report_memory_status (void)
 

Detailed Description

Memory allocation/deallocation routines.

Author
: Elias Rudberg responsible

Macro Definition Documentation

◆ ergo_new

#define ergo_new ( cnt,
type )
Value:
((type*)ergo_malloc((cnt)*sizeof(type)))
void * ergo_malloc(size_t noOfBytes)
Definition memorymanag.cc:49

Referenced by compute_T_matrix_full(), compute_T_matrix_sparse_linear(), ddf_load_density(), load_density_and_project_full(), main(), test_mol(), test_small(), test_small(), test_small(), and variable_new().

Function Documentation

◆ ergo_free()

◆ ergo_malloc()

◆ report_memory_status()

void report_memory_status ( void )