aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
authorschnetter <schnetter@eff87b29-5268-4891-90a3-a07138403961>2009-10-20 19:11:36 +0000
committerschnetter <schnetter@eff87b29-5268-4891-90a3-a07138403961>2009-10-20 19:11:36 +0000
commitd5ec2d9d47162065b3cca9dda8a7b8a08f453d1f (patch)
treec422fe0db855d20fff8c38a0e623174a2b17e56c /src/Startup.c
parenta02539deb00def3d4a7bf3224b78e6569521c069 (diff)
Support interpolating to obtain the image values. This makes it
possible to use IOJpeg together with mesh refinement. There is a new keyword parameter "gridpoints" with possible values "hyperslab" and "interpolate". Hyperslabbing works only on uniform grids, whereas interpolation also works with AMR. Additional parameters select where in the domain the points should be interpolated. git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOJpeg/trunk@130 eff87b29-5268-4891-90a3-a07138403961
Diffstat (limited to 'src/Startup.c')
-rw-r--r--src/Startup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Startup.c b/src/Startup.c
index 27566d8..c90472b 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -27,8 +27,6 @@ CCTK_FILEVERSION(CactusIO_IOJpeg_Startup_c)
/********************************************************************
******************** External Routines ************************
********************************************************************/
-void IOJpeg_Startup (void);
-
/********************************************************************
******************** Internal Routines ************************
@@ -49,13 +47,15 @@ static void *SetupGH (tFleshConfig *config, int conv_level, cGH *GH);
@calls CCTK_RegisterGHExtension
CCTK_RegisterGHExtensionSetupGH
@@*/
-void IOJpeg_Startup (void)
+int IOJpeg_Startup (void)
{
if (CCTK_MaxDim () >= 2)
{
CCTK_RegisterGHExtensionSetupGH (CCTK_RegisterGHExtension ("IOJpeg"),
SetupGH);
}
+
+ return 0;
}