def METHOD_NAME(f, name):
    coeff, params = f.to_fenics(mesh)
    return FenicsMatrixBasedOperator(factory(coeff), params,
                                     bc=bc, bc_zero=bc_zero, functional=functional, name=name)