Discretized continuum in one dimension - code to run DFT approximations and DMRG for analogs of 3d systems