FNFT
Loading...
Searching...
No Matches
fnft__manakovv_testcases.h
Go to the documentation of this file.
1/*
2* This file is part of FNFT.
3*
4* FNFT is free software; you can redistribute it and/or
5* modify it under the terms of the version 2 of the GNU General
6* Public License as published by the Free Software Foundation.
7*
8* FNFT is distributed in the hope that it will be useful,
9* but WITHOUT ANY WARRANTY; without even the implied warranty of
10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11* GNU General Public License for more details.
12*
13* You should have received a copy of the GNU General Public License
14* along with this program. If not, see <http://www.gnu.org/licenses/>.
15*
16* Contributors:
17* Lianne de Vries (TU Delft student) 2021.
18*/
19
27#ifndef FNFT__MANAKOVV_TESTCASES_H
28#define FNFT__MANAKOVV_TESTCASES_H
29
30#include "fnft_manakovv.h" // for fnft_manakovv_opts_t
31
41typedef enum {
42 fnft__manakovv_testcases_SECH_FOCUSING,
43 fnft__manakovv_testcases_SECH_DEFOCUSING,
44 fnft__manakovv_testcases_RECTANGLE_FOCUSING
46
63 const FNFT_REAL eb[5], fnft_manakovv_opts_t * const opts);
64
65#ifdef FNFT_ENABLE_SHORT_NAMES
66#define manakovv_testcases_t fnft__manakovv_testcases_t
67#define manakovv_testcases_SECH_FOCUSING fnft__manakovv_testcases_SECH_FOCUSING
68#define manakovv_testcases_SECH_DEFOCUSING fnft__manakovv_testcases_SECH_DEFOCUSING
69#define manakovv_testcases_RECTANGLE_FOCUSING fnft__manakovv_testcases_RECTANGLE_FOCUSING
70#define manakovv_testcases(...) fnft__manakovv_testcases(__VA_ARGS__)
71#define manakovv_testcases_test_fnft(...) fnft__manakovv_testcases_test_fnft(__VA_ARGS__)
72#endif
73
74#endif
FNFT_INT fnft__manakovv_testcases_test_fnft(fnft__manakovv_testcases_t tc, FNFT_UINT D, const FNFT_REAL eb[5], fnft_manakovv_opts_t *const opts)
Routine to run tests for fnft_manakovv. .
fnft__manakovv_testcases_t
Definition fnft__manakovv_testcases.h:41
Fast nonlinear Fourier transform for the vanishing Manakov equation.
size_t FNFT_UINT
Definition fnft_numtypes.h:62
int32_t FNFT_INT
Definition fnft_numtypes.h:56
double FNFT_REAL
Definition fnft_numtypes.h:40
Stores additional options for the routine fnft_manakovv.
Definition fnft_manakovv.h:170