SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::equations::ValidContributions< RowT, TupleT > Struct Template Reference

A compile-time check to ensure that a tuple of contributions is valid for a given residual row type. This is the default false specialization. More...

#include <concepts.hpp>

Inheritance diagram for serif::equations::ValidContributions< RowT, TupleT >:
[legend]
Collaboration diagram for serif::equations::ValidContributions< RowT, TupleT >:
[legend]

Detailed Description

template<typename RowT, typename TupleT>
struct serif::equations::ValidContributions< RowT, TupleT >

A compile-time check to ensure that a tuple of contributions is valid for a given residual row type. This is the default false specialization.

A compile-time check to ensure that a tuple of contributions is valid for a given residual row type. This is the specialization for a non-empty tuple of contributions.

Template Parameters
RowTThe type of the residual row that the contributions must share.
TupleTA tuple of contributions to validate.
RowTThe type of the residual row that the contributions must share.
CThe first contribution type in the tuple.
RestCsThe remaining contribution types in the tuple.
Compile Time True Type If
  • The size of C (contributions) is not zero
  • Each contribution satisfies the PointEquation concept
  • Each contribution's test type is the same as RowT

The documentation for this struct was generated from the following file: