Skip to content

Commit 319b8b6

Browse files
authored
Release: 24.01 (#239)
1 parent 942918a commit 319b8b6

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Preamble ####################################################################
22
#
33
cmake_minimum_required(VERSION 3.20.0)
4-
project(pyAMReX VERSION 23.12)
4+
project(pyAMReX VERSION 24.01)
55

66
include(${pyAMReX_SOURCE_DIR}/cmake/pyAMReXFunctions.cmake)
77

cmake/dependencies/AMReX.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ macro(find_amrex)
7070
elseif(NOT pyAMReX_amrex_internal)
7171
message(STATUS "Searching for pre-installed AMReX ...")
7272
# https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html#importing-amrex-into-your-cmake-project
73-
find_package(AMReX 23.12 CONFIG REQUIRED COMPONENTS PARTICLES PIC)
73+
find_package(AMReX 24.01 CONFIG REQUIRED COMPONENTS PARTICLES PIC)
7474
message(STATUS "AMReX: Found version '${AMReX_VERSION}'")
7575
endif()
7676
endmacro()
@@ -85,7 +85,7 @@ option(pyAMReX_amrex_internal "Download & build AMReX" ON)
8585
set(pyAMReX_amrex_repo "https://github.com/AMReX-Codes/amrex.git"
8686
CACHE STRING
8787
"Repository URI to pull and build AMReX from if(pyAMReX_amrex_internal)")
88-
set(pyAMReX_amrex_branch "ecaa46d0be4b5c79b8806e48e3469000d8bb7252"
88+
set(pyAMReX_amrex_branch "24.01"
8989
CACHE STRING
9090
"Repository branch for pyAMReX_amrex_repo if(pyAMReX_amrex_internal)")
9191

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
# built documents.
7373
#
7474
# The short X.Y version.
75-
version = "23.12"
75+
version = "24.01"
7676
# The full version, including alpha/beta/rc tags.
77-
release = "23.12"
77+
release = "24.01"
7878

7979
# The language for content autogenerated by Sphinx. Refer to documentation
8080
# for a list of supported languages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def build_extension(self, ext):
207207
setup(
208208
name="amrex",
209209
# note PEP-440 syntax: x.y.zaN but x.y.z.devN
210-
version="23.12",
210+
version="24.01",
211211
packages=["amrex"],
212212
# Python sources:
213213
package_dir={"": "src"},

src/Particle/ParticleContainer_ImpactX.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ void init_ParticleContainer_ImpactX(py::module& m) {
1414

1515
// TODO: we might need to move all or most of the defines in here into a
1616
// test/example submodule, so they do not collide with downstream projects
17-
make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0>(m); // ImpactX 22.07 - 23.12
18-
make_ParticleContainer_and_Iterators<SoAParticle<8, 0>, 8, 0>(m); // ImpactX 24.01+
17+
make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0>(m); // ImpactX 22.07 - 24.01
18+
make_ParticleContainer_and_Iterators<SoAParticle<8, 0>, 8, 0>(m); // ImpactX 24.02+
1919
}

src/Particle/ParticleContainer_WarpX.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ void init_ParticleContainer_WarpX(py::module& m) {
1313

1414
// TODO: we might need to move all or most of the defines in here into a
1515
// test/example submodule, so they do not collide with downstream projects
16-
make_ParticleContainer_and_Iterators<Particle<0, 0>, 4, 0>(m); // WarpX 22.07 - 23.12 1D-3D
17-
//make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0> (m); // WarpX 22.07 - 23.12 RZ
16+
make_ParticleContainer_and_Iterators<Particle<0, 0>, 4, 0>(m); // WarpX 22.07 - 24.01 1D-3D
17+
//make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0> (m); // WarpX 22.07 - 24.01 RZ
1818

1919
#if AMREX_SPACEDIM == 1
20-
make_ParticleContainer_and_Iterators<SoAParticle<5, 0>, 5, 0>(m); // WarpX 24.01+ 1D
20+
make_ParticleContainer_and_Iterators<SoAParticle<5, 0>, 5, 0>(m); // WarpX 24.02+ 1D
2121
#elif AMREX_SPACEDIM == 2
22-
make_ParticleContainer_and_Iterators<SoAParticle<6, 0>, 6, 0>(m); // WarpX 24.01+ 2D
22+
make_ParticleContainer_and_Iterators<SoAParticle<6, 0>, 6, 0>(m); // WarpX 24.02+ 2D
2323
#elif AMREX_SPACEDIM == 3
24-
make_ParticleContainer_and_Iterators<SoAParticle<7, 0>, 7, 0>(m); // WarpX 24.01+ 3D
24+
make_ParticleContainer_and_Iterators<SoAParticle<7, 0>, 7, 0>(m); // WarpX 24.02+ 3D
2525
#endif
2626
}

src/Particle/StructOfArrays.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ void make_StructOfArrays(py::module &m)
9999

100100
void init_StructOfArrays(py::module& m) {
101101
make_StructOfArrays< 2, 1>(m);
102-
make_StructOfArrays< 4, 0>(m); // HiPACE++ 22.08 - 23.12
103-
make_StructOfArrays< 5, 0>(m); // ImpactX 22.07 - 23.12
102+
make_StructOfArrays< 4, 0>(m); // HiPACE++ 22.08 - 24.01
103+
make_StructOfArrays< 5, 0>(m); // ImpactX 22.07 - 24.01
104104
#if AMREX_SPACEDIM == 1
105-
make_StructOfArrays< 5, 0, true>(m); // WarpX 24.01+ 1D
105+
make_StructOfArrays< 5, 0, true>(m); // WarpX 24.02+ 1D
106106
#elif AMREX_SPACEDIM == 2
107-
make_StructOfArrays< 6, 0, true>(m); // WarpX 24.01+ 2D
107+
make_StructOfArrays< 6, 0, true>(m); // WarpX 24.02+ 2D
108108
#elif AMREX_SPACEDIM == 3
109-
make_StructOfArrays< 7, 0, true>(m); // WarpX 24.01+ 3D
109+
make_StructOfArrays< 7, 0, true>(m); // WarpX 24.02+ 3D
110110
#endif
111-
make_StructOfArrays< 8, 0, true>(m); // ImpactX 24.01+
111+
make_StructOfArrays< 8, 0, true>(m); // ImpactX 24.02+
112112
make_StructOfArrays<37, 1>(m); // HiPACE++ 22.09 - 23.12
113113
}

0 commit comments

Comments
 (0)