Upgrade structure of code base
This commit is contained in:
@@ -235,6 +235,22 @@ public class HomogeneousMixture
|
||||
get => Energy / Amount;
|
||||
set => Energy = value * Amount;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// combust rate
|
||||
/// </summary>
|
||||
public double CombustRate
|
||||
{
|
||||
get
|
||||
{
|
||||
H3 w = StateMatrix.Get!.ConjugateOn(new DiagR3(0, Math.PI, 2 * Math.PI));
|
||||
return w.Rayleigh(
|
||||
LogStateMatrix.Get!.ColumnAverageBivariant +
|
||||
StateMatrix.Get.Hermitian().ColumnAverageBivariant
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// total Energy the mixture holds
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user