public FRUniformMatrixAssembler(int numberOfElements, int polynomialOrder)
 {
     _numberOfElements       = numberOfElements;
     _numberOfSolutionPoints = polynomialOrder + 1;
     _localMatrixProvider    = new MatrixProvider(polynomialOrder);
     _dcoef = _localMatrixProvider.GetLocalAdvectionMatrix();
 }
示例#2
0
 public Advection1D(MatrixProvider provider, int numberOfElements, int numberOfSolutionPoints)
 {
     _dcoef = provider.GetLocalAdvectionMatrix();
     _correctionFuncLeft     = provider.GetLeftCorrectionFunc();
     _correctionFuncRight    = provider.GetRightCorrectionFunc();
     _numberOfElements       = numberOfElements;
     _numberOfSolutionPoints = numberOfSolutionPoints;
 }