Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CorrDimExperimentBehaviour::trans_process(AllData * ad, PropagateBehavior * pb) const
- {
- ConfigParam * cp = ad->cp;
- int num_trajectories = cp->qj_num_trajectories;
- int is_evo_dump_sep = int(cp->params.find("is_evo_dump_sep")->second);
- int is_evo_dump_avg = int(cp->params.find("is_evo_dump_avg")->second);
- #pragma omp parallel for
- for (int tr_id = 0; tr_id < num_trajectories; tr_id++)
- {
- int thread_id = omp_get_thread_num();
- trans_process_single_cd(ad, pb, tr_id, thread_id);
- }
- #pragma omp parallel for
- for (int tr_id = 0; tr_id < num_trajectories; tr_id++)
- {
- resresh_times(ad, tr_id);
- calc_chars_start_std(ad, tr_id);
- evo_chars_std(ad, tr_id, 0);
- if (is_evo_dump_sep == 1)
- {
- dump_adr_single(ad, tr_id, false);
- }
- }
- if (is_evo_dump_avg == 1)
- {
- dump_adr_avg(ad, false);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement