The default initial conditions type in Rayleigh allow reading from a checkpoint file (init_type = -1 for thermal and velocity fields, magnetic_init_type = -2 for magnetic fields). Modifications made in this request allow for new IC's:
init_type = -2 reads checkpoint file as well as a user-supplied entropy profile. The sum total of these two is the new IC.
magnetic_init_type = -2 reads checkpoint file and user-supplied profiles of toroidal and poloidal field components. The sum total of checkpoint file and user-supplied profiles is the new IC.
An additional subroutine Get_RHS is added to src/Math_Layer/Linear_Solve.F90.
The default initial conditions type in Rayleigh allow reading from a checkpoint file (init_type = -1 for thermal and velocity fields, magnetic_init_type = -2 for magnetic fields). Modifications made in this request allow for new IC's:
An additional subroutine Get_RHS is added to src/Math_Layer/Linear_Solve.F90.