SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
NewtonianEuler::Sources::Source< Dim > Class Template Referenceabstract

Source terms base class. More...

#include <Source.hpp>

Public Member Functions

virtual auto get_clone () const -> std::unique_ptr< Source >=0
virtual void operator() (gsl::not_null< Scalar< DataVector > * > source_mass_density_cons, gsl::not_null< tnsr::I< DataVector, Dim > * > source_momentum_density, gsl::not_null< Scalar< DataVector > * > source_energy_density, const Scalar< DataVector > &mass_density_cons, const tnsr::I< DataVector, Dim > &momentum_density, const Scalar< DataVector > &energy_density, const tnsr::I< DataVector, Dim > &velocity, const Scalar< DataVector > &pressure, const Scalar< DataVector > &specific_internal_energy, const EquationsOfState::EquationOfState< false, 2 > &eos, const tnsr::I< DataVector, Dim > &coords, double time) const =0

Detailed Description

template<size_t Dim>
class NewtonianEuler::Sources::Source< Dim >

Source terms base class.


The documentation for this class was generated from the following file:
  • src/Evolution/Systems/NewtonianEuler/Sources/Source.hpp