eu.printingin3d.physics.VolumeFlowRate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simplephysics Show documentation
Show all versions of simplephysics Show documentation
Simple Java Objects for SI units like frequency or current.
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