|
Here is a short list of links related to this Java StepNormalizer.java source code file:
Java example source code file (StepNormalizer.java)
The StepNormalizer.java Java example source code/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.commons.math3.ode.sampling; import org.apache.commons.math3.exception.MaxCountExceededException; import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.Precision; /** * This class wraps an object implementing {@link FixedStepHandler} * into a {@link StepHandler}. * <p>This wrapper allows to use fixed step handlers with general * integrators which cannot guaranty their integration steps will * remain constant and therefore only accept general step * handlers.</p> * * <p>The stepsize used is selected at construction time. The {@link * FixedStepHandler#handleStep handleStep} method of the underlying * {@link FixedStepHandler} object is called at normalized times. The * normalized times can be influenced by the {@link StepNormalizerMode} and * {@link StepNormalizerBounds}.</p> * * <p>There is no constraint on the integrator, it can use any time step * it needs (time steps longer or shorter than the fixed time step and * non-integer ratios are all allowed).</p> * * <p> * <table border="1" align="center"> * <tr BGCOLOR="#CCCCFF"> | Examples (step size = 0.5) | ||||||
Start time | End time | {@link StepNormalizerMode Mode} | Output | ||||
0.3 | 3.1 | forward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#NEITHER NEITHER} | 0.8, 1.3, 1.8, 2.3, 2.8 | ||
0.3 | 3.1 | forward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#FIRST FIRST} | 0.3, 0.8, 1.3, 1.8, 2.3, 2.8 | ||
0.3 | 3.1 | forward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#LAST LAST} | 0.8, 1.3, 1.8, 2.3, 2.8, 3.1 | ||
0.3 | 3.1 | forward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#BOTH BOTH} | 0.3, 0.8, 1.3, 1.8, 2.3, 2.8, 3.1 | ||
0.3 | 3.1 | forward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#NEITHER NEITHER} | 0.5, 1.0, 1.5, 2.0, 2.5, 3.0 | ||
0.3 | 3.1 | forward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#FIRST FIRST} | 0.3, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0 | ||
0.3 | 3.1 | forward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#LAST LAST} | 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.1 | ||
0.3 | 3.1 | forward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#BOTH BOTH} | 0.3, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.1 | ||
0.0 | 3.0 | forward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#NEITHER NEITHER} | 0.5, 1.0, 1.5, 2.0, 2.5, 3.0 | ||
0.0 | 3.0 | forward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#FIRST FIRST} | 0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0 | ||
0.0 | 3.0 | forward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#LAST LAST} | 0.5, 1.0, 1.5, 2.0, 2.5, 3.0 | ||
0.0 | 3.0 | forward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#BOTH BOTH} | 0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0 | ||
0.0 | 3.0 | forward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#NEITHER NEITHER} | 0.5, 1.0, 1.5, 2.0, 2.5, 3.0 | ||
0.0 | 3.0 | forward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#FIRST FIRST} | 0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0 | ||
0.0 | 3.0 | forward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#LAST LAST} | 0.5, 1.0, 1.5, 2.0, 2.5, 3.0 | ||
0.0 | 3.0 | forward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#BOTH BOTH} | 0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0 | ||
3.1 | 0.3 | backward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#NEITHER NEITHER} | 2.6, 2.1, 1.6, 1.1, 0.6 | ||
3.1 | 0.3 | backward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#FIRST FIRST} | 3.1, 2.6, 2.1, 1.6, 1.1, 0.6 | ||
3.1 | 0.3 | backward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#LAST LAST} | 2.6, 2.1, 1.6, 1.1, 0.6, 0.3 | ||
3.1 | 0.3 | backward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#BOTH BOTH} | 3.1, 2.6, 2.1, 1.6, 1.1, 0.6, 0.3 | ||
3.1 | 0.3 | backward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#NEITHER NEITHER} | 3.0, 2.5, 2.0, 1.5, 1.0, 0.5 | ||
3.1 | 0.3 | backward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#FIRST FIRST} | 3.1, 3.0, 2.5, 2.0, 1.5, 1.0, 0.5 | ||
3.1 | 0.3 | backward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#LAST LAST} | 3.0, 2.5, 2.0, 1.5, 1.0, 0.5, 0.3 | ||
3.1 | 0.3 | backward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#BOTH BOTH} | 3.1, 3.0, 2.5, 2.0, 1.5, 1.0, 0.5, 0.3 | ||
3.0 | 0.0 | backward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#NEITHER NEITHER} | 2.5, 2.0, 1.5, 1.0, 0.5, 0.0 | ||
3.0 | 0.0 | backward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#FIRST FIRST} | 3.0, 2.5, 2.0, 1.5, 1.0, 0.5, 0.0 | ||
3.0 | 0.0 | backward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#LAST LAST} | 2.5, 2.0, 1.5, 1.0, 0.5, 0.0 | ||
3.0 | 0.0 | backward | {@link StepNormalizerMode#INCREMENT INCREMENT} | {@link StepNormalizerBounds#BOTH BOTH} | 3.0, 2.5, 2.0, 1.5, 1.0, 0.5, 0.0 | ||
3.0 | 0.0 | backward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#NEITHER NEITHER} | 2.5, 2.0, 1.5, 1.0, 0.5, 0.0 | ||
3.0 | 0.0 | backward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#FIRST FIRST} | 3.0, 2.5, 2.0, 1.5, 1.0, 0.5, 0.0 | ||
3.0 | 0.0 | backward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#LAST LAST} | 2.5, 2.0, 1.5, 1.0, 0.5, 0.0 | ||
3.0 | 0.0 | backward | {@link StepNormalizerMode#MULTIPLES MULTIPLES} | {@link StepNormalizerBounds#BOTH BOTH} | 3.0, 2.5, 2.0, 1.5, 1.0, 0.5, 0.0 |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.