Castro
Castro copied to clipboard
Castro (Compressible Astrophysics): An adaptive mesh, astrophysical compressible (radiation-, magneto-) hydrodynamics simulation code for massively parallel CPU and GPU architectures.
The implementation of the slipwall and noslipwall boundaries in `Castro_setup.cpp` appear to be identical. noslipwall should force the transverse velocity to 0.
The `castro.update_sources_after_reflux` functionality uses the "new" source stuff, and does the corrector after the flux correction. But for MOL (and new SDC) integration, we don't ever use the new source...
Currently we treat diffusion as an external source and compute the old-time diffusion from `S_old`, use this in the predictor, and then compute the new-time diffusion after the conservative update,...
To make it easier to discover, document, and add runtime parameters, we should modify `Gravity.cpp`, `Radiation.cpp`, and `Diffusion.cpp` to use the `_cpp_parameters` functionality.
Atleast for pure hydro problems, it would be useful to support rectangular cells. In particular, for the XRB problems. This should mostly be a case of making sure the correct...
We should have an option to print out where in the domain is the most restrictive timestep and what limiter is the cause (hydro, diffusion, reaction, ...)
The older gravity source types are really not as good. Certainly types 1 and 3 aren't ever used. `grav_source_type = 2` might be useful for comparison purposes, but also could...
The Poisson solve absolute tolerance sets the accuracy of the Poisson solve. Given the value of abs_tol, the error level targeted in the Poisson solve is abs_tol * 4 *...
When on the GPU, we don't want to print, so we need to have a logging system that we can send messages to (in Fortran-land) and cache them, then output...
When we a radiation flux entering through a boundary into a vacuum state, the boundary conditions on the radiation energy in the hyperbolic part need to know about this. There...