blob: 5b1ff01da890ccb5c2ee143cdaf4ef7cc7af690f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/*@@
@file startup.c
@date Thu Feb 21 16:25:35 CET 2002
@author Jonathan Thornburg <jthorn@aei.mpg.de>
@desc
Startup routines for LocalInterp/GeneralizedPolynomial-Uniform
@enddesc
@version $Id$
@@*/
#include <stdlib.h>
#include <limits.h>
#include "cctk.h"
#include "cctk_Interp.h"
#include "InterpLocalUniform.h"
/* the rcs ID and its dummy function to use it */
static const char *rcsid = "$Header$";
CCTK_FILEVERSION(CactusBase_LocalInterp_GeneralizedPolynomialUniform_startup_c)
/* prototypes of routines defined in this source file */
void LocalInterp_GPU_Startup(void);
/*@@
@routine LocalInterp_GPU_Startup
@date Thu Feb 21 16:27:41 CET 2002
@author Jonathan Thornburg <jthorn@aei.mpg.de>
@desc This is the startup registration routine for
the generalized polynomial interpolator.
@enddesc
@@*/
void LocalInterp_GPU_Startup(void)
{
CCTK_InterpRegisterOpLocalUniform(LocalInterp_ILU_Lagrange_TP,
"Lagrange polynomial interpolation (tensor product)",
CCTK_THORNSTRING);
CCTK_InterpRegisterOpLocalUniform(LocalInterp_ILU_Lagrange_MD,
"Lagrange polynomial interpolation (maximum degree)",
CCTK_THORNSTRING);
CCTK_InterpRegisterOpLocalUniform(LocalInterp_ILU_Hermite,
"Hermite polynomial interpolation",
CCTK_THORNSTRING);
/* synonym operator names for backwards compatability */
CCTK_InterpRegisterOpLocalUniform(LocalInterp_ILU_Lagrange_TP,
"Lagrange polynomial interpolation",
CCTK_THORNSTRING);
CCTK_InterpRegisterOpLocalUniform(LocalInterp_ILU_Lagrange_TP,
"generalized polynomial interpolation",
CCTK_THORNSTRING);
}
|