-
- Downloads
partial fix
when using unique_ptr for arrays, they are cleaned up by calling `delete[] bla.release()`. At least, cppreference says that the release method "returns a pointer to the managed object and releases the ownership ". https://en.cppreference.com/w/cpp/memory/unique_ptr
Showing
- bfps/cpp/full_code/NSVEcomplex_particles.cpp 3 additions, 4 deletionsbfps/cpp/full_code/NSVEcomplex_particles.cpp
- bfps/cpp/full_code/NSVEparticles.cpp 3 additions, 4 deletionsbfps/cpp/full_code/NSVEparticles.cpp
- bfps/cpp/full_code/test_interpolation.cpp 4 additions, 2 deletionsbfps/cpp/full_code/test_interpolation.cpp
- bfps/cpp/hdf5_tools.cpp 3 additions, 0 deletionsbfps/cpp/hdf5_tools.cpp
- bfps/cpp/particles/abstract_particles_output.hpp 6 additions, 6 deletionsbfps/cpp/particles/abstract_particles_output.hpp
- bfps/cpp/particles/p2p_distr_mpi.hpp 3 additions, 3 deletionsbfps/cpp/particles/p2p_distr_mpi.hpp
- bfps/cpp/particles/particles_distr_mpi.hpp 5 additions, 5 deletionsbfps/cpp/particles/particles_distr_mpi.hpp
- bfps/cpp/particles/particles_input_hdf5.hpp 2 additions, 2 deletionsbfps/cpp/particles/particles_input_hdf5.hpp
Loading