boundary_conditions_fcn_dyn