Discontinuous Galerkin Library
#include "dg/algorithm.h"
dg::RecursiveVectorTag Struct Reference

This tag indicates composition/recursion. More...

Inheritance diagram for dg::RecursiveVectorTag:
[legend]

Detailed Description

This tag indicates composition/recursion.

This Tag indicates that a class is composed of an array of containers, i.e. a container of containers. We assume that the bracket operator[] is defined to access the inner elements and the size() function returns the number of elements.

Note
The class must typedef value_type (the "inner" type that is returned by the bracket operator) and dg::TensorTraits<value_type> must be specialized for this type.
Examples are std::vector<T> and std::array<T,N> where T is the inner type and N is the size of the array

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