A Generalized Schwarz-type Non-overlapping Domain Decomposition Method using Physics-constrained Neural Networks