File Castro_react.H

Functions

advance_status do_old_reactions(Real time, Real dt)

Perform any old-time reactions.

advance_status do_new_reactions(Real time, Real dt)

Perform any new-time reactions.

int react_state(amrex::MultiFab &state, amrex::MultiFab &reactions, amrex::Real time, amrex::Real dt, const int strang_half)

React state through a single reaction timestep, saving reaction source terms to reactions MultiFab. This is the CTU version.

Parameters:
  • state – Current state

  • reactions – MultiFab to save reaction sources to

  • time – current time

  • dt – reaction timestep

int react_state(amrex::Real time, amrex::Real dt)

Simplified SDC version of react_state. Reacts the current state through a single timestep.

Parameters:
  • time – current time

  • dt – timestep

static bool valid_zones_to_burn(amrex::MultiFab &State)

Are there any zones in State that can burn?

Parameters:

State – State MultiFab