Esempio n. 1
0
        /// <summary>
        /// Compiles the model and updates the initial values.
        /// </summary>
        public void CompileAndUpdate()
        {
            // finally compile the model
            // compile needs to be done before updating all initial values for
            // the model with the refresh sequence
            model.compileIfNecessary();

            // now that we are done building the model, we have to make sure all
            // initial values are updated according to their dependencies
            model.updateInitialValues(changedObjects);
            changedObjects.Dispose();

            changedObjects = new ObjectStdVector();
        }