Package uk.ac.cranfield.thesis.client.service

Examples of uk.ac.cranfield.thesis.client.service.RungeKuttaSolverServiceAsync


        return "uk.ac.cranfield.thesis.ThesisModule";
    }
   
    public void testRungeKutta1Order()
    {
        RungeKuttaSolverServiceAsync solverService = RungeKuttaSolverService.Util.getInstance();
        delayTestFinish(500);
       
        Equation equation = new Equation("y'=-2*y+x+4");
        equation.setFunctionVariable('y');
        equation.setIndependentVariable('x');
        equation.setOrder(1);
       
        List<Double> list = new ArrayList<Double>();
        list.add(1.0);
       
        equation.setInitValues(list);
       
        solverService.solve(equation, 0.2, 0.0, 0.2, new AsyncCallback<Solution>()
        {
           
            @Override
            public void onSuccess(Solution result)
            {
View Full Code Here

TOP

Related Classes of uk.ac.cranfield.thesis.client.service.RungeKuttaSolverServiceAsync

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.