.\" .de Id .. .de Sp .if n .sp .if t .sp 0.4 .. .TH compose 4rheolef "rheolef-7.0" "rheolef-7.0" "rheolef-7.0" .\" label: /*Class:compose .SH NAME \fBcompose\fP - a n-ary function with n fields .SH DESCRIPTION Compose a n-ary function f with n fields. .\" begin_example .Sp .nf geo omega ("circle"); space Xh (omega, "P1"); field uh (Xh, 1.0); field vh = interpolate (compose(f,uh)); .Sp .fi .\" end_example The \fBcompose\fP operator could be used in all non-linear expressions involved in either the \fBinterpolate\fP or the \fBintegrate\fP functions (see interpolate(4) and integrate(4)). The \fBf\fP function could be either a usual function or a functor. .SH CHARACTERISTIC The \fBcompose\fP function supports also the characteristic algorithm (see characteristic(2)) used for convection. .\" begin_example .Sp .nf characteristic X (-delta_t*uh); test v (Xh); field lh = integrate (compose(uh,X)*v); .Sp .fi .\" end_example .SH IMPLEMENTATION The n-arity bases on the variadic template feature of the 2011 c++ normalisation. When this feature is not available, only unary and binary functions are supported. .\" skip start:AUTHOR: .\" skip start:DATE: .\" END .\" LENGTH = 3 .SH SEE ALSO interpolate(4), integrate(4), characteristic(2) .SH COPYRIGHT Copyright (C) 2000-2018 Pierre Saramito GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.