mirror of
https://github.com/LCPQ/DEHam
synced 2024-06-27 23:52:14 +02:00
3278aabfeb
Many new features added: 1. getting S2 values 2. possibility of setting position of hole 3. possibility of setting Sbox 4. three Sbox definitions at once 5. Doing only FAM1 or the full set of states 6. efficiency improvements
51 lines
1.2 KiB
C
51 lines
1.2 KiB
C
#include <stdio.h>
|
|
#include <slepceps.h>
|
|
#include <stdlib.h>
|
|
#include <ctype.h>
|
|
#include <string.h>
|
|
|
|
void get_s2(Vec, PetscInt *, PetscInt *, PetscScalar *, int *, PetscReal *, PetscReal *,PetscReal *, PetscReal *, PetscReal *, PetscReal *, PetscReal *, PetscReal *, PetscReal *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *);
|
|
|
|
void get_s2_mov(Vec, PetscInt *, PetscInt *, PetscScalar *, int *, PetscReal *, PetscReal *,PetscReal *, PetscReal *, PetscReal *, PetscReal *, PetscReal *, PetscReal *, PetscReal *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *);
|
|
|
|
void get_s2_cyclic(Vec, PetscInt *, PetscInt *, PetscScalar *, int *, PetscReal *, PetscReal *,PetscReal *, PetscReal *, PetscReal *, PetscReal *, PetscReal *, PetscReal *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *,
|
|
int *);
|