feos.Pore2D.initializeΒΆ
- Pore2D.initialize(bulk, density=None, external_potential=None)ΒΆ
Initialize the pore for the given bulk state.
- Parameters:
bulk (State) β The bulk state in equilibrium with the pore.
density (SIArray3, optional) β Initial values for the density profile.
external_potential (numpy.ndarray[float], optional) β The external potential in the pore. Used to save computation time in the case of costly evaluations of external potentials.
- Return type:
PoreProfile2D