Aboria

PrevUpHomeNext

Macro ABORIA_VARIABLE

ABORIA_VARIABLE — a macro to conveniently define variable types

Synopsis

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

ABORIA_VARIABLE(NAME, DATA_TYPE, NAME_STRING)

Description

Parameters:

DATA_TYPE

the type used to contain the data of the variable, e.g. int, double

NAME

the name of the generated type

NAME_STRING

a string used to name or describe the variable, e.g. "scalar", "velocity"


PrevUpHomeNext