Flow123d  JS_before_hm-1623-gd361259
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 >>>
 
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

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.

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

Definition at line 60 of file mixed.hh.

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>>>

Partial template resolution (parameter binding). See implementation of MixedSpaceDim for the usage. Can be used for possible child classes of the Mixed template.

Definition at line 239 of file mixed.hh.

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.

using IntDim = unsigned int

A dimension index type.

Definition at line 19 of file mixed.hh.

Function Documentation

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

Definition at line 45 of file mixed.hh.

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

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

const int __spacedim = 3

Definition at line 16 of file mixed.hh.