#include <cstdlib>
#include <cerrno>
#include <cstdio>
#include <cstring>
#include "LincsSolver.h"
#include <cmath>
Go to the source code of this file.
|
static void * | Malloc (size_t size) |
|
static void * | Realloc (void *src, size_t size) |
|
static void * | Calloc (size_t size, size_t elem) |
|
static int | intPairCmp (const void *a1, const void *a2) |
|
static int | intCmp (const void *a1, const void *a2) |
|
static void | swapInt (int *v, int a, int b) |
|
static void | swapBigReal (BigReal *v, int a, int b) |
|
static void | swapVector3 (BigReal *v, int a, int b) |
|
◆ BUFFSIZE
◆ atomData
◆ constraintTuple
◆ Calloc()
static void* Calloc |
( |
size_t |
size, |
|
|
size_t |
elem |
|
) |
| |
|
static |
Definition at line 61 of file LincsSolver.C.
References NAMD_die().
63 void* ptr = calloc(size, elem);
66 perror(
"calloc error");
void NAMD_die(const char *err_msg)
◆ intCmp()
static int intCmp |
( |
const void * |
a1, |
|
|
const void * |
a2 |
|
) |
| |
|
static |
◆ intPairCmp()
static int intPairCmp |
( |
const void * |
a1, |
|
|
const void * |
a2 |
|
) |
| |
|
static |
◆ Malloc()
static void* Malloc |
( |
size_t |
size | ) |
|
|
static |
◆ Realloc()
static void* Realloc |
( |
void * |
src, |
|
|
size_t |
size |
|
) |
| |
|
static |
Definition at line 48 of file LincsSolver.C.
References Malloc(), and NAMD_die().
52 void* ptr = realloc(src, size);
55 perror(
"realloc error");
void NAMD_die(const char *err_msg)
static void * Malloc(size_t size)
◆ swapBigReal()
static void swapBigReal |
( |
BigReal * |
v, |
|
|
int |
a, |
|
|
int |
b |
|
) |
| |
|
static |
◆ swapInt()
static void swapInt |
( |
int * |
v, |
|
|
int |
a, |
|
|
int |
b |
|
) |
| |
|
static |
◆ swapVector3()
static void swapVector3 |
( |
BigReal * |
v, |
|
|
int |
a, |
|
|
int |
b |
|
) |
| |
|
static |