Commit 16496f0e authored by incardon's avatar incardon

Fixing HDF5

parent 88341c4d
......@@ -11,7 +11,7 @@ all: hdf5
%.o: %.cpp
$(CC) -O3 $(OPT) -g -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
$(CC) -O0 $(OPT) -g -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
hdf5: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)
......
......@@ -230,7 +230,7 @@ int main(int argc, char* argv[])
//! \cond [save_part] \endcond
vd.save("particles_save.hdf5");
//! \cond [save_part] \endcond
/*!
......@@ -264,7 +264,7 @@ int main(int argc, char* argv[])
vector_dist<3,float, aggregate<float[3],float[3],float[3],float[3],float[3]> > vd2(vd.getDecomposition(),0);
// load the particles on another vector
vd2.load("particles_load.hdf5");
vd2.load("particles_save.hdf5");
//! \cond [hdf5_load] \endcond
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment