|
SMS_BP
Single Molecule Simulations -BP
|
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) | |
|
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
|
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