Skip to content

Commit

Permalink
vht: Add Jako support
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed May 29, 2011
1 parent aeb938e commit 243ddb5
Show file tree
Hide file tree
Showing 4 changed files with 444 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fs/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ set (VHT_SOURCES vht.c vhtexact.c)
if (dHAVE_GDAL) # GDAL is required in these cases
set_source_files_properties (stokesjako.c PROPERTIES COMPILE_FLAGS "-I${GDAL_INCLUDE_DIR}")
list (APPEND STOKES_SOURCES stokesjako.c)
set_source_files_properties (vhtjako.c PROPERTIES COMPILE_FLAGS "-I${GDAL_INCLUDE_DIR}")
list (APPEND VHT_SOURCES vhtjako.c)
endif ()

# dohp_link_executable does not currently work to link GDAL
Expand Down
3 changes: 3 additions & 0 deletions src/fs/tests/vht.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ static dErr VHTCaseRegisterAll(void)

dFunctionBegin;
err = VHTCaseRegisterAll_Exact();dCHK(err);
#if defined dHAVE_GDAL
err = VHTCaseRegisterAll_Jako();dCHK(err);
#endif
dFunctionReturn(0);
}
static dErr VHTLogEpochViewLine3_Private(PetscViewer viewer,const char *linename,const char *n1,const dReal v1[2],const char *n2,const dReal v2[2],const char *n3,const dReal v3[2])
Expand Down
1 change: 1 addition & 0 deletions src/fs/tests/vhtimpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,6 @@ extern PetscFList VHTCaseList;
dErr VHTCaseRegister(const char *name,VHTCaseCreateFunction screate);

dErr VHTCaseRegisterAll_Exact(void); /* Defined in generated vhtexact.c */
dErr VHTCaseRegisterAll_Jako(void);

#endif

0 comments on commit 243ddb5

Please sign in to comment.