There is an additional hook to help with customization of the size control. 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. 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 is 'bc'. The value is the boundary condition, which has a somewhat different syntax. Permission to reproduce this documentation is granted provided this notice remains attached. There is no warranty of any kind on this software or its documentation.