Aboria

PrevUpHomeNext

Macro ABORIA_TERNARY_FUNCTION

ABORIA_TERNARY_FUNCTION

Synopsis

// In header: </home/travis/build/martinjrobins/Aboria/src/Functions.h>

ABORIA_TERNARY_FUNCTION(function_name, function_to_wrap, domain)

Description

a macro to generate a symbolic function taking three arguments using a given functor

Parameters:

domain

the domain of the symbolic function (normally SymbolicDomain)

function_name

the name of the symbolic function to generate

function_to_wrap

a functor that defines a typedef result_type with the returned type, and a operator() that takes three arguments and returns result_type


PrevUpHomeNext