Last active
December 17, 2017 22:30
-
-
Save miho/d30229df7bd160fed9a31b087e2c1fe7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package eu.mihosoft.vrl.user; | |
@ComponentInfo(name="HeatDiscretization1DTemplate", category="Custom") | |
public class HeatDiscretization1DTemplate implements java.io.Serializable { | |
private static final long serialVersionUID=1L; | |
@OutputInfo(name="Results:", style="multi-out", | |
elemTypes=[VectorRhsODEInterface.class, JacobianInputInterface.class, double[].class], | |
elemNames=["f", "Df", "u0"] | |
) | |
public Object[] discretize( | |
@ParamInfo(name="x1", style="default", options="") double x1, | |
@ParamInfo(name="xn", style="default", options="") double xn, | |
@ParamInfo(name="n", style="default", options="") int n, | |
@ParamInfo(name="a", style="default", options="") double a, | |
@ParamInfo(name="b", style="default", options="") double b | |
) { | |
// TODO provide an implementation | |
return [f,jacobian, u0] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment