next up previous contents
Next: Finite Element Spaces Up: Reference Manual Previous: Constants and Variables   Contents

Coefficient functions

Coefficient functions are defined as list of constants or functions. Each element corresponds to a sub-domain, or a part of the boundary (specified by the boundary condition number).

define coefficient coef_lam  10,15, -5, (5*x), (sin(y)),

Coefficients can be specified by materials. Use the '-material' flag for CSG geometries.

define coefficient coef_nu material
        iron 10000
        air  1
        default 1
All subdomains consisting of material 'iron' get the constant coefficient 10000, the 'air' domain as well as all others get 1.



Joachim Schöberl 2004-11-17