KerMor
0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "mex.h"
Go to the source code of this file.
Classes | |
struct | MD5_CTX |
Macros | |
#define | mwSize int |
#define | mwIndex int |
#define | S11 7 |
#define | S12 12 |
#define | S13 17 |
#define | S14 22 |
#define | S21 5 |
#define | S22 9 |
#define | S23 14 |
#define | S24 20 |
#define | S31 4 |
#define | S32 11 |
#define | S33 16 |
#define | S34 23 |
#define | S41 6 |
#define | S42 10 |
#define | S43 15 |
#define | S44 21 |
#define | F(x, y, z) (((x) & (y)) | ((~x) & (z))) |
#define | G(x, y, z) (((x) & (z)) | ((y) & (~z))) |
#define | H(x, y, z) ((x) ^ (y) ^ (z)) |
#define | I(x, y, z) ((y) ^ ((x) | (~z))) |
#define | ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) |
#define | FF(a, b, c, d, x, s, ac) |
#define | GG(a, b, c, d, x, s, ac) |
#define | HH(a, b, c, d, x, s, ac) |
#define | II(a, b, c, d, x, s, ac) |
#define | BUFFER_LEN 1024 |
Typedefs | |
typedef unsigned char | UCHAR |
typedef unsigned int | UINT |
typedef unsigned char * | POINTER |
typedef UINT32_T | UINT32 |
Functions | |
void | MD5Init (MD5_CTX *) |
void | MD5Update (MD5_CTX *, UCHAR *, UINT) |
void | MD5Final (UCHAR[16], MD5_CTX *) |
void | MD5Transform (UINT32[4], UCHAR[64]) |
void | MD5Encode (UCHAR *, UINT32 *, UINT) |
void | MD5Array (UCHAR *data, mwSize N, UCHAR digest[16]) |
void | MD5File (char *FileName, UCHAR digest[16]) |
void | MD5Char (mxChar *data, mwSize N, UCHAR digest[16]) |
void | ToHex (const UCHAR In[16], char *Out, int LowerCase) |
void | ToBase64 (const UCHAR In[16], char *Out) |
void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
Variables | |
static UCHAR | PADDING [64] |
static UCHAR | buffer [BUFFER_LEN] |
#define BUFFER_LEN 1024 |
#define F | ( | x, | |
y, | |||
z | |||
) | (((x) & (y)) | ((~x) & (z))) |
Definition at line 168 of file CalcMD5.c.
Referenced by models.beam.DynLinTimoshenkoSystem.buildElementDependentComponents(), models.beam.CurvedBeam.getLocalTangentials(), models.beam.StraightBeam.getLocalTangentials(), testing.LocalLipGradientEstPlay(), general.DEIM.updateOrderData(), and models.muscle.MusclePlotter.updatePlotData().
#define FF | ( | a, | |
b, | |||
c, | |||
d, | |||
x, | |||
s, | |||
ac | |||
) |
#define G | ( | x, | |
y, | |||
z | |||
) | (((x) & (z)) | ((y) & (~z))) |
Definition at line 169 of file CalcMD5.c.
Referenced by error.TPWLLocalLipEstimator.prepareForReducedModel(), and error.DEIMEstimator.prepareForReducedModel().
#define GG | ( | a, | |
b, | |||
c, | |||
d, | |||
x, | |||
s, | |||
ac | |||
) |
#define HH | ( | a, | |
b, | |||
c, | |||
d, | |||
x, | |||
s, | |||
ac | |||
) |
#define I | ( | x, | |
y, | |||
z | |||
) | ((y) ^ ((x) | (~z))) |
Definition at line 171 of file CalcMD5.c.
Referenced by models.muscle.System.assembleDampingMatrix(), models.muscle.System.assembleMassMatrix(), dscomponents.ACompEvalCoreFun.evaluateComponentGradientsAt(), dscomponents.ACompEvalCoreFun.evaluateComponentPartialDerivatives(), dscomponents.ACompEvalCoreFun.evaluateComponentPartialDerivativesMulti(), models.ReducedSecondOrderSystem.getJacobian(), and models.BaseSecondOrderSystem.updateSparsityPattern().
#define II | ( | a, | |
b, | |||
c, | |||
d, | |||
x, | |||
s, | |||
ac | |||
) |
#define ROTATE_LEFT | ( | x, | |
n | |||
) | (((x) << (n)) | ((x) >> (32 - (n)))) |
#define S11 7 |
Definition at line 145 of file CalcMD5.c.
Referenced by MD5Transform().
#define S12 12 |
Definition at line 146 of file CalcMD5.c.
Referenced by MD5Transform().
#define S13 17 |
Definition at line 147 of file CalcMD5.c.
Referenced by MD5Transform().
#define S14 22 |
Definition at line 148 of file CalcMD5.c.
Referenced by MD5Transform().
#define S21 5 |
Definition at line 149 of file CalcMD5.c.
Referenced by MD5Transform().
#define S22 9 |
Definition at line 150 of file CalcMD5.c.
Referenced by MD5Transform().
#define S23 14 |
Definition at line 151 of file CalcMD5.c.
Referenced by MD5Transform().
#define S24 20 |
Definition at line 152 of file CalcMD5.c.
Referenced by MD5Transform().
#define S31 4 |
Definition at line 153 of file CalcMD5.c.
Referenced by MD5Transform().
#define S32 11 |
Definition at line 154 of file CalcMD5.c.
Referenced by MD5Transform().
#define S33 16 |
Definition at line 155 of file CalcMD5.c.
Referenced by MD5Transform().
#define S34 23 |
Definition at line 156 of file CalcMD5.c.
Referenced by MD5Transform().
#define S41 6 |
Definition at line 157 of file CalcMD5.c.
Referenced by MD5Transform().
#define S42 10 |
Definition at line 158 of file CalcMD5.c.
Referenced by MD5Transform().
#define S43 15 |
Definition at line 159 of file CalcMD5.c.
Referenced by MD5Transform().
#define S44 21 |
Definition at line 160 of file CalcMD5.c.
Referenced by MD5Transform().
Definition at line 461 of file CalcMD5.c.
References MD5Final(), MD5Init(), and MD5Update().
Referenced by mexFunction().
Definition at line 410 of file CalcMD5.c.
References buffer, BUFFER_LEN, MD5Final(), MD5Init(), and MD5Update().
Referenced by mexFunction().
Definition at line 397 of file CalcMD5.c.
Referenced by MD5Final().
Definition at line 477 of file CalcMD5.c.
References buffer, BUFFER_LEN, MD5Final(), MD5Init(), and MD5Update().
Referenced by mexFunction().
Definition at line 244 of file CalcMD5.c.
References MD5_CTX.count, MD5Encode(), MD5Update(), PADDING, and MD5_CTX.state.
Referenced by MD5Array(), MD5Char(), and MD5File().
void MD5Init | ( | MD5_CTX * | context | ) |
Definition at line 192 of file CalcMD5.c.
References MD5_CTX.count, and MD5_CTX.state.
Referenced by MD5Array(), MD5Char(), and MD5File().
Definition at line 205 of file CalcMD5.c.
References MD5_CTX.buffer, MD5_CTX.count, MD5Transform(), and MD5_CTX.state.
Referenced by MD5Array(), MD5Char(), MD5File(), and MD5Final().
void mexFunction | ( | int | nlhs, |
mxArray * | plhs[], | ||
int | nrhs, | ||
const mxArray * | prhs[] | ||
) |
Definition at line 556 of file CalcMD5.c.
References MD5Array(), MD5Char(), MD5File(), ToBase64(), and ToHex().
Definition at line 526 of file CalcMD5.c.
Referenced by mexFunction().
Definition at line 508 of file CalcMD5.c.
Referenced by mexFunction().
|
static |
|
static |
Definition at line 162 of file CalcMD5.c.
Referenced by MD5Final().