All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.printingin3d.physics.VolumeFlowRate Maven / Gradle / Ivy

There is a newer version: 0.2.1.0
Show newest version
package eu.printingin3d.physics;

public class VolumeFlowRate extends DoubleValue {
	/**
	 * 
	 * @param volume m3/h
	 */
	public VolumeFlowRate(double volume) {
		super(volume);
	}
	
	public Volume getVolumeOfTime(Time time) {
		return new Volume(value*time.div(Time.HOUR));
	}
	
	public VolumeFlowRate multiply(Percent percent) {
		return new VolumeFlowRate(value*percent.getValue());
	}

	@Override
	public String toString() {
		return value+"m3/h";
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy