Test FLASH reading
This commit is contained in:
parent
3a7a53c94f
commit
b1ad1930e6
2 changed files with 23 additions and 1 deletions
17
sample/testReadFlash.cpp
Normal file
17
sample/testReadFlash.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "loadFlash.hpp"
|
||||
|
||||
using namespace CosmoTool;
|
||||
using namespace std;
|
||||
|
||||
int main () {
|
||||
|
||||
char* filename = "lss_read_hdf5_chk_0000";
|
||||
|
||||
SimuData* data = CosmoTool::loadFlashMulti(filename, 0, 0);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue