예제 #1
0
 public ExplicitEulerScheme(FdmLinearOpComposite map,
                            List <BoundaryCondition <FdmLinearOp> > bcSet = null)
 {
     dt_    = null;
     map_   = map;
     bcSet_ = new BoundaryConditionSchemeHelper(bcSet);
 }
예제 #2
0
 public DouglasScheme(double theta,
                      FdmLinearOpComposite map,
                      List <BoundaryCondition <FdmLinearOp> > bcSet = null)
 {
     dt_    = null;
     theta_ = theta;
     map_   = map;
     bcSet_ = new BoundaryConditionSchemeHelper(bcSet);
 }
 public ModifiedCraigSneydScheme(double theta, double mu,
                                 FdmLinearOpComposite map,
                                 List <BoundaryCondition <FdmLinearOp> > bcSet = null)
 {
     dt_    = null;
     theta_ = theta;
     mu_    = mu;
     map_   = map;
     bcSet_ = new BoundaryConditionSchemeHelper(bcSet);
 }
예제 #4
0
 public MethodOfLinesScheme(double eps,
                            double relInitStepSize,
                            FdmLinearOpComposite map,
                            List <BoundaryCondition <FdmLinearOp> > bcSet = null)
 {
     dt_              = null;
     eps_             = eps;
     relInitStepSize_ = relInitStepSize;
     map_             = map;
     bcSet_           = new BoundaryConditionSchemeHelper(bcSet);
 }
예제 #5
0
 public ImplicitEulerScheme(FdmLinearOpComposite map,
                            List <BoundaryCondition <FdmLinearOp> > bcSet,
                            double relTol         = 1e-8,
                            SolverType solverType = SolverType.BiCGstab)
 {
     dt_         = null;
     iterations_ = 0;
     relTol_     = relTol;
     map_        = map;
     bcSet_      = new BoundaryConditionSchemeHelper(bcSet);
     solverType_ = solverType;
 }
예제 #6
0
 public TrBDF2Scheme(double alpha,
                     FdmLinearOpComposite map,
                     TrapezoidalScheme trapezoidalScheme,
                     List <BoundaryCondition <FdmLinearOp> > bcSet = null,
                     double relTol = 1E-8,
                     TrBDF2Scheme <TrapezoidalScheme> .SolverType solverType = TrBDF2Scheme <TrapezoidalScheme> .SolverType.BiCGstab)
 {
     dt_                = null;
     beta_              = null;
     iterations_        = 0;
     alpha_             = alpha;
     map_               = map;
     trapezoidalScheme_ = trapezoidalScheme;
     bcSet_             = new BoundaryConditionSchemeHelper(bcSet);
     relTol_            = relTol;
     solverType_        = solverType;
 }