SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::blocks::SpatialTermTraits< TermT > Struct Template Reference

Helper struct representing the traits of some spatial term type, including its functional space, support, family, order, and rank. More...

#include <traits.hpp>

Public Types

using FunctionalSpace = TermT::FunctionalSpace
 The functional space type associated with the term. e.g. 2nd order scalar H1 space.
 
using Support = TermT::Support
 The support type associated with the term. e.g. stellar domain.
 

Static Public Attributes

static constexpr auto family = FunctionalSpace::functional_space.family
 The family of the functional space associated with the term. e.g. H1, L2, etc.
 
static constexpr int order = FunctionalSpace::order
 The order of the functional space associated with the term. e.g. 1st order, 2nd order, etc.
 
static constexpr std::size_t rank = FunctionalSpace::rank::value
 The rank of the functional space associated with the term.
 

Detailed Description

template<SpatialTerm TermT>
struct serif::discretization::blocks::SpatialTermTraits< TermT >

Helper struct representing the traits of some spatial term type, including its functional space, support, family, order, and rank.

Template Parameters
TermTThe spatial term type from which to extract the functional space and support types.

Member Typedef Documentation

◆ FunctionalSpace

template<SpatialTerm TermT>
using serif::discretization::blocks::SpatialTermTraits< TermT >::FunctionalSpace = TermT::FunctionalSpace

The functional space type associated with the term. e.g. 2nd order scalar H1 space.

◆ Support

template<SpatialTerm TermT>
using serif::discretization::blocks::SpatialTermTraits< TermT >::Support = TermT::Support

The support type associated with the term. e.g. stellar domain.

Member Data Documentation

◆ family

template<SpatialTerm TermT>
auto serif::discretization::blocks::SpatialTermTraits< TermT >::family = FunctionalSpace::functional_space.family
staticconstexpr

The family of the functional space associated with the term. e.g. H1, L2, etc.

◆ order

template<SpatialTerm TermT>
int serif::discretization::blocks::SpatialTermTraits< TermT >::order = FunctionalSpace::order
staticconstexpr

The order of the functional space associated with the term. e.g. 1st order, 2nd order, etc.

◆ rank

template<SpatialTerm TermT>
std::size_t serif::discretization::blocks::SpatialTermTraits< TermT >::rank = FunctionalSpace::rank::value
staticconstexpr

The rank of the functional space associated with the term.


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