allow arbiraty number and type of coefficients for open boundary
problems