Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions examples/10_streaming_read.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/* Copyright 2025 Franz Poeschel, Luca Fedeli
*
* This file is part of openPMD-api.
*
* openPMD-api is free software: you can redistribute it and/or modify
* it under the terms of of either the GNU General Public License or
* the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* openPMD-api is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with openPMD-api.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <openPMD/openPMD.hpp>

#include <algorithm>
Expand Down
20 changes: 20 additions & 0 deletions examples/10_streaming_write.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/* Copyright 2025 Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
* openPMD-api is free software: you can redistribute it and/or modify
* it under the terms of of either the GNU General Public License or
* the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* openPMD-api is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with openPMD-api.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "openPMD/Series.hpp"
#include "openPMD/snapshots/Snapshots.hpp"
#include <openPMD/openPMD.hpp>
Expand Down
20 changes: 20 additions & 0 deletions examples/12_span_write.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/* Copyright 2025 Franz Poeschel
*
* This file is part of openPMD-api.
*
* openPMD-api is free software: you can redistribute it and/or modify
* it under the terms of of either the GNU General Public License or
* the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* openPMD-api is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with openPMD-api.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <openPMD/openPMD.hpp>

#include <iostream>
Expand Down
20 changes: 20 additions & 0 deletions examples/13_write_dynamic_configuration.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/* Copyright 2025 Franz Poeschel
*
* This file is part of openPMD-api.
*
* openPMD-api is free software: you can redistribute it and/or modify
* it under the terms of of either the GNU General Public License or
* the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* openPMD-api is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with openPMD-api.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <openPMD/openPMD.hpp>

#include <algorithm>
Expand Down
20 changes: 20 additions & 0 deletions examples/14_toml_template.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/* Copyright 2025 Franz Poeschel
*
* This file is part of openPMD-api.
*
* openPMD-api is free software: you can redistribute it and/or modify
* it under the terms of of either the GNU General Public License or
* the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* openPMD-api is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with openPMD-api.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <openPMD/openPMD.hpp>

std::string backendEnding()
Expand Down
2 changes: 1 addition & 1 deletion examples/1_structure.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller
/* Copyright 2017-2025 Fabian Koller, Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
3 changes: 2 additions & 1 deletion examples/2_read_serial.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* Copyright 2017-2021 Fabian Koller
/* Copyright 2017-2025 Fabian Koller, Axel Huebl, Franz Poeschel,
* L. Diana Amorim
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion examples/2a_read_thetaMode_serial.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2020-2021 Axel Huebl
/* Copyright 2020-2025 Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion examples/3_write_serial.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller, Axel Huebl
/* Copyright 2017-2025 Fabian Koller, Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion examples/3a_write_thetaMode_serial.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2020-2021 Axel Huebl
/* Copyright 2020-2025 Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion examples/3b_write_resizable_particles.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2021 Axel Huebl
/* Copyright 2021-2025 Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion examples/4_read_parallel.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller
/* Copyright 2017-2025 Fabian Koller, Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion examples/5_write_parallel.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller, Axel Huebl
/* Copyright 2017-2025 Fabian Koller, Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
20 changes: 20 additions & 0 deletions examples/6_dump_filebased_series.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/* Copyright 2025 Axel Huebl, Fabian Koller, Franz Poeschel
*
* This file is part of openPMD-api.
*
* openPMD-api is free software: you can redistribute it and/or modify
* it under the terms of of either the GNU General Public License or
* the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* openPMD-api is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with openPMD-api.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <openPMD/openPMD.hpp>

#include <iostream>
Expand Down
20 changes: 20 additions & 0 deletions examples/7_extended_write_serial.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/* Copyright 2025 Axel Huebl, Fabian Koller, Franz Poeschel
*
* This file is part of openPMD-api.
*
* openPMD-api is free software: you can redistribute it and/or modify
* it under the terms of of either the GNU General Public License or
* the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* openPMD-api is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with openPMD-api.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <openPMD/openPMD.hpp>

#include <algorithm>
Expand Down
20 changes: 20 additions & 0 deletions examples/8_benchmark_parallel.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/* Copyright 2025 Axel Huebl, Franz Poeschel, Luca Fedeli
*
* This file is part of openPMD-api.
*
* openPMD-api is free software: you can redistribute it and/or modify
* it under the terms of of either the GNU General Public License or
* the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* openPMD-api is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with openPMD-api.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <openPMD/benchmark/mpi/MPIBenchmark.hpp>
#include <openPMD/benchmark/mpi/OneDimensionalBlockSlicer.hpp>
#include <openPMD/benchmark/mpi/RandomDatasetFiller.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/8a_benchmark_write_parallel.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2020-2021 Junmin Gu, Axel Huebl
/* Copyright 2020-2025 Junmin Gu, Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion examples/8b_benchmark_read_parallel.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2020-2021 Junmin Gu, Axel Huebl
/* Copyright 2020-2025 Junmin Gu, Axel Huebl, Franz Poeschel, Jean Luca Bez
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/ChunkInfo.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2020-2021 Franz Poeschel
/* Copyright 2020-2025 Franz Poeschel, Axel Huebl
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/Dataset.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller, Franz Poeschel, Axel Huebl
/* Copyright 2017-2025 Fabian Koller, Franz Poeschel, Axel Huebl, Junmin Gu
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/Datatype.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller, Franz Poeschel, Axel Huebl
/* Copyright 2017-2025 Fabian Koller, Franz Poeschel, Axel Huebl, Luca Fedeli
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/DatatypeHelpers.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2023 Franz Poeschel
/* Copyright 2023-2025 Franz Poeschel, Axel Huebl
*
* This file is part of openPMD-api.
*
Expand Down
20 changes: 20 additions & 0 deletions include/openPMD/Error.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/* Copyright 2025 Axel Huebl, Franz Poeschel, Luca Fedeli
*
* This file is part of openPMD-api.
*
* openPMD-api is free software: you can redistribute it and/or modify
* it under the terms of of either the GNU General Public License or
* the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* openPMD-api is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with openPMD-api.
* If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once

#include "openPMD/ThrowError.hpp"
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/ADIOS/ADIOS2Auxiliary.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Franz Poeschel.
/* Copyright 2017-2025 Franz Poeschel., Axel Huebl
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/ADIOS/ADIOS2FilePosition.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller and Franz Poeschel
/* Copyright 2017-2025 Fabian Koller and Franz Poeschel, Axel Huebl
*
* This file is part of openPMD-api.
*
Expand Down
3 changes: 2 additions & 1 deletion include/openPMD/IO/ADIOS/ADIOS2IOHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* Copyright 2017-2021 Fabian Koller and Franz Poeschel
/* Copyright 2017-2025 Fabian Koller and Franz Poeschel, Axel Huebl, Junmin Gu,
* Luca Fedeli
*
* This file is part of openPMD-api.
*
Expand Down
20 changes: 20 additions & 0 deletions include/openPMD/IO/ADIOS/macros.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/* Copyright 2025 Franz Poeschel
*
* This file is part of openPMD-api.
*
* openPMD-api is free software: you can redistribute it and/or modify
* it under the terms of of either the GNU General Public License or
* the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* openPMD-api is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License and the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with openPMD-api.
* If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once

#include "openPMD/config.hpp"
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/AbstractFilePosition.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller
/* Copyright 2017-2025 Fabian Koller, Axel Huebl
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/AbstractIOHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller, Axel Huebl
/* Copyright 2017-2025 Fabian Koller, Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/AbstractIOHandlerHelper.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller
/* Copyright 2017-2025 Fabian Koller, Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/AbstractIOHandlerImpl.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2018-2021 Fabian Koller
/* Copyright 2018-2025 Fabian Koller, Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/AbstractIOHandlerImplCommon.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2018-2021 Franz Poeschel
/* Copyright 2018-2025 Franz Poeschel, Axel Huebl
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/Access.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller and Franz Poeschel
/* Copyright 2017-2025 Fabian Koller and Franz Poeschel, Axel Huebl
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/DummyIOHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller, Axel Huebl
/* Copyright 2017-2025 Fabian Koller, Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/Format.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller, Axel Huebl
/* Copyright 2017-2025 Fabian Koller, Axel Huebl, Franz Poeschel
*
* This file is part of openPMD-api.
*
Expand Down
2 changes: 1 addition & 1 deletion include/openPMD/IO/HDF5/HDF5Auxiliary.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2017-2021 Fabian Koller, Felix Schmitt, Axel Huebl
/* Copyright 2017-2025 Fabian Koller, Felix Schmitt, Axel Huebl, Luca Fedeli
*
* This file is part of openPMD-api.
*
Expand Down
Loading
Loading