#include <mixed.hh>
|
template<Dim dim> |
using | TPtr = std::shared_ptr< T< dim >> |
|
|
template<template< Dim... > class TT> |
| MixedPtr (const MixedPtr< TT, 1 > &other) |
|
| MixedPtr (TPtr< 1 > p1, TPtr< 2 > p2, TPtr< 3 > p3) |
|
template<typename... Args> |
| MixedPtr (Args...args) |
|
template<Dim i_dim> |
std::shared_ptr< T< i_dim > > | get () |
|
template<int i_dim> |
const std::shared_ptr< T< i_dim > > | get () const |
|
Mixed< T, 1 > | operator* () |
|
template<template< Dim... > class T>
class MixedPtr< T, 1 >
Definition at line 267 of file mixed.hh.
template<template< Dim... > class T>
template<Dim dim>
Template to simplify storing and passing tuples of shatred_ptr to instances of dimension parametrized templates. Currently instances for dim = 0,1,2,3 are created. We assume spacedim=3. Usage:
fe_order = 10; auto gauss = MixedPtr<QGauss>(q_order); // template <int dim>=""> class QGauss; auto mapping = MixedSpaceDimPtr<Mapping>(); // template <int dim, int spacedim> class Mapping; ... fe_values = FEValues<dim>(*mapping.get<dim>(), *gauss.get<dim>(), ...)
All parameters of the Mixed<T>(...) constructor are forwarder (by value) to the T(...) constructor for every dimension. Only forwarding by value is supported due to problems with MixedPtr. We are unable to give precedence to the copy constructor over the prefect forwarding constructor MixedPtr(Args&& ...).
Definition at line 285 of file mixed.hh.
template<template< Dim... > class T>
template<template< Dim... > class TT>
template<template< Dim... > class T>
template<template< Dim... > class T>
template<typename... Args>
template<template< Dim... > class T>
template<Dim i_dim>
std::shared_ptr<T<i_dim> > MixedPtr< T, 1 >::get |
( |
| ) |
|
|
inline |
template<template< Dim... > class T>
template<int i_dim>
const std::shared_ptr<T<i_dim> > MixedPtr< T, 1 >::get |
( |
| ) |
const |
|
inline |
template<template< Dim... > class T>
The documentation for this class was generated from the following file:
- /opt/flow123d/flow123d/src/tools/mixed.hh