SMS_BP
Single Molecule Simulations -BP
Loading...
Searching...
No Matches
SMS_BP.boundary_conditions Namespace Reference

Functions

 _refecting_boundary (float fbm_store_last, float fbm_candidate, np.ndarray space_lim)
 
 _absorbing_boundary (float fbm_store_last, float fbm_candidate, np.ndarray space_lim)
 

Function Documentation

◆ _absorbing_boundary()

SMS_BP.boundary_conditions._absorbing_boundary ( float fbm_store_last,
float fbm_candidate,
np.ndarray space_lim )
protected
Absorbing boundary condition for the FBM 1D

Parameters:
-----------
fbm_store_last : float
    Last value of the FBM
fbm_candidate : float
    Candidate value of the FBM
space_lim : np.ndarray
    Space limit (min, max) for the FBM

Returns:
--------
float
    New value of the FBM

◆ _refecting_boundary()

SMS_BP.boundary_conditions._refecting_boundary ( float fbm_store_last,
float fbm_candidate,
np.ndarray space_lim )
protected
Reflecting boundary condition for the FBM 1D

Parameters:
-----------
fbm_store_last : float
    Last value of the FBM
fbm_candidate : float
    Candidate value of the FBM
space_lim : np.ndarray
    Space limit (min, max) for the FBM

Returns:
--------
float
    New value of the FBM