Bases: ufc.ufc.function, dolfin.cpp.common.Variable
This is a common base class for functions. Functions can be evaluated at a given point and they can be restricted to a given cell in a finite element mesh. This functionality is implemented by sub-classes that implement the eval() and restrict() functions.
DOLFIN provides two implementations of the GenericFunction interface in the form of the classes Function and Expression.
Sub-classes may optionally implement the update() function that will be called prior to restriction when running in parallel.
Compute values at all mesh vertices
Overloaded versions
eval(values, x, cell)
Evaluate at given point in given cell
eval(values, x)
Evaluate at given point
Overloaded versions
eval(values, x, cell)
Evaluate at given point in given cell
eval(values, x)
Evaluate at given point
Restrict function to local cell (compute expansion coefficients w)
The membership flag
Update off-process ghost coefficients
Return value dimension for given axis
Return value rank
Evaluation at given point Return value size (product of value dimensions)