Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shammodels::basegodunov::AMRMode< Tvec, TgridVec >::JeansLengthBased Struct Reference

Refine the blocks where the Jeans length is resolved by less than N_J cells. More...

#include <shammodels/ramses/include/shammodels/ramses/SolverConfig.hpp>

Public Attributes

u32 N_J = 4

Detailed Description

template<class Tvec, class TgridVec>
struct shammodels::basegodunov::AMRMode< Tvec, TgridVec >::JeansLengthBased

Refine the blocks where the Jeans length is resolved by less than N_J cells.

A block is refined if one of its cells has \( N_J \Delta x > \lambda_J = \sqrt{\pi c_s^2 / (G \rho)} \), with the sound speed of the equation of state (of the barotrope with the InstantBarotropic cooling). It is derefined if the coarse cells of size \( 2 \Delta x \) would still resolve the Jeans length of all its cells by more than \( \sqrt{2} N_J \) cells (hysteresis margin).

Definition at line 127 of file SolverConfig.hpp.

Member Data Documentation

◆ N_J

template<class Tvec, class TgridVec>
u32 shammodels::basegodunov::AMRMode< Tvec, TgridVec >::JeansLengthBased::N_J = 4

Definition at line 128 of file SolverConfig.hpp.


The documentation for this struct was generated from the following file: