19 lines
640 B
C++
19 lines
640 B
C++
|
|
#pragma once
|
||
|
|
#include "serif/eos/relations/traits.hpp"
|
||
|
|
|
||
|
|
|
||
|
|
namespace serif::eos::relations {
|
||
|
|
template <typename Catalog, typename RelationT>
|
||
|
|
concept CatalogContainingRelation = relation_catalog_contains_relation_v<Catalog, RelationT>;
|
||
|
|
|
||
|
|
template <typename RelationT, typename Quantity>
|
||
|
|
concept RelationContainingInput = relation_contains_input_v<RelationT, Quantity>;
|
||
|
|
|
||
|
|
template <typename RelationCandidate>
|
||
|
|
concept ValidThermodynamicRelation = is_thermodynamic_relation_v<RelationCandidate>;
|
||
|
|
|
||
|
|
template <typename CandidateCatalog>
|
||
|
|
concept ValidRelationCatalog = is_valid_relation_catalog_v<CandidateCatalog>;
|
||
|
|
}
|
||
|
|
|