traits.cpp serif/eos/models/traits.hpp serif/eos/models/concepts.hpp serif/eos/models/polytropic.hpp #include"serif/eos/models/traits.hpp" #include"serif/eos/models/concepts.hpp" #include"serif/eos/models/polytropic.hpp" usingnamespaceserif::eos; usingnamespaceserif::dimensions; static_assert(models::EOSModel<models::Polytrope>,"PolytropeshouldsatisfytheEOSmodelcontract"); static_assert(models::StructureSeedEOS<models::Polytrope>,"Polytropeshouldsupportstructureseeds"); static_assert(models::EOSSupportingPartialDerivative<models::Polytrope,relations::DensityFromSpecificEnthalpy,SpecificEnthalpy>,"Polytropeshouldsupportdensityfromenthalpyanditsderivative"); static_assert(models::EOSSupportingRelation<models::Polytrope,relations::PressureFromDensity>,"Polytropeshouldsupportpressurefromdensity"); static_assert(models::EOSSupportingRelation<models::Polytrope,relations::PressureFromSpecificEnthalpy>,"Polytropeshouldsupportpressurefromspecificenthalpy"); static_assert(models::EOSSupportingRelation<models::Polytrope,relations::SpecificEnthalpyFromDensity>,"Polytropeshouldsupportspecificenthalpyfromdensity"); static_assert(models::EOSSupportingRelation<models::Polytrope,relations::SpecificEnthalpyFromPressure>,"Polytropeshouldsupportspecificenthalpyfrompressure"); static_assert(models::EOSSupportingRelation<models::Polytrope,relations::DensityFromSpecificEnthalpy>,"Polytropeshouldsupportdensityfromspecificenthalpy"); static_assert(models::EOSSupportingPartialDerivative<models::Polytrope,relations::PressureFromDensity,MassDensity>,"Polytropeshouldsupportpartialderivativeofpressurewithrespecttodensity"); static_assert(models::EOSSupportingPartialDerivative<models::Polytrope,relations::PressureFromSpecificEnthalpy,SpecificEnthalpy>,"Polytropeshouldsupportpartialderivativeofpressurewithrespecttospecificenthalpy"); static_assert(models::EOSSupportingPartialDerivative<models::Polytrope,relations::DensityFromSpecificEnthalpy,SpecificEnthalpy>,"Polytropeshouldsupportpartialderivativeofdensitywithrespecttospecificenthalpy"); static_assert(!models::EOSSupportingPartialDerivative<models::Polytrope,relations::SpecificEnthalpyFromDensity,MassDensity>,"Polytropeshouldnotsupportpartialderivativeofspecificenthalpywithrespecttodensity"); static_assert(!models::EOSSupportingPartialDerivative<models::Polytrope,relations::PressureFromDensity,Temperature>,"Polytropeshouldnotsupportpartialderivativeofpressurewithrespecttotemperature"); static_assert(!models::EOSModel<double>,"doubleshouldnotsatisfytheEOSmodelcontract");