memory.c File Reference

Precision-independent memory-related routines. More...

`#include "slu_ddefs.h"`
Include dependency graph for memory.c:

## Functions

void * | superlu_malloc (size_t size)
void | superlu_free (void *addr)
void | SetIWork (int m, int n, int panel_size, int *iworkptr, int **segrep, int **parent, int **xplore, int **repfnz, int **panel_lsub, int **xprune, int **marker)
| Set up pointers for integer working arrays. More...
void | copy_mem_int (int howmany, void *old, void *new)
void | user_bcopy (char *src, char *dest, int bytes)
int * | intMalloc (int n)
int * | intCalloc (int n)

## Detailed Description

Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)

All rights reserved.

The source code is distributed under BSD license, see the file License.txt at the top-level directory.

    – SuperLU routine (version 2.0) –
    Univ. of California Berkeley, Xerox Palo Alto Research Center,
    and Lawrence Berkeley National Lab.
    November 15, 1997

## Function Documentation

void copy_mem_int | ( | int | howmany,
|  | void * | old,
|  | void * | new
| ) |  |

int* intCalloc | ( | int | n | ) |

int* intMalloc | ( | int | n | ) |

void SetIWork | ( | int | m,
|  | int | n,
|  | int | panel_size,
|  | int * | iworkptr,
|  | int ** | segrep,
|  | int ** | parent,
|  | int ** | xplore,
|  | int ** | repfnz,
|  | int ** | panel_lsub,
|  | int ** | xprune,
|  | int ** | marker
| ) |  |

Here is the call graph for this function:

void superlu_free | ( | void * | addr | ) |

void* superlu_malloc | ( | size_t | size | ) |

Precision-independent memory-related routines. (Shared by [sdcz]memory.c)

void user_bcopy | ( | char * | src,
|  | char * | dest,
|  | int | bytes
| ) |  |