diff --git a/src/init_mcfost.f90 b/src/init_mcfost.f90 index df00f5867..338e5ddb8 100644 --- a/src/init_mcfost.f90 +++ b/src/init_mcfost.f90 @@ -1765,9 +1765,12 @@ subroutine initialisation_mcfost() write (*,'(" Sequential code")') endif - if ((l_sym_ima).and.(abs(ang_disque) > 1e-6)) then + if ((l_sym_ima).and.(abs(ang_disque+90) > 1e-6)) then call warning("PA different from zero: removing image symetry") l_sym_ima=.false. + do imol=1,n_molecules + mol(imol)%l_sym_ima = .false. + enddo endif cmd = 'date' diff --git a/src/read_param.f90 b/src/read_param.f90 index 083d3fc65..352203e51 100644 --- a/src/read_param.f90 +++ b/src/read_param.f90 @@ -463,7 +463,7 @@ subroutine read_para(para) mol(imol)%vmin_center_rt = (mol(imol)%vmin_center_rt - v_syst) * km_to_m ! Conversion en m.s-1 mol(imol)%vmax_center_rt = (mol(imol)%vmax_center_rt - v_syst) * km_to_m ! Conversion en m.s-1 mol(imol)%l_sym_ima = .false. - if (l_sym_ima) then + if (l_sym_ima) then ! we check for PA later as this can be changed by command line ! Molecular maps are only symmetrical if velocity range is symmetrical around vsyst if (abs(mol(imol)%vmax_center_rt + mol(imol)%vmin_center_rt) < 1e-5) mol(imol)%l_sym_ima = .true. endif