Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update submodules, API changes, tracer swarm packs, Monte Carlo packs, formatting CI #225

Open
wants to merge 49 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
00205d1
cleanup pgens, fix tracer init in advection problem and move to postinit
AstroBarker Oct 17, 2024
e33d1c7
boundary condition work
AstroBarker Oct 17, 2024
59b10ab
refactoring, misc, lots of changes, bad commit practice...
AstroBarker Oct 17, 2024
498bc46
update parthenon
AstroBarker Oct 17, 2024
f28bcdd
fix: swarm positon names
AstroBarker Nov 15, 2024
8c30be3
BC
AstroBarker Nov 15, 2024
f687fa2
bump parthenon
AstroBarker Nov 15, 2024
ffc7a5b
dump submodules
AstroBarker Jan 6, 2025
4bc1327
revert something
AstroBarker Jan 6, 2025
b374060
updates to mean opacity API
AstroBarker Jan 6, 2025
0f679cb
fmt
AstroBarker Jan 6, 2025
55e5ef3
fast logs disabled by default
AstroBarker Jan 6, 2025
7fee7f8
Merge branch 'main' into blb/update_parthenon
AstroBarker Jan 6, 2025
94955cb
ubuntu clang format broke. attempting to switch to pip provided.. mor…
AstroBarker Jan 6, 2025
ac9945b
broke yaml
AstroBarker Jan 6, 2025
6800e14
hate actions
AstroBarker Jan 6, 2025
27d1be3
clang format is the most version unstable software
AstroBarker Jan 6, 2025
6423e9b
mean opac param type
AstroBarker Jan 6, 2025
8c338cd
cleanup
AstroBarker Jan 7, 2025
ec1499e
pack fix?
AstroBarker Jan 7, 2025
64aae21
fighting types
AstroBarker Jan 7, 2025
2bc3a91
weird changed behavior in regression testing
AstroBarker Jan 7, 2025
e76eccc
fmt
AstroBarker Jan 7, 2025
bf398c4
feat: tracers work on MeshData, use SWARM_VARIABLES for tracer vars
AstroBarker Jan 9, 2025
13a84dd
WIP + compile time number of tracies for MOCMC
AstroBarker Jan 17, 2025
a2990dd
WIP MOCMC refactor to use swarm packs and MeshData and work with mode…
AstroBarker Jan 17, 2025
41c06e1
remove debugging prints
AstroBarker Jan 17, 2025
3691f4b
add check that number of species is consistent with compile time
AstroBarker Jan 17, 2025
e03dfeb
thread compile time neutrino species into tests
AstroBarker Jan 21, 2025
2d3ce81
update golds
AstroBarker Jan 28, 2025
1404cb8
thread in correct radiation K Source with FMKS
AstroBarker Jan 28, 2025
d089b52
cleanup
AstroBarker Jan 28, 2025
6bd24ce
start moving moments to MeshData & packs
AstroBarker Jan 28, 2025
1981869
monte carlo variables & packs refactor
AstroBarker Jan 28, 2025
3f799b2
BCs and input decks
AstroBarker Jan 29, 2025
862de2d
bump external
AstroBarker Jan 29, 2025
dc53266
thread compile time neutrino options into actions
AstroBarker Jan 29, 2025
482c992
get lienar modes test and pin back in order
AstroBarker Jan 29, 2025
dbb7c70
weird golds..
AstroBarker Jan 30, 2025
bf1a96b
workflow error?
AstroBarker Jan 30, 2025
21ed0ed
make cmake_extra_args a list instead of string
AstroBarker Jan 31, 2025
f9e65c3
typo
AstroBarker Jan 31, 2025
97add41
forgotten comments
AstroBarker Jan 31, 2025
d421164
invert and correct constexpr logic for radiation/geodesics:GetKSource
AstroBarker Jan 31, 2025
f04c744
cleanup of boundar conditions registration logic
AstroBarker Jan 31, 2025
b3d4ebf
make temporary MeshDat level fixup Tasks that loop over blocks
AstroBarker Jan 31, 2025
d3e3412
MeshData level swarms comms, MeshData level MomentFluidSource, refact…
AstroBarker Feb 5, 2025
c187136
update golds
AstroBarker Feb 5, 2025
e494815
fmt
AstroBarker Feb 5, 2025
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
9 changes: 7 additions & 2 deletions .github/workflows/formatting.yml
AstroBarker marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
run: export DEBIAN_FRONTEND=noninteractive
- name: install dependencies
run: |
sudo apt-get install -y --force-yes -qq git clang-format-12
sudo apt-get install -y --force-yes -qq git
- name: Install pip, clang-format
uses: BSFishy/pip-action@v1
with:
packages: |
clang-format==12.0.1
- name: check formatting
run: find . -regex '.*\.\(cpp\|hpp\)' | xargs clang-format-12 -style=file -i && git diff --exit-code --ignore-submodules
run: find . -regex '.*\.\(cpp\|hpp\)' | xargs clang-format -style=file -i && git diff --exit-code --ignore-submodules
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ jobs:
cd tst/regression
mkdir build_minkowski_release
cd build_minkowski_release
cmake -DCMAKE_BUILD_TYPE=Release -DPHOEBUS_ENABLE_UNIT_TESTS=ON -DMAX_NUMBER_CONSERVED_VARS=10 -DPHOEBUS_GEOMETRY=Minkowski -DPHOEBUS_CACHE_GEOMETRY=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON ../../../
cmake -DCMAKE_BUILD_TYPE=Release -DPHOEBUS_ENABLE_UNIT_TESTS=ON -DMAX_NUMBER_CONSERVED_VARS=10 -DPHOEBUS_GEOMETRY=Minkowski -DPHOEBUS_CACHE_GEOMETRY=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON -DPHOEBUS_DO_NU_ELECTRON_ANTI=Off -DPHOEBUS_DO_NU_HEAVY=Off ../../../
cmake --build . --parallel 8
cd ..
mkdir build_fmks_release
cd build_fmks_release
cmake -DCMAKE_BUILD_TYPE=Release -DPHOEBUS_ENABLE_UNIT_TESTS=ON -DMAX_NUMBER_CONSERVED_VARS=10 -DPHOEBUS_GEOMETRY=FMKS -DPHOEBUS_CACHE_GEOMETRY=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON ../../../
cmake -DCMAKE_BUILD_TYPE=Release -DPHOEBUS_ENABLE_UNIT_TESTS=ON -DMAX_NUMBER_CONSERVED_VARS=10 -DPHOEBUS_GEOMETRY=FMKS -DPHOEBUS_CACHE_GEOMETRY=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON -DPHOEBUS_DO_NU_ELECTRON_ANTI=Off -DPHOEBUS_DO_NU_HEAVY=Off ../../../
cmake --build . --parallel 8
cd ..
mkdir build_minkowski_debug
cd build_minkowski_debug
cmake -DCMAKE_BUILD_TYPE=Debug -DPHOEBUS_ENABLE_UNIT_TESTS=ON -DMAX_NUMBER_CONSERVED_VARS=10 -DPHOEBUS_GEOMETRY=Minkowski -DPHOEBUS_CACHE_GEOMETRY=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON ../../../
cmake -DCMAKE_BUILD_TYPE=Debug -DPHOEBUS_ENABLE_UNIT_TESTS=ON -DMAX_NUMBER_CONSERVED_VARS=10 -DPHOEBUS_GEOMETRY=Minkowski -DPHOEBUS_CACHE_GEOMETRY=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON -DPHOEBUS_DO_NU_ELECTRON_ANTI=Off -DPHOEBUS_DO_NU_HEAVY=Off ../../../
cmake --build . --parallel 8
cd ..
mkdir build_fmks_debug
cd build_fmks_debug
cmake -DCMAKE_BUILD_TYPE=Debug -DPHOEBUS_ENABLE_UNIT_TESTS=ON -DMAX_NUMBER_CONSERVED_VARS=10 -DPHOEBUS_GEOMETRY=FMKS -DPHOEBUS_CACHE_GEOMETRY=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON ../../../
cmake -DCMAKE_BUILD_TYPE=Debug -DPHOEBUS_ENABLE_UNIT_TESTS=ON -DMAX_NUMBER_CONSERVED_VARS=10 -DPHOEBUS_GEOMETRY=FMKS -DPHOEBUS_CACHE_GEOMETRY=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON -DPHOEBUS_DO_NU_ELECTRON_ANTI=Off -DPHOEBUS_DO_NU_HEAVY=Off ../../../
cmake --build . --parallel 8
cd ..
# is there a run directory that shouldn't be here?
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DPHOEBUS_ENABLE_UNIT_TESTS=ON -DMAX_NUMBER_CONSERVED_VARS=10 -DPHOEBUS_GEOMETRY=Minkowski -DPHOEBUS_CACHE_GEOMETRY=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON ../
cmake -DCMAKE_BUILD_TYPE=Release -DPHOEBUS_ENABLE_UNIT_TESTS=ON -DMAX_NUMBER_CONSERVED_VARS=10 -DPHOEBUS_GEOMETRY=Minkowski -DPHOEBUS_CACHE_GEOMETRY=ON -DPARTHENON_DISABLE_HDF5_COMPRESSION=ON .-DPHOEBUS_DO_NU_ELECTRON_ANTI=Off -DPHOEBUS_DO_NU_HEAVY=Off ../
cmake --build . --parallel 4
- name: Run unit tests
run: |
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ set(SINGULARITY_USE_FORTRAN OFF CACHE BOOL "" FORCE)
set(SINGULARITY_FORCE_SUBMODULE_MODE ON CACHE BOOL "" FORCE)
set(SINGULARITY_USE_KOKKOSKERNELS OFF CACHE BOOL "" FORCE)
set(SINGULARITY_BUILD_CLOSURE OFF CACHE BOOL "" FORCE)
set(SINGULARITY_USE_TRUE_LOG_GRIDDING ON CACHE BOOL "" FORCE)

