feos.PairCorrelation¶
- class feos.PairCorrelation(bulk, test_particle, n_grid, width)¶
Density profile and properties of a test particle system.
- Parameters:
bulk (State) – The bulk state in equilibrium with the profile.
test_particle (int) – The index of the test particle.
n_grid (int) – The number of grid points.
width (SINumber) – The width of the system.
- Return type:
Methods
__init__()dn_dp(bulk)Calculate the partial derivatives of the number of moles w.r.t.
dn_dt_p(bulk)Calculate the partial derivatives of the number of moles w.r.t.
drho_dp(bulk)Calculate the partial derivatives of the density profiles w.r.t.
drho_dt_p(bulk)Calculate the partial derivatives of the density profiles w.r.t.
entropy([contributions])Calculate the entropy of the inhomogeneous system.
entropy_density([contributions])Calculate the entropy density of the inhomogeneous system.
internal_energy([contributions])Calculate the internal energy of the inhomogeneous system.
residual([log])Calculate the residual for the given profile.
solve([solver, debug])Solve the profile in-place.
Attributes
axesbulkdensitydn_dmudrho_dmudrho_dndrho_dt_nedgesexternal_potentialfunctional_derivativegrand_potential_densitygridmolesnon_bonded_fractionspair_correlation_functionself_solvation_free_energysolver_logstructure_factortemperaturetotal_molesweighted_densities