feos.dft.PlanarInterface.from_density_profile¶
- static PlanarInterface.from_density_profile(vle, n_grid, l_grid, density_profile)¶
Initialize a planar interface with a provided density profile.
- Parameters:
vle (PhaseEquilibrium) – The bulk phase equilibrium.
n_grid (int) – The number of grid points.
l_grid (SINumber) – The width of the calculation domain.
density_profile (SIArray2) – Initial condition for the density profile iterations
- Return type: