details.cpp serif/eos/runtime/details.hpp serif/eos/models/polytropic.hpp #include"serif/eos/runtime/details.hpp" #include"serif/eos/models/polytropic.hpp" usingnamespaceserif::eos; usingnamespaceserif::dimensions; static_assert(serif::eos::runtime::RuntimeCatalogIsSupported<models::Polytrope::Relations>::value,"PolytropicEOSrelationsshouldbesupportedintheruntimecatalog."); static_assert(serif::eos::runtime::RuntimeRelationStorage<models::Polytrope, relations::PressureFromDensity>::descriptor.hasPartialDerivative(0),"PolytropicEOSshouldhavepartialderivativeofpressurewithrespecttodensity"); static_assert(serif::eos::runtime::RuntimeRelationStorage<models::Polytrope, relations::DensityFromSpecificEnthalpy>::descriptor.hasPartialDerivative(0),"PolytropicEOSshouldhavepartialderivativeofdensitywithrespecttospecificenthalpy"); static_assert(!serif::eos::runtime::RuntimeRelationStorage<models::Polytrope, relations::SpecificEnthalpyFromPressure>::descriptor.hasPartialDerivative(0),"PolytropicEOSshouldnothavepartialderivativeofspecificenthalpywithrespecttopressure"); static_assert(!serif::eos::runtime::RuntimeRelationStorage<models::Polytrope, relations::PressureFromDensity>::descriptor.hasPartialDerivative(1),"PolytropicEOSshouldnothavepartialderivativeofpressurewithrespecttothesecondvariable");