# Kill cmake's package registry because it can interfere
set(CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY ON CACHE BOOL "" FORCE)
Expand All @@ -184,6 +185,9 @@ include(cmake/Geometry.cmake)
# Fluid
include(cmake/Fluid.cmake)

# Transport
include(cmake/Transport.cmake)

# Phoebus src
message("\nConfiguring src")
add_subdirectory(src)
Expand Down
33 changes: 33 additions & 0 deletions cmake/Transport.cmake
AstroBarker marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# © 2021-2025. Triad National Security, LLC. All rights reserved. This
# program was produced under U.S. Government contract 89233218CNA000001
# for Los Alamos National Laboratory (LANL), which is operated by Triad
# National Security, LLC for the U.S. Department of Energy/National
# Nuclear Security Administration. All rights in the program are
# reserved by Triad National Security, LLC, and the U.S. Department of
# Energy/National Nuclear Security Administration. The Government is
# granted for itself and others acting on its behalf a nonexclusive,
# paid-up, irrevocable worldwide license in this material to reproduce,
# prepare derivative works, distribute copies to the public, perform
# publicly and display publicly, and to permit others to do so.

option(PHOEBUS_DO_NU_ELECTRON "Evolve electron neutrinos" ON)
option(PHOEBUS_DO_NU_ELECTRON_ANTI "Evolve electron antineutrinos" ON)
option(PHOEBUS_DO_NU_HEAVY "Evolve heavy composite type neutrinos" ON)

