diff options
author | jthorn <jthorn@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef> | 2003-07-06 11:16:19 +0000 |
---|---|---|
committer | jthorn <jthorn@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef> | 2003-07-06 11:16:19 +0000 |
commit | a07489dec7a4e1153624e158a2c5f2837b9247de (patch) | |
tree | 83be503e3cdaf39c578202c0fcdcf71337845e42 /src/startup.c | |
parent | 892b8a2d121db4c1e436177cb19baa06eb8d0e4a (diff) |
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@3 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
Diffstat (limited to 'src/startup.c')
-rw-r--r-- | src/startup.c | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/startup.c b/src/startup.c new file mode 100644 index 0000000..63e3c63 --- /dev/null +++ b/src/startup.c @@ -0,0 +1,51 @@ + /*@@ + @file startup.c + @date Thu Feb 21 16:25:35 CET 2002 + @author Jonathan Thornburg <jthorn@aei.mpg.de> + @desc + Startup routines for thorn AEILocalInterp + @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(AEIThorns_AEILocalInterp_src_startup_c) + + +/*@@ + @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 routine for thorn AEILocalInterp. + It registers the interpolation operators. + @enddesc + @@*/ +void AEILocalInterp_U_Startup(void) +{ +CCTK_InterpRegisterOpLocalUniform(AEILocalInterp_U_Lagrange_TP, + "Lagrange polynomial interpolation (tensor product)", + CCTK_THORNSTRING); +CCTK_InterpRegisterOpLocalUniform(AEILocalInterp_U_Lagrange_MD, + "Lagrange polynomial interpolation (maximum degree)", + CCTK_THORNSTRING); + +CCTK_InterpRegisterOpLocalUniform(AEILocalInterp_U_Hermite, + "Hermite polynomial interpolation", + CCTK_THORNSTRING); + +/* synonym operator names for backwards compatability */ +CCTK_InterpRegisterOpLocalUniform(AEILocalInterp_U_Lagrange_TP, + "Lagrange polynomial interpolation", + CCTK_THORNSTRING); +CCTK_InterpRegisterOpLocalUniform(AEILocalInterp_U_Lagrange_TP, + "generalized polynomial interpolation", + CCTK_THORNSTRING); +} |