Skip to content

Commit

Permalink
Release 24.01 (#500)
Browse files Browse the repository at this point in the history
* Release 24.01

Pepare the January release of ImpactX.

* pyAMReX: Update Breaking APIs
  • Loading branch information
ax3l authored Jan 6, 2024
1 parent b8169b4 commit dc5450d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Preamble ####################################################################
#
cmake_minimum_required(VERSION 3.20.0)
project(ImpactX VERSION 23.12)
project(ImpactX VERSION 24.01)

include(${ImpactX_SOURCE_DIR}/cmake/ImpactXFunctions.cmake)

Expand Down
4 changes: 2 additions & 2 deletions cmake/dependencies/ABLASTR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ macro(find_ablastr)
set(COMPONENT_DIM 3D)
set(COMPONENT_PRECISION ${ImpactX_PRECISION} P${ImpactX_PRECISION})

find_package(ABLASTR 23.12 CONFIG REQUIRED COMPONENTS ${COMPONENT_DIM})
find_package(ABLASTR 24.01 CONFIG REQUIRED COMPONENTS ${COMPONENT_DIM})
message(STATUS "ABLASTR: Found version '${ABLASTR_VERSION}'")
endif()

Expand Down Expand Up @@ -178,7 +178,7 @@ set(ImpactX_openpmd_src ""
set(ImpactX_ablastr_repo "https://github.com/ECP-WarpX/WarpX.git"
CACHE STRING
"Repository URI to pull and build ABLASTR from if(ImpactX_ablastr_internal)")
set(ImpactX_ablastr_branch "23.12"
set(ImpactX_ablastr_branch "24.01"
CACHE STRING
"Repository branch for ImpactX_ablastr_repo if(ImpactX_ablastr_internal)")

Expand Down
4 changes: 2 additions & 2 deletions cmake/dependencies/pyAMReX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function(find_pyamrex)
endif()
elseif(NOT ImpactX_pyamrex_internal)
# TODO: MPI control
find_package(pyAMReX 23.12 CONFIG REQUIRED)
find_package(pyAMReX 24.01 CONFIG REQUIRED)
message(STATUS "pyAMReX: Found version '${pyAMReX_VERSION}'")
endif()
endfunction()
Expand All @@ -79,7 +79,7 @@ option(ImpactX_pyamrex_internal "Download & build pyAMReX" ON)
set(ImpactX_pyamrex_repo "https://github.com/AMReX-Codes/pyamrex.git"
CACHE STRING
"Repository URI to pull and build pyamrex from if(ImpactX_pyamrex_internal)")
set(ImpactX_pyamrex_branch "23.12"
set(ImpactX_pyamrex_branch "24.01"
CACHE STRING
"Repository branch for ImpactX_pyamrex_repo if(ImpactX_pyamrex_internal)")

Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
# built documents.
#
# The short X.Y version.
version = "23.12"
version = "24.01"
# The full version, including alpha/beta/rc tags.
release = "23.12"
release = "24.01"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def build_extension(self, ext):
setup(
name="impactx",
# note PEP-440 syntax: x.y.zaN but x.y.z.devN
version="23.12",
version="24.01",
packages=["impactx"],
# Python sources:
package_dir={"": "src/python"},
Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_charge_deposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_charge_deposition(save_png=True):
# plot data slices
f = plt.figure()
ax = f.gca()
ng = rho_host.nGrowVect
ng = rho_host.n_grow_vect
for mfi in rho_host:
bx = mfi.validbox()
rbx = amr.RealBox(bx, dr, gm.ProbLo())
Expand Down
4 changes: 2 additions & 2 deletions tests/python/test_impactx.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ def test_impactx_change_resolution():
assert rho.nComp == 1
assert rho.size == 1
assert rho.num_comp == 1
# assert rho.nGrowVect == [2, 2, 2]
print(f"rho.nGrowVect={rho.nGrowVect}")
# assert rho.n_grow_vect == [2, 2, 2]
print(f"rho.n_grow_vect={rho.n_grow_vect}")
assert iter(rho).length > 0
assert not rho.is_all_cell_centered
assert rho.is_all_nodal

0 comments on commit dc5450d

Please sign in to comment.