if(PHOEBUS_DO_NU_ELECTRON)
set(DO_NU_ELECTRON 1 CACHE BOOL "Electron neutrinos enabled")
else()
set(DO_NU_ELECTRON 0 CACHE BOOL "Electron neutrinos disabled")
endif()

if(PHOEBUS_DO_NU_ELECTRON_ANTI)
set(DO_NU_ELECTRON_ANTI 1 CACHE BOOL "Electron antineutrinos enabled")
else()
set(DO_NU_ELECTRON_ANTI 0 CACHE BOOL "Electron antineutrinos disabled")
endif()

if(PHOEBUS_DO_NU_HEAVY)
set(DO_NU_HEAVY 1 CACHE BOOL "Heavy neutrinos enabled")
else()
set(DO_NU_HEAVY 0 CACHE BOOL "Heavy neutrinos disabled")
endif()
2 changes: 1 addition & 1 deletion external/parthenon
2 changes: 1 addition & 1 deletion external/singularity-eos
Submodule singularity-eos updated 100 files
2 changes: 1 addition & 1 deletion external/singularity-opac
Submodule singularity-opac updated 35 files
+1 −1 CMakeLists.txt
+103 −13 README.md
+19 −10 cmake/SetupDeps.cmake
+10 −3 cmake/SetupOptions.cmake
+64 −18 singularity-opac/constants/constants.hpp
+8 −1 singularity-opac/neutrinos/brt_neutrinos.hpp
+8 −1 singularity-opac/neutrinos/gray_opacity_neutrinos.hpp
+13 −1 singularity-opac/neutrinos/mean_neutrino_variant.hpp
+19 −8 singularity-opac/neutrinos/mean_opacity_neutrinos.hpp
+7 −1 singularity-opac/neutrinos/neutrino_variant.hpp
+29 −5 singularity-opac/neutrinos/non_cgs_neutrinos.hpp
+186 −23 singularity-opac/neutrinos/spiner_opac_neutrinos.hpp
+2 −2 singularity-opac/neutrinos/thermal_distributions_neutrinos.hpp
+11 −3 singularity-opac/neutrinos/tophat_emissivity_neutrinos.hpp
+14 −3 singularity-opac/photons/epbremsstrahlung_opacity_photons.hpp
+19 −0 singularity-opac/photons/example_ascii/kap_plaw.txt
+103 −0 singularity-opac/photons/example_ascii/preproc_ascii_opac.py
+10 −5 singularity-opac/photons/gray_opacity_photons.hpp
+172 −39 singularity-opac/photons/mean_opacity_photons.hpp
+31 −0 singularity-opac/photons/mean_photon_types.hpp
+35 −1 singularity-opac/photons/mean_photon_variant.hpp
+46 −5 singularity-opac/photons/non_cgs_photons.hpp
+6 −2 singularity-opac/photons/opac_photons.hpp
+7 −1 singularity-opac/photons/photon_variant.hpp
+190 −0 singularity-opac/photons/powerlaw_opacity_photons.hpp
+2 −2 singularity-opac/photons/thermal_distributions_photons.hpp
+8 −2 test/CMakeLists.txt
+100 −4 test/test_gray_opacities.cpp
+172 −16 test/test_mean_opacities.cpp
+198 −0 test/test_powerlaw_opacities.cpp
+5 −1 utils/fast-math/logs.hpp
+1 −1 utils/kokkos
+1 −1 utils/ports-of-call
+1 −1 utils/spiner
+1 −1 utils/variant
14 changes: 10 additions & 4 deletions inputs/blandford_mckee.pin
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@

