Upgrade structure of code base
This commit is contained in:
@@ -235,6 +235,22 @@ public class HomogeneousMixture
|
|||||||
get => Energy / Amount;
|
get => Energy / Amount;
|
||||||
set => Energy = value * 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>
|
/// <summary>
|
||||||
/// total Energy the mixture holds
|
/// total Energy the mixture holds
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user