From e7310deaf61fb85b058657a0c11ec99c9378caa8 Mon Sep 17 00:00:00 2001 From: David Rohr Date: Mon, 7 Jul 2014 18:59:05 +0200 Subject: [PATCH] add printModel flag, get ride of unnecessary fourier transform for FFTALGO --- bioem.cpp | 57 +++++++++++++++++++++++++++++++++++-------------- include/param.h | 4 ++++ param.cpp | 2 ++ 3 files changed, 47 insertions(+), 16 deletions(-) diff --git a/bioem.cpp b/bioem.cpp index 51156b1..0f268a2 100644 --- a/bioem.cpp +++ b/bioem.cpp @@ -283,6 +283,13 @@ int bioem::run() // ************************************************************************************** // **** Main BioEM routine, projects, convolutes and compares with Map using OpenMP **** // ************************************************************************************** + + if (param.printModel) + { + + //.... + return(0); + } // **** If we want to control the number of threads -> omp_set_num_threads(XX); ****** // ****************** Declarying class of Probability Pointer ************************* @@ -720,27 +727,45 @@ int bioem::createConvolutedProjectionMap(int iMap, int iConv, mycomplex_t* lproj // cout << "GG " << i << " " << j << " " << refCTF[i][0] << " " << refCTF[i][1] <<" " <