The formula is expected to return a column vector of function values of the same size. The purpose of the vecformula option is to speed up processing in Matlab, since vector formulas are much faster than evaluation by loops. As above, the user can specify conductivities as property-value pairs to top level faces only or as an argument to gmfem . The property name for conductivity is conductivity . If the user specifies both, then the property-value pair takes precedence.
Source terms can also be property-value pairs of top level faces.
As with conductivity, property value pairs take precedence over specification as an argument to gmfem . The property name for a source term is source . The property name is bc . The value is the boundary condition, which has a somewhat different syntax. The parentheses are part of the syntax.