Spatial discretization factory added. It is not working yet. State should be move from the constructor of the spatialD class to the *.init(state) in order to properly use the factory.
Spatial discretization factory added. It is not working yet. State should be move from the constructor of the spatialD class to the *.init(state) in order to properly use the factory.

segonpin/bgk-matlab,segonpin/bgk_matlab