The assemble Module

stat_fem.assemble.assemble(f)

Assembly function provided for assembling stat-fem PETSc matrices

Functional interface to assembling PETSc matrices needed for the stat-fem solves. Note that this is just for convenience and simply calls the assemble method of the provided object. Note that if the matrices are not assembled when they are required, stat-fem will assemble them automatically.

Parameters

f (ForcingCovariance or InterpolationMatrix) – a ForcingCovariance or InterpolationMatrix

Returns

Assembled object of the appropriate type.