<phoebus>
problem = blandford_mckee
ix1_bc = reflect
ox1_bc = gr_outflow
ix2_bc = reflect
ox2_bc = reflect
ix3_bc = periodic
ox3_bc = periodic

<parthenon/job>
problem_id = blast # problem ID: basename of output filenames
Expand Down Expand Up @@ -50,14 +56,14 @@ nghost = 4
nx1 = 512 # Number of zones in X1-direction
x1min = 0 # minimum value of X1
x1max = 1 # maximum value of X1
ix1_bc = user # Inner-X1 boundary condition flag
ox1_bc = user # Outer-X1 boundary condition flag
ix1_bc = reflect # Inner-X1 boundary condition flag
ox1_bc = gr_outflow # Outer-X1 boundary condition flag

nx2 = 1 # Number of zones in X2-direction
x2min = 0 # minimum value of X2
x2max = 3.14159265359 # maximum value of X2. Pi
ix2_bc = reflecting # Inner-X2 boundary condition flag
ox2_bc = reflecting # Outer-X2 boundary condition flag
ix2_bc = reflect # Inner-X2 boundary condition flag
ox2_bc = reflect # Outer-X2 boundary condition flag

nx3 = 1 # Number of zones in X3-direction
x3min = 0 # minimum value of X3
Expand Down
10 changes: 6 additions & 4 deletions inputs/blast_wave.pin
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

