|
|
| FixToAtmosphere (double density_of_atmosphere, double density_cutoff, std::optional< VelocityLimitingOptions > velocity_limiting, std::optional< KappaLimitingOptions > kappa_limiting, const Options::Context &context={}) |
| |
|
| FixToAtmosphere (const FixToAtmosphere &)=default |
| |
|
FixToAtmosphere & | operator= (const FixToAtmosphere &)=default |
| |
|
| FixToAtmosphere (FixToAtmosphere &&)=default |
| |
|
FixToAtmosphere & | operator= (FixToAtmosphere &&)=default |
| |
|
void | pup (PUP::er &p) |
| |
|
template<size_t ThermodynamicDim> |
| void | operator() (gsl::not_null< Scalar< DataVector > * > rest_mass_density, gsl::not_null< Scalar< DataVector > * > specific_internal_energy, gsl::not_null< tnsr::I< DataVector, Dim, Frame::Inertial > * > spatial_velocity, gsl::not_null< Scalar< DataVector > * > lorentz_factor, gsl::not_null< Scalar< DataVector > * > pressure, gsl::not_null< Scalar< DataVector > * > temperature, const Scalar< DataVector > &electron_fraction, const tnsr::ii< DataVector, Dim, Frame::Inertial > &spatial_metric, const EquationsOfState::EquationOfState< true, ThermodynamicDim > &equation_of_state) const |
| |
|
|
double | density_of_atmosphere () const |
| | Other algorithmic decisions may depend on the atmosphere treatment so provide access to the values.
|
| |
|
double | density_cutoff () const |
| | Other algorithmic decisions may depend on the atmosphere treatment so provide access to the values.
|
| |
|
const std::optional< VelocityLimitingOptions > & | velocity_limiting () const |
| | Other algorithmic decisions may depend on the atmosphere treatment so provide access to the values.
|
| |
|
const std::optional< KappaLimitingOptions > & | kappa_limiting () const |
| | Other algorithmic decisions may depend on the atmosphere treatment so provide access to the values.
|
| |
template<size_t Dim>
class VariableFixing::FixToAtmosphere< Dim >
Fix the primitive variables to an atmosphere in low density regions.
If the rest mass density is below \(\rho_{\textrm{cutoff}}\) (DensityCutoff), it is set to \(\rho_{\textrm{atm}}\) (DensityOfAtmosphere), and the pressure, and specific internal energy (for one-dimensional equations of state) are adjusted to satisfy the equation of state. For a two-dimensional equation of state, the specific internal energy is set to zero.