File Castro_gravity.H

Functions

void construct_old_gravity(amrex::Real time)

Construct gravitational field at old timestep

Parameters:

time – current time

void construct_new_gravity(amrex::Real time)

Construct gravitational field at new timestep

Parameters:

time – current time

void construct_old_gravity_source(amrex::MultiFab &source, amrex::MultiFab &state, amrex::Real time, amrex::Real dt)

Construct gravitational source terms at old timestep

Parameters:
  • source – MultiFab to save sources to

  • state – Old state

  • time – current time

  • dt – timestep

void construct_new_gravity_source(amrex::MultiFab &source, amrex::MultiFab &state_old, amrex::MultiFab &state_new, amrex::Real time, amrex::Real dt)

Construct gravitational source terms at new timestep

Parameters:
  • source – MultiFab to save sources to

  • state_old – Old state

  • state_new – New state

  • time – current time

  • dt – timestep