FNFT
fnft__nsev_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 * Sander Wahls (TU Delft) 2017-2018.
18 */
19 
27 #ifndef FNFT__NSEV_TESTCASES_H
28 #define FNFT__NSEV_TESTCASES_H
29 
30 #include "fnft_nsev.h" // for fnft_nsev_opts_t
31 
32 
43 typedef enum {
44  fnft__nsev_testcases_SECH_FOCUSING,
45  fnft__nsev_testcases_SECH_DEFOCUSING,
46  fnft__nsev_testcases_TRUNCATED_SOLITON
48 
65  const FNFT_REAL eb[6], fnft_nsev_opts_t * const opts);
66 
67 #ifdef FNFT_ENABLE_SHORT_NAMES
68 #define nsev_testcases_t fnft__nsev_testcases_t
69 #define nsev_testcases_SECH_FOCUSING fnft__nsev_testcases_SECH_FOCUSING
70 #define nsev_testcases_SECH_DEFOCUSING fnft__nsev_testcases_SECH_DEFOCUSING
71 #define nsev_testcases_TRUNCATED_SOLITON fnft__nsev_testcases_TRUNCATED_SOLITON
72 #define nsev_testcases(...) fnft__nsev_testcases(__VA_ARGS__)
73 #define nsev_testcases_test_fnft(...) fnft__nsev_testcases_test_fnft(__VA_ARGS__)
74 #endif
75 
76 #endif
FNFT_INT
int32_t FNFT_INT
Definition: fnft_numtypes.h:56
FNFT_UINT
size_t FNFT_UINT
Definition: fnft_numtypes.h:62
fnft_nsev.h
Fast nonlinear Fourier transform for the vanishing nonlinear Schroedinger equation.
fnft__nsev_testcases_test_fnft
FNFT_INT fnft__nsev_testcases_test_fnft(fnft__nsev_testcases_t tc, FNFT_UINT D, const FNFT_REAL eb[6], fnft_nsev_opts_t *const opts)
Routine to run tests for fnft_nsev. .
fnft_nsev_opts_t
Stores additional options for the routine fnft_nsev.
Definition: fnft_nsev.h:175
FNFT_REAL
double FNFT_REAL
Definition: fnft_numtypes.h:40
fnft__nsev_testcases_t
fnft__nsev_testcases_t
Definition: fnft__nsev_testcases.h:43