<phoebus>
problem = sedov
ix1_bc = reflect
ox1_bc = gr_outflow
AstroBarker marked this conversation as resolved.
Show resolved Hide resolved
ix2_bc = reflect
ox2_bc = reflect

Expand Down Expand Up @@ -55,14 +57,14 @@ nghost = 4
nx1 = 512 # Number of zones in X1-direction
x1min = 0.0 # minimum value of X1
x1max = 0.3 # maximum value of X1
ix1_bc = user # Inner-X1 boundary condition flag
ox1_bc = user # Outer-X1 boundary condition flag
ix1_bc = reflect # Inner-X1 boundary condition flag
ox1_bc = gr_outflow # Outer-X1 boundary condition flag

nx2 = 1 # Number of zones in X2-direction
x2min = 0 # minimum value of X2
x2max = 3.14159265359 # maximum value of X2. Pi
ix2_bc = user # Inner-X2 boundary condition flag
ox2_bc = user # Outer-X2 boundary condition flag
ix2_bc = reflect # Inner-X2 boundary condition flag
ox2_bc = reflect # Outer-X2 boundary condition flag

nx3 = 1 # Number of zones in X3-direction
x3min = 0 # minimum value of X3
Expand Down
4 changes: 2 additions & 2 deletions inputs/blast_wave_2d.pin
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ num_threads = 1 # maximum number of OMP threads
bc_vars = conserved

<parthenon/meshblock>
nx1 = 32
nx2 = 32
nx1 = 64
nx2 = 64
nx3 = 1

<parthenon/refinement0>
Expand Down
14 changes: 8 additions & 6 deletions inputs/bondi.pin
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@

<phoebus>
problem = bondi
ix1_bc = outflow
ox1_bc = outflow
ix1_bc = gr_outflow
ox1_bc = gr_outflow
ix2_bc = reflect
ox2_bc = reflect
ix3_bc = periodic
ox3_bc = periodic

<parthenon/job>
problem_id = bondi # problem ID: basename of output filenames
Expand Down Expand Up @@ -51,14 +53,14 @@ nghost = 4
nx1 = 256 # Number of zones in X1-direction
x1min = 0.59 # minimum value of X1
x1max = 5 # maximum value of X1
ix1_bc = user # Inner-X1 boundary condition flag
ox1_bc = user # Outer-X1 boundary condition flag
ix1_bc = gr_outflow # Inner-X1 boundary condition flag
ox1_bc = gr_outflow # Outer-X1 boundary condition flag

nx2 = 1 # Number of zones in X2-direction
x2min = 0 # minimum value of X2
x2max = 1 #3.14159265359 #1 # maximum value of X2. Pi
ix2_bc = user # Inner-X2 boundary condition flag
ox2_bc = user # Outer-X2 boundary condition flag
ix2_bc = reflect # Inner-X2 boundary condition flag
ox2_bc = reflect # Outer-X2 boundary condition flag

