AMReX-Astro / Castro

Castro (Compressible Astrophysics): An adaptive mesh, astrophysical compressible (radiation-, magneto-) hydrodynamics simulation code for massively parallel CPU and GPU architectures.
http://amrex-astro.github.io/Castro
Other
300 stars 97 forks source link

merge the self-consistent field initialization into mainline Castro #169

Closed zingale closed 5 years ago

zingale commented 7 years ago

A while back there was an implementation of the self-consistent field (SCF) initialization for binary white dwarfs in the wdmerger repo, in prob.cpp. This should be recovered from the git history and then merged into Castro proper.

This capability will also be useful for single rapidly-rotating stars.

maxpkatz commented 7 years ago

This existed at least as recently as December 2015, for example in wdmerger commit 742121c98699f08a423776a591ef8006fe646051.

maxpkatz commented 7 years ago

For wdmerger I implemented this for a binary system, but we'll want to have the capability to switch easily between single and binary systems.

maxpkatz commented 7 years ago

This is currently a WIP on the scf_relaxation branch.

harpolea commented 5 years ago

Fixed in #530