-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use correct glo_num numbering for cht * call udf_setup before ellipticSetup * fix openCL long long issues * reorganize source files * rename ins to nrs * rename boundary functions * add variable dt support (no automatic adjustment yet) * fix wrong scalarNeumann BC calls * add par-option stopAt = elapsedTime
- Loading branch information
Showing
493 changed files
with
8,091 additions
and
40,347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
build/ | ||
*.so | ||
*.o | ||
CMakeFiles | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#if !defined(ogstypes_h) | ||
#define ogstypes_h | ||
|
||
//float data type | ||
#if 0 | ||
#define DFLOAT_SINGLE | ||
#define dfloat float | ||
#define MPI_DFLOAT MPI_FLOAT | ||
#define dfloatFormat "%f" | ||
#define dfloatString "float" | ||
#else | ||
#define DFLOAT_DOUBLE | ||
#define dfloat double | ||
#define MPI_DFLOAT MPI_DOUBLE | ||
#define dfloatFormat "%lf" | ||
#define dfloatString "double" | ||
#endif | ||
|
||
//host index data type | ||
#if 0 | ||
#define hlong int | ||
#define MPI_HLONG MPI_INT | ||
#define hlongFormat "%d" | ||
#define hlongString "int" | ||
#else | ||
#define hlong long long int | ||
#define MPI_HLONG MPI_LONG_LONG_INT | ||
#define hlongFormat "%lld" | ||
#define hlongString "long long int" | ||
#endif | ||
|
||
//device index data type | ||
#if 1 | ||
#define dlong int | ||
#define MPI_DLONG MPI_INT | ||
#define dlongFormat "%d" | ||
#define dlongString "int" | ||
#else | ||
#define dlong long long int | ||
#define MPI_DLONG MPI_LONG_LONG_INT | ||
#define dlongFormat "%lld" | ||
#define dlongString "long long int" | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.