Flow123d  3.9.0-960b954f9
Classes | Typedefs | Functions | Variables
mixed.hh File Reference
#include <tuple>
#include <memory>
#include <iostream>
#include <type_traits>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Dim< I >
 
class  Mixed< T, lower_dim >
 
class  Mixed< T, 1 >
 
class  MixedPtr< T, lower_dim >
 
class  MixedPtr< T, 1 >
 

Typedefs

using IntDim = unsigned int
 A dimension index type. More...
 
template<template< IntDim ... > class T>
using _MixedBase0 = std::tuple< T< 0 >, T< 1 >, T< 2 >, T< 3 > >
 
template<template< IntDim ... > class T>
using _MixedBase1 = std::tuple< T< 1 >, T< 2 >, T< 3 > >
 
template<template< IntDim... > class T>
using _MixedPtrBase0 = std::tuple< std::shared_ptr< T< 0 > >, std::shared_ptr< T< 1 > >, std::shared_ptr< T< 2 > >, std::shared_ptr< T< 3 > >>
 ‍** More...
 
template<template< IntDim... > class T>
using _MixedPtrBase1 = std::tuple< std::shared_ptr< T< 1 > >, std::shared_ptr< T< 2 > >, std::shared_ptr< T< 3 > >>
 

Functions

template<char... Digits>
constexpr std::size_t parse_dim ()
 
template<char... Digits>
auto operator""_d ()
 

Variables

const int __spacedim = 3
 

Typedef Documentation

◆ _MixedBase0

template<template< IntDim ... > class T>
using _MixedBase0 = std::tuple<T<0>, T<1>, T<2>, T<3> >

Definition at line 57 of file mixed.hh.

◆ _MixedBase1

template<template< IntDim ... > class T>
using _MixedBase1 = std::tuple<T<1>, T<2>, T<3> >

Definition at line 60 of file mixed.hh.

◆ _MixedPtrBase0

template<template< IntDim... > class T>
using _MixedPtrBase0 = std::tuple< std::shared_ptr<T<0> >, std::shared_ptr<T<1> >, std::shared_ptr<T<2> >, std::shared_ptr<T<3> >>

‍**

Definition at line 239 of file mixed.hh.

◆ _MixedPtrBase1

template<template< IntDim... > class T>
using _MixedPtrBase1 = std::tuple< std::shared_ptr<T<1> >, std::shared_ptr<T<2> >, std::shared_ptr<T<3> >>

Definition at line 243 of file mixed.hh.

◆ IntDim

using IntDim = unsigned int

A dimension index type.

Definition at line 19 of file mixed.hh.

Function Documentation

◆ operator""_d()

template<char... Digits>
auto operator""_d ( )

Definition at line 45 of file mixed.hh.

◆ parse_dim()

template<char... Digits>
constexpr std::size_t parse_dim ( )
constexpr

Implement literals> '0_d', '1_d', ... constexpr literal '_d' magic

See: https://arne-mertz.de/2016/10/modern-c-features-user-defined-literals/

Definition at line 35 of file mixed.hh.

Here is the caller graph for this function:

Variable Documentation

◆ __spacedim

const int __spacedim = 3

Definition at line 16 of file mixed.hh.