hydrocode_Radial_Lag 0.3
This is an implementation of fully explict forward Euler scheme for multi-D radially symmetric compressible flows on Lagrangian coordinate
全部 结构体 文件 函数 变量 类型定义 枚举值 宏定义 
mem.c 文件参考

This file is the source codes in the book 'C Interfaces and Implementations'. 更多...

#include <stdlib.h>
#include <stddef.h>
#include <assert.h>
#include "../include_cii/except.h"
#include "../include_cii/mem.h"
mem.c 的引用(Include)关系图:

浏览源代码.

函数

void * Mem_alloc (long nbytes, const char *file, int line)
 
void * Mem_calloc (long count, long nbytes, const char *file, int line)
 
void Mem_free (void *ptr, const char *file, int line)
 
void * Mem_resize (void *ptr, long nbytes, const char *file, int line)
 

变量

const Except_T Mem_Failed = { (char*)"Allocation Failed" }
 

详细描述

This file is the source codes in the book 'C Interfaces and Implementations'.

在文件 mem.c 中定义.

函数说明

◆ Mem_alloc()

void * Mem_alloc ( long  nbytes,
const char *  file,
int  line 
)

在文件 mem.c12 行定义.

函数调用图:

◆ Mem_calloc()

void * Mem_calloc ( long  count,
long  nbytes,
const char *  file,
int  line 
)

在文件 mem.c25 行定义.

函数调用图:

◆ Mem_free()

void Mem_free ( void *  ptr,
const char *  file,
int  line 
)

在文件 mem.c40 行定义.

◆ Mem_resize()

void * Mem_resize ( void *  ptr,
long  nbytes,
const char *  file,
int  line 
)

在文件 mem.c44 行定义.

函数调用图:

变量说明

◆ Mem_Failed

const Except_T Mem_Failed = { (char*)"Allocation Failed" }

在文件 mem.c11 行定义.