SimiLie
Loading...
Searching...
No Matches
similie::physics::ConstitutiveLawConcept Concept Reference

#include <concepts.hpp>

Concept definition

template<class Law, class Element>
concept similie::physics::ConstitutiveLawConcept = requires(Law const& law, typename Law::State const& state, Element element) {
typename std::integral_constant<std::size_t, Law::N>;
{
law(state, element)
} -> std::same_as<sil::exterior::Form<std::array<double, Law::N>>>;
{ law.value(state, element) } -> std::same_as<std::array<double, Law::N * Law::N>>;
{ law.jacobian(state, element) } -> std::same_as<std::array<double, Law::N * Law::N>>;
{
law.inverse(state, element)
} -> std::same_as<sil::exterior::Form<std::array<double, Law::N>>>;
{
law.inverse_value(state, element)
} -> std::same_as<std::array<double, Law::N * Law::N>>;
}

Detailed Description

Definition at line 172 of file physics/concepts.hpp.