Class ExtrudedGrain
java.lang.Object
com.github.jbgust.jsrm.application.motor.grain.core.ExtrudedGrain
- Direct Known Subclasses:
ExtrudedShapeGrain
- Author:
- Bill Kuker https://github.com/bkuker/motorsim
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublebooleanbooleanprotected intnumberOfBurningEnds(double regression) doubleregressedLength(double regression) Length regression of single grainvoidsetAftEndInhibited(GrainSurface grainSurface) voidsetForeEndInhibited(GrainSurface grainSurface) voidsetLength(double length)
-
Constructor Details
-
ExtrudedGrain
public ExtrudedGrain()
-
-
Method Details
-
numberOfBurningEnds
protected int numberOfBurningEnds(double regression) -
regressedLength
public double regressedLength(double regression) Length regression of single grain- Parameters:
regression- regression in % (50% = 0.5)- Returns:
- regressed length
-
getLength
public double getLength() -
setLength
public void setLength(double length) -
setForeEndInhibited
-
setAftEndInhibited
-
isForeEndInhibited
public boolean isForeEndInhibited() -
isAftEndInhibited
public boolean isAftEndInhibited()
-