void BeadParams::ApplyUpperBound (bound_params *bound, int flow_block_size) { for (int i=0;i<flow_block_size;i++) { MAX_BOUND_PAIR_CHECK (Ampl[i],Ampl); MAX_BOUND_PAIR_CHECK (kmult[i],kmult); } MAX_BOUND_CHECK (Copies); MAX_BOUND_CHECK (gain); MAX_BOUND_CHECK (R); MAX_BOUND_CHECK (dmult); };
void params_ApplyUpperBound (bead_params *cur, bound_params *bound) { for (int i=0;i<NUMFB;i++) { MAX_BOUND_PAIR_CHECK (Ampl[i],Ampl); MAX_BOUND_PAIR_CHECK (kmult[i],kmult); } MAX_BOUND_CHECK (Copies); MAX_BOUND_CHECK (gain); MAX_BOUND_CHECK (R); MAX_BOUND_CHECK (dmult); };