An implementation of the characteristic-curve method with the domain decomposition system