MGIS
Loading...
Searching...
No Matches
CompileTimeSize.hxx File Reference
#include <span>
#include <array>

Classes

struct  mgis::function::internals::CompileTimeSize< T >
 
struct  mgis::function::internals::CompileTimeSize< real >
 partial specialization for floating point number More...
 
struct  mgis::function::internals::CompileTimeSize< std::span< real, N > >
 partial specialization for fixed-sized span More...
 
struct  mgis::function::internals::CompileTimeSize< std::span< const real, N > >
 partial specialization for constant fixed-sized span More...
 
struct  mgis::function::internals::CompileTimeSize< std::span< real > >
 partial specialization for dynamic-sized span More...
 
struct  mgis::function::internals::CompileTimeSize< std::span< const real > >
 partial specialization for constant dynamic-sized span More...
 
struct  mgis::function::internals::CompileTimeSize< std::array< real, N > >
 partial specialization for fixed-sized array More...
 
struct  mgis::function::internals::CompileTimeSize< std::array< const real, N > >
 partial specialization for constant fixed-sized array More...
 

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.
 

Variables

template<typename T >
constexpr size_type mgis::function::compile_time_size
 
template<typename FunctionOrEvaluatorType >
constexpr size_type mgis::function::number_of_components
 number of components of a type when known at compile-time, dynamic_extent otherwise
 

Detailed Description

Author
Thomas Helfer
Date
10/05/2025

Variable Documentation

◆ compile_time_size

template<typename T >
constexpr size_type mgis::function::compile_time_size
inlineconstexpr
Initial value:
=
internals::CompileTimeSize<T>::value
Returns
the number of components (size) of a type if known, dynamic_extent otherwise
Template Parameters
Ttype

◆ number_of_components

template<typename FunctionOrEvaluatorType >
constexpr size_type mgis::function::number_of_components
inlineconstexpr
Initial value:
=
internals::NumberOfComponents<FunctionOrEvaluatorType>::value

number of components of a type when known at compile-time, dynamic_extent otherwise