nx3 = 1 # Number of zones in X3-direction
x3min = 0 # minimum value of X3
Expand Down
29 changes: 13 additions & 16 deletions inputs/homogeneous_sphere.pin
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<phoebus>
problem = homogeneous_sphere
ix1_bc = reflect
ox1_bc = outflow
ox1_bc = gr_outflow

<parthenon/job>
problem_id = hom_sph # problem ID: basename of output filenames
Expand All @@ -39,17 +39,17 @@ nghost = 4
#refinement = adaptive
#numlevel = 3

nx1 = 128 # Number of zones in X1-direction
x1min = 0 # minimum value of X1
x1max = 5 # maximum value of X1
ix1_bc = user # Inner-X1 boundary condition flag
ox1_bc = user # Outer-X1 boundary condition flag
nx1 = 128 # Number of zones in X1-direction
x1min = 0 # minimum value of X1
x1max = 5 # maximum value of X1
ix1_bc = reflect # Inner-X1 boundary condition flag
ox1_bc = gr_outflow # Outer-X1 boundary condition flag

nx2 = 1 # Number of zones in X2-direction
x2min = 0 # minimum value of X2
x2max = 3.14159265359 # maximum value of X2
ix2_bc = periodic # Inner-X2 boundary condition flag
ox2_bc = periodic # Outer-X2 boundary condition flag
nx2 = 1 # Number of zones in X2-direction
x2min = 0 # minimum value of X2
x2max = 3.14159265359 # maximum value of X2
ix2_bc = periodic # Inner-X2 boundary condition flag
ox2_bc = periodic # Outer-X2 boundary condition flag

nx3 = 1 # Number of zones in X3-direction
x3min = -1 # minimum value of X3
Expand Down Expand Up @@ -98,10 +98,7 @@ nu_min = 1.e15
nu_max = 1.e22
nu_bins = 200
absorption = true
do_nu_electron = true
do_nu_electron_anti = false
do_nu_heavy = false

:x
AstroBarker marked this conversation as resolved.
Show resolved Hide resolved
B_fake = 1.0
use_B_fake = true

Expand All @@ -110,7 +107,7 @@ type = gray
gray_kappa = 1.e1

<homogeneous_sphere>
J = 0.01
J = 0.1
Hx = 0.01
Hy = 0.0
Hz = 0.0
Expand Down
8 changes: 4 additions & 4 deletions inputs/homologous.pin
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ numlevel = 3
nx1 = 10000 # Number of zones in X1-direction
x1min = 0 # minimum value of X1
x1max = 0.10086475522209183 # maximum value of X1
ix1_bc = user # Inner-X1 boundary condition flag
ox1_bc = user # Outer-X1 boundary condition flag
ix1_bc = reflect # Inner-X1 boundary condition flag
ox1_bc = reflect # Outer-X1 boundary condition flag

nx2 = 1 # Number of zones in X2-direction
x2min = 0 # minimum value of X2
x2max = 3.14159265359 # maximum value of X2. Pi
ix2_bc = user # Inner-X2 boundary condition flag
ox2_bc = user # Outer-X2 boundary condition flag
ix2_bc = reflect # Inner-X2 boundary condition flag
ox2_bc = reflect # Outer-X2 boundary condition flag

nx3 = 1 # Number of zones in X3-direction
x3min = 0 # minimum value of X3
Expand Down
16 changes: 8 additions & 8 deletions inputs/mhd_shocktube.pin
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<phoebus>
problem = shock_tube
ix1_bc = outflow
ox1_bc = outflow
ix1_bc = gr_outflow
ox1_bc = gr_outflow

<parthenon/job>
problem_id = sod # problem ID: basename of output filenames
Expand Down Expand Up @@ -43,13 +43,13 @@ dt_init_fact = 1.e-6
#numlevel = 3
nghost = 4

nx1 = 256 # Number of zones in X1-direction
x1min = 0 # minimum value of X1
x1max = 1 # maximum value of X1
ix1_bc = user # Inner-X1 boundary condition flag
ox1_bc = user # Outer-X1 boundary condition flag
nx1 = 256 # Number of zones in X1-direction
x1min = 0 # minimum value of X1
x1max = 1 # maximum value of X1
ix1_bc = gr_outflow # Inner-X1 boundary condition flag
ox1_bc = gr_outflow # Outer-X1 boundary condition flag

nx2 = 1 # Number of zones in X2-direction
nx2 = 1 # Number of zones in X2-direction
x2min = -1 # minimum value of X2
x2max = 1 # maximum value of X2
ix2_bc = periodic # Inner-X2 boundary condition flag
Expand Down
8 changes: 4 additions & 4 deletions inputs/progenitor.pin
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ bc_vars = conserved
nx1 = 8000 # Number of zones in X1-direction
x1min = 0 # minimum value of X1
x1max = 1. # maximum value of X1
ix1_bc = user # Inner-X1 boundary condition flag
ox1_bc = user # Outer-X1 boundary condition flag
ix1_bc = reflect # Inner-X1 boundary condition flag
ox1_bc = reflect # Outer-X1 boundary condition flag

nx2 = 1 # Number of zones in X2-direction
x2min = 0 # minimum value of X2
x2max = 3.14159265359 # maximum value of X2. Pi
ix2_bc = user # Inner-X2 boundary condition flag
ox2_bc = user # Outer-X2 boundary condition flag
ix2_bc = reflect # Inner-X2 boundary condition flag
ox2_bc = reflect # Outer-X2 boundary condition flag

nx3 = 1 # Number of zones in X3-direction
x3min = 0 # minimum value of X3
Expand Down
3 changes: 0 additions & 3 deletions inputs/radiation_advection.pin
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ nu_min = 1.e-2
nu_max = 1.e2
nu_bins = 10
absorption = true
do_nu_electron = true
do_nu_electron_anti = false
do_nu_heavy = false
src_solver = oned

<radiation/mocmc>
Expand Down
3 changes: 0 additions & 3 deletions inputs/radiation_equilibration.pin
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ nu_min = 1.e-2
nu_max = 1.e2
nu_bins = 10
absorption = true
do_nu_electron = true
do_nu_electron_anti = false
do_nu_heavy = false

<opacity>
type = gray
Expand Down
16 changes: 8 additions & 8 deletions inputs/rhs_tester.pin
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<phoebus>
problem = rhs_tester
ix1_bc = reflect
ox1_bc = outflow
ox1_bc = gr_outflow
ix2_bc = reflect
ox2_bc = reflect

Expand Down Expand Up @@ -50,17 +50,17 @@ nghost = 4
#refinement = adaptive
#numlevel = 3

nx1 = 64 # Number of zones in X1-direction
x1min = 0 # minimum value of X1
x1max = 1 # maximum value of X1
ix1_bc = user # Inner-X1 boundary condition flag
ox1_bc = user # Outer-X1 boundary condition flag
nx1 = 64 # Number of zones in X1-direction
x1min = 0 # minimum value of X1
x1max = 1 # maximum value of X1
ix1_bc = reflect # Inner-X1 boundary condition flag
ox1_bc = gr_outflow # Outer-X1 boundary condition flag

nx2 = 1 # Number of zones in X2-direction
x2min = 0 # minimum value of X2
x2max = 3.14159265359 # maximum value of X2. Pi
ix2_bc = user # Inner-X2 boundary condition flag
ox2_bc = user # Outer-X2 boundary condition flag
ix2_bc = reflect # Inner-X2 boundary condition flag
ox2_bc = reflect # Outer-X2 boundary condition flag

nx3 = 1 # Number of zones in X3-direction
x3min = 0 # minimum value of X3
Expand Down
Loading