Package gov.nist.microanalysis.Utility

Examples of gov.nist.microanalysis.Utility.UncertainValue2.doubleValue()


        writer.append("Simulation time: " + getSimulationTime() + " s"
                + eol);

        UncertainValue2 trajTime = getMeanTrajectoryTime();
        writer.append("Average trajectory time: " + trajTime.doubleValue()
                + " +- " + trajTime.uncertainty() + " ms");

        writer.close();
    }
}
View Full Code Here



    @Test
    public void testGetMeanTrajectoryTime() {
        UncertainValue2 trajTime = listener.getMeanTrajectoryTime();
        assertTrue(trajTime.doubleValue() > 0);
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.