mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-14 05:07:05 +01:00
In the middle of adding a general binary writer
This commit is contained in:
@ -539,6 +539,12 @@ class BinaryIO {
|
||||
int ieee64big = (format == std::string("IEEE64BIG"));
|
||||
int ieee64 = (format == std::string("IEEE64"));
|
||||
|
||||
if(!(ieee32big || ieee32 || ieee64big || ieee64)){
|
||||
std::cout << GridLogError << "Unrecognized file format " << format << std::endl;
|
||||
std::cout << GridLogError << "Allowed: IEEE32BIG | IEEE32 | IEEE64BIG | IEEE64" << std::endl;
|
||||
exit(0);
|
||||
}
|
||||
|
||||
int nd = grid->_ndimension;
|
||||
for(int d=0;d<nd;d++){
|
||||
assert(grid->CheckerBoarded(d) == 0);
|
||||
|
Reference in New Issue
Block a user