public Advection1D(MatrixProvider provider, int numberOfElements, int numberOfSolutionPoints) { _dcoef = provider.GetLocalAdvectionMatrix(); _correctionFuncLeft = provider.GetLeftCorrectionFunc(); _correctionFuncRight = provider.GetRightCorrectionFunc(); _numberOfElements = numberOfElements; _numberOfSolutionPoints = numberOfSolutionPoints; }