Example #1
0
        public void Run(Clock clock, IClimateSO2CycleState state, IDimensions dimensions)
        {
            // create shortcuts for commonly accessed data
            var s = state;
            var t = clock.Current;

            if (clock.IsFirstTimestep)
            {
            }
            else
            {
                // Calculate SO2 concentrations
                s.acso2[t] = s.globso2[t];
            }
        }
Example #2
0
        public void Run(Clock clock, IClimateSO2CycleState state, IDimensions dimensions)
        {
            // create shortcuts for commonly accessed data
            var s = state;
            var t = clock.Current;

            if (clock.IsFirstTimestep)
            {

            }
            else
            {
                // Calculate SO2 concentrations
                s.acso2[t] = s.globso2[t];
            }
        }