-
Notifications
You must be signed in to change notification settings - Fork 3
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
Development #85
Open
srichers
wants to merge
70
commits into
release
Choose a base branch
from
development
base: release
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Development #85
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Added descriptive amrex::Error messages in generate_code.py Swtiched amrex::Abort to amrex::Error with descriptive error message * added more to amrex::Error messages
… mass3_eV = 0 for these to run. (#56)
…plifies the result without extraneous Is in real numbers
…or vector length in place
…ct that the timestep is more liberal now
…agnitude and one that returns the magnitude squared. This will allow us to add the flux components without repeatedly square rooting and squaring.
…he minimum particle energy in initializing step to avoid doing a reduction over particles at every timestep under the assumption that particle energies do not change
…eeds antineutrinos to be conjugated
…ng into the maxError limit
…to limit timestep based on total lepton density
…s 0 because of equal numbers of neutrinos and antineutrinos by introducing a parameter (max_adaptive_speedup). When set to 0 it behaves exactly as before, except for the inclusion of the vacuum potential in the timestep calculation. When set towards infinity, it always allows the "optimized" timestep, which may itself become infinite if terms happen to cancel by chance, but otherwise is a much better estimate of the required timestep
…ding the ParticleContainer copy operator, fix mistake in conjugation of Hermitian matrices.
Optimize timestep
* added vscode and generated_files directories to the gitignore file * added Minerbo closure initial conditions * added references for the minerbo equations * added a tad more explanatory text * improved st5 code comments * fixed coefficient in front of minerbo closure to make it have an expectation value of 1. Was getting results too small by a factor of 4pi before. Co-authored-by: Sherwood Richers <srichers@caltech.edu>
* Copied Castro function for printing build information to screen * Copy castro function for outputting information into plotfiles, simply deleting lines that don't work in emu Co-authored-by: Sherwood Richers <srichers@caltech.edu>
)" This reverts commit 97499f2.
* Revert "Added descriptive amrex::Error messages in generate_code.py (#53)" This reverts commit 97499f2. * add host tag to reduction lambda to allow code to compile on GPUs * added input parameters for code comparison project * fix code comparison initial conditions. Broadcast random nubers so all grids have the same set. Multiply perturbation amplitude by 0.5 to match convention with polarization vectors * fix perturbation of antineutrinos to have correct sign relative to neutrinos * added local perturbations initial conditions Co-authored-by: Sherwood Richers <srichers@caltech.edu> Co-authored-by: Sherwood Richers <srichers@berkeley.edu>
* first attempt at files to run Emu on Jenkins * remove python package to allow python-is-python3 to install without conflicts * add sympy python package * fix capitalization * tiny file rename * use GPU-capable dockerfile, although GPU usage in dockerfile still has to be enabled somehow * enable GPU usage * enable GPU use in jenkins? * remove debugging from compile and use proper name for compiled executable in jenkins script * update dockerfile to version that includes nvidia development tools * capitalization issue Co-authored-by: Sherwood Richers <srichers@caltech.edu>
* Update Emu to use the latest AMReX with some modifications to the AMReX TimeIntegrator class. * Update RNG API to use the new AMReX RNG interface (needed for DPC++ compiler). * Compile with C++17 standard. * Fixed compiler warnings when compiling with DEBUG=TRUE. * Update RNG API for CPU-side RNG call. * Update AMReX submodule hash to latest AMReX development branch. * Until this line gets merged into AMReX for the Particle Saxpy function in the time integrator, this is a workaround.
…ies in the direction of the specified flux
…ow why it was changed in the first place...
Co-authored-by: Sherwood Richers <richers@utk.edu>
…l do off-diagonal perturbations. This is a more physically palettable way of doing perturbations
…potential do off-diagonal perturbations. This is a more physically palettable way of doing perturbations" This reverts commit 0fc2f43.
* Specify the modules used in Emu in README * Incorporating feedback from review * Correct a small typo * Testing subtitles in README * Dividing instructions for Linux/WSL and macOS * Fixing subtitles * Fixing subtitles * Changing subtitle format * To show where to start reading after following the Linux/macOS instructios * Incorporating suggestions
* Specify the modules used in Emu in README * Incorporating feedback from review * Correct a small typo * Testing subtitles in README * Dividing instructions for Linux/WSL and macOS * Fixing subtitles * Fixing subtitles * Changing subtitle format * To show where to start reading after following the Linux/macOS instructios * Incorporating suggestions * macOS instructions * mac makefile --------- Co-authored-by: Javier Gomez <jgomez17@vols.utk.edu> Co-authored-by: Sherwood Richers <5142652+srichers@users.noreply.github.com>
* add option to code generator. Not yet used * add pressure tensor calculation and output. Not verified to be correct yet. Also changed the form of the compile variable determining how many moments to output to make it usable both by the C++ code and the python code * remove unused libraries * fix typo in dataset name * quick script to create a text file with the largest wavenumber and amplitude * script to draw eln from initial conditions --------- Co-authored-by: Sherwood Richers <richers@utk.edu>
* check which version of HDF5 should be loaded * script for converting a reduced0D file to hdf5 --------- Co-authored-by: Sherwood Richers <richers@utk.edu>
* Improving k_plot * changed line endings to unix --------- Co-authored-by: Sherwood Richers <richers@utk.edu>
Co-authored-by: Sherwood Richers <richers@utk.edu>
Co-authored-by: Sherwood Richers <richers@utk.edu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.