Package pulse.problem.schemes.rte
Class FluxesAndImplicitDerivatives
- java.lang.Object
-
- pulse.problem.schemes.rte.Fluxes
-
- pulse.problem.schemes.rte.FluxesAndImplicitDerivatives
-
- All Implemented Interfaces:
Serializable,DerivativeCalculator
public class FluxesAndImplicitDerivatives extends Fluxes
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FluxesAndImplicitDerivatives(NumericProperty gridDensity, NumericProperty opticalThickness)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublefluxDerivative(int uIndex)Calculates the flux derivative at theuIndexgrid point.doublefluxDerivativeFront()Calculates the flux derivative at the front surface.doublefluxDerivativeRear()Calculates the flux derivative at the rear surface.doublemeanFluxDerivative(int uIndex)Calculates the average value of the flux derivatives at theuIndexgrid point on the current and previous timesteps.doublemeanFluxDerivativeFront()Calculates the average value of the flux derivatives at the first grid point on the current and previous timesteps.doublemeanFluxDerivativeRear()Calculates the average value of the flux derivatives at the last grid point on the current and previous timesteps.-
Methods inherited from class pulse.problem.schemes.rte.Fluxes
checkArrays, getDensity, getFlux, getOpticalGridStep, getOpticalThickness, getStoredFlux, init, setDensity, setFlux, setOpticalThickness, store
-
-
-
-
Constructor Detail
-
FluxesAndImplicitDerivatives
public FluxesAndImplicitDerivatives(NumericProperty gridDensity, NumericProperty opticalThickness)
-
-
Method Detail
-
meanFluxDerivative
public double meanFluxDerivative(int uIndex)
Description copied from interface:DerivativeCalculatorCalculates the average value of the flux derivatives at theuIndexgrid point on the current and previous timesteps.- Parameters:
uIndex- the grid point index- Returns:
- the time-averaged value of the flux derivative at
uIndex
-
meanFluxDerivativeFront
public double meanFluxDerivativeFront()
Description copied from interface:DerivativeCalculatorCalculates the average value of the flux derivatives at the first grid point on the current and previous timesteps.- Returns:
- the time-averaged value of the flux derivative at the front surface
-
meanFluxDerivativeRear
public double meanFluxDerivativeRear()
Description copied from interface:DerivativeCalculatorCalculates the average value of the flux derivatives at the last grid point on the current and previous timesteps.- Returns:
- the time-averaged value of the flux derivative at the rear surface
-
fluxDerivative
public double fluxDerivative(int uIndex)
Description copied from interface:DerivativeCalculatorCalculates the flux derivative at theuIndexgrid point.- Parameters:
uIndex- the grid point index- Returns:
- the value of the flux derivative at
uIndex
-
fluxDerivativeFront
public double fluxDerivativeFront()
Description copied from interface:DerivativeCalculatorCalculates the flux derivative at the front surface.- Returns:
- the value of the flux derivative at the front surface
-
fluxDerivativeRear
public double fluxDerivativeRear()
Description copied from interface:DerivativeCalculatorCalculates the flux derivative at the rear surface.- Returns:
- the value of the flux derivative at the rear surface
-
-