← Back to team overview

dolfin team mailing list archive

[Question #148401]: min(a, b, c) functions in a ufl file for C++

 

New question #148401 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/148401

Hello,

A short question. If I have three coefficients a,b,c (say all Lagrange finite elements), can I find their minimum using

m = min(a,b,c)

using ffc, to use with C++?

The form compiles alright, but I couldnt find any reference to the min function in the ufl documentation, so I dont know if that works as I intend or not.

Thanks,
-Jehanzeb

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.