put back original calling sequence for boundary condition routines, instead of taking vars from module