/// <summary>Initializes a new instance of the <see cref="StructuralSystemEvaluator"/> class.</summary> /// <param name="youngModulus">The young modulus.</param> /// <param name="domainMapper">The domain mapper.</param> public StructuralSystemEvaluator(double youngModulus, IStochasticDomainMapper domainMapper) { YoungModulus = youngModulus; DomainMapper = domainMapper; ModelBuilder = new GiannisModelBuilder(); StochasticRealization = new KarhunenLoeveCoefficientsProvider(partition, youngModulus, midpointMethod, isGaussian, karLoeveTerms, domainBounds, sigmaSquare, correlationLength); }
//public StructuralStochasticEvaluator(double youngModulus, IStochasticDomainMapper domainMapper) //{ // YoungModulus = youngModulus; // DomainMapper = domainMapper; // ModelBuilder = new ModelBuilder(); // StochasticRealization = new RandomVariable(youngModulus, domainMapper); //} /// <summary>Initializes a new instance of the <see cref="StructuralStochasticEvaluator"/> class.</summary> /// <param name="youngModulus">The young modulus.</param> /// <param name="domainMapper">The domain mapper.</param> public StructuralStochasticEvaluator(double youngModulus, IStochasticDomainMapper domainMapper) { YoungModulus = youngModulus; DomainMapper = domainMapper; ModelBuilder = new GiannisModelBuilder(); StochasticRealization = new KarhunenLoeveCoefficientsProvider(partition, youngModulus, midpointMethod, isGaussian, karLoeveTerms, domainBounds, sigmaSquare, correlationLength); //StochasticRealization = new SpectralRepresentation1DRandomFieldGenerator(10, 0.1, youngModulus, .05, 0.1, 256); }