AutoPas  3.0.0
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
checkFunctorType.h File Reference
#include "autopas/baseFunctors/PairwiseFunctor.h"
#include "autopas/baseFunctors/TriwiseFunctor.h"
Include dependency graph for checkFunctorType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  autopas
 This is the main namespace of AutoPas.
 
namespace  autopas::utils
 In this namespace some helper classes and functions can be found used inside of AutoPas.
 

Typedefs

template<typename FunctorT >
using autopas::utils::isPairwiseFunctor = decltype(isPairwiseFunctorImpl(std::declval< FunctorT >()))
 Check whether a Functor Type is inheriting from PairwiseFunctor.
 
template<typename FunctorT >
using autopas::utils::isTriwiseFunctor = decltype(isTriwiseFunctorImpl(std::declval< FunctorT >()))
 Check whether a Functor Type is inheriting from TriwiseFunctor.
 

Functions

std::false_type anonymous_namespace{checkFunctorType.h}::isPairwiseFunctorImpl (...)
 Returns false for any types that are not a PairwiseFunctor.
 
template<typename Particle_T , typename FunctorT >
std::true_type anonymous_namespace{checkFunctorType.h}::isPairwiseFunctorImpl (const autopas::PairwiseFunctor< Particle_T, FunctorT > &)
 Return true for a PairwiseFunctor type.
 
std::false_type anonymous_namespace{checkFunctorType.h}::isTriwiseFunctorImpl (...)
 Returns false for any types that are not a TriwiseFunctor.
 
template<typename Particle_T , typename FunctorT >
std::true_type anonymous_namespace{checkFunctorType.h}::isTriwiseFunctorImpl (const autopas::TriwiseFunctor< Particle_T, FunctorT > &)
 Return true for a TriwiseFunctor type.
 

Detailed Description

Date
28 Aug 2023
Author
muehlhaeusser