support mesh refined grid scalars and grid arrays

Create issue
Issue #2047 new
Roland Haas created an issue

Every once in a while it would be useful if one had access to scalar/array variables for which there was one copy per refinement level and that may or may not restrict from the fine into the coarse levels.

Examples are * evolving particles along with the fields (restriction would happen) if there is actual back-and-forth interaction between particles and fields (ie not just tracers) * keeping track of a reduced quantity on a per-reflevel basis (eg. number of times RHS was evaluated for this level), not restriction in this case


Comments (1)

  1. Erik Schnetter
    • removed comment

    CarpetLib supports arbitrary AMR hierarchies for all variables. Carpet's Cactus interface does not. The best way to implement this would probably be to define a new type of grid variable (currently: scalar, array, gf).

  2. Log in to comment