Ejemplo n.º 1
0
        public InputData()
        {
            Car = new CarData(this);

            Sim = new SimData(this);


            TimeNeedsToRecalculate       = true;
            StepIPNeedsToRecalculate     = false;
            HarmonicIPNeedsToRecalculate = false;
            CustomIPCalculate            = false;
            ResponseNeedsToRecalculate   = false;
            ResponseCalculationComplete  = false;



            VehicleMass        = 1.0;
            SpringStiffness    = 1.0;
            DampingCoefficient = 1.0;

            SpringFreeLength       = 1.0;
            SpringExtendedLength   = 1.0;
            SpringCompressedLength = 1.0;

            StartTime = 0.0;
            EndTime   = 5.0;
            TimeStep  = 0.01;

            ForceAmplitude = 0.0;

            InitialDisplacement = 0.0;
            InitialVelocity     = 0.0;
        }
Ejemplo n.º 2
0
        public InputData(CarData car)
        {
            Car = new CarData(this);

            VehicleMass        = 1.0;
            SpringStiffness    = 1.0;
            DampingCoefficient = 1.0;

            SpringFreeLength       = 1.0;
            SpringExtendedLength   = 1.0;
            SpringCompressedLength = 1.0;

            TimeNeedsToRecalculate       = true;
            StepIPNeedsToRecalculate     = false;
            HarmonicIPNeedsToRecalculate = false;
            CustomIPCalculate            = false;
            ResponseNeedsToRecalculate   = false;
            ResponseCalculationComplete  = false;
        }
Ejemplo n.º 3
0
        public Document(CarData car)
        {
            Car = new CarData(Input);

            Version = 0;
        }