Loading...
Searching...
No Matches
powercompositenodetransformationtemplates.hh
Go to the documentation of this file.
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-GPL-2.0-only-with-PDELab-exception
#ifndef DUNE_TYPETREE_POWERCOMPOSITENODETRANSFORMATIONTEMPLATES_HH
#define DUNE_TYPETREE_POWERCOMPOSITENODETRANSFORMATIONTEMPLATES_HH
#include <cstddef>
#include <dune/typetree/nodeinterface.hh>
namespace Dune {
namespace TypeTree {
template<typename SourceNode, typename Transformation, template<typename,typename,std::size_t> class TransformedNode>
struct GenericPowerNodeTransformationTemplate
{
template<typename TC>
struct result
{
typedef TransformedNode<SourceNode,TC,StaticDegree<SourceNode>::value> type;
};
};
template<typename SourceNode, typename Transformation, template<typename,typename> class TransformedNode>
struct GenericDynamicPowerNodeTransformationTemplate
{
template<typename TC>
struct result
{
typedef TransformedNode<SourceNode,TC> type;
};
};
template<typename SourceNode, typename Transformation, template<typename,typename...> class TransformedNode>
struct GenericCompositeNodeTransformationTemplate
{
template<typename... TC>
struct result
{
typedef TransformedNode<SourceNode,TC...> type;
};
};
} // namespace TypeTree
} //namespace Dune
#endif // DUNE_TYPETREE_POWERCOMPOSITENODETRANSFORMATIONTEMPLATES_HH
nodeinterface.hh
Dune
Definition accumulate_static.hh:17
Dune::TypeTree
Definition accumulate_static.hh:18
Dune::TypeTree::GenericPowerNodeTransformationTemplate
Definition powercompositenodetransformationtemplates.hh:23
Dune::TypeTree::GenericPowerNodeTransformationTemplate::result
Definition powercompositenodetransformationtemplates.hh:26
Dune::TypeTree::GenericPowerNodeTransformationTemplate::result::type
TransformedNode< SourceNode, TC, StaticDegree< SourceNode >::value > type
Definition powercompositenodetransformationtemplates.hh:27
Dune::TypeTree::GenericDynamicPowerNodeTransformationTemplate
Definition powercompositenodetransformationtemplates.hh:34
Dune::TypeTree::GenericDynamicPowerNodeTransformationTemplate::result
Definition powercompositenodetransformationtemplates.hh:37
Dune::TypeTree::GenericDynamicPowerNodeTransformationTemplate::result::type
TransformedNode< SourceNode, TC > type
Definition powercompositenodetransformationtemplates.hh:38
Dune::TypeTree::GenericCompositeNodeTransformationTemplate
Definition powercompositenodetransformationtemplates.hh:44
Dune::TypeTree::GenericCompositeNodeTransformationTemplate::result
Definition powercompositenodetransformationtemplates.hh:47
Dune::TypeTree::GenericCompositeNodeTransformationTemplate::result::type
TransformedNode< SourceNode, TC... > type
Definition powercompositenodetransformationtemplates.hh:48