FNFT
fnft__nsep_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.
18 */
19 
27 #ifndef FNFT__NSEP_TESTCASES_H
28 #define FNFT__NSEP_TESTCASES_H
29 
30 #include "fnft_nsep.h"
31 
32 
40 typedef enum {
41  fnft__nsep_testcases_PLANE_WAVE_FOCUSING,
42  fnft__nsep_testcases_CONSTANT_DEFOCUSING
44 
60  FNFT_REAL error_bounds[3], fnft_nsep_opts_t * const opts);
61 
62 #ifdef FNFT_ENABLE_SHORT_NAMES
63 #define nsep_testcases_PLANE_WAVE_FOCUSING fnft__nsep_testcases_PLANE_WAVE_FOCUSING
64 #define nsep_testcases_CONSTANT_DEFOCUSING fnft__nsep_testcases_CONSTANT_DEFOCUSING
65 #define nsep_testcases_t fnft__nsep_testcases_t
66 #define nsep_testcases(...) fnft__nsep_testcases(__VA_ARGS__)
67 #define nsep_testcases_test_fnft(...) fnft__nsep_testcases_test_fnft(__VA_ARGS__)
68 #endif
69 
70 #endif
FNFT_INT
int32_t FNFT_INT
Definition: fnft_numtypes.h:56
FNFT_UINT
size_t FNFT_UINT
Definition: fnft_numtypes.h:62
fnft_nsep_opts_t
Stores additional options for the routine fnft_nsep.
Definition: fnft_nsep.h:132
FNFT_REAL
double FNFT_REAL
Definition: fnft_numtypes.h:40
fnft__nsep_testcases_test_fnft
FNFT_INT fnft__nsep_testcases_test_fnft(fnft__nsep_testcases_t tc, FNFT_UINT D, FNFT_REAL error_bounds[3], fnft_nsep_opts_t *const opts)
This routine is used by the tests for fnft_nsep.
fnft_nsep.h
Fast nonlinear Fourier transform for the periodic nonlinear Schroedinger equation.
fnft__nsep_testcases_t
fnft__nsep_testcases_t
Definition: fnft__nsep_testcases.h:40