introducing enable_if template parameter to all boundary condition classes