Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
giadarol committed Feb 26, 2016
2 parents 519b081 + c7581ce commit dd0a957
Show file tree
Hide file tree
Showing 33 changed files with 35 additions and 40 deletions.
2 changes: 1 addition & 1 deletion MP_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
9 changes: 2 additions & 7 deletions PyEC4PyHT.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down Expand Up @@ -86,7 +86,7 @@ def __init__(self, L_ecloud, slicer, Dt_ref, pyecl_input_folder='./', flag_clean
slice_by_slice_mode=False, **kwargs):


print 'PyECLOUD Version 4.37'
print 'PyECLOUD Version 5.0.1'
print 'PyHEADTAIL module'
print 'Initializing ecloud from folder: '+pyecl_input_folder
self.slicer = slicer
Expand Down Expand Up @@ -421,11 +421,6 @@ def _reinitialize(self):
self.MP_e.nel_mp[:self.init_N_mp] = self.init_nel
self.MP_e.N_mp = self.init_N_mp

MP_e = self.MP_e
dynamics = self.dynamics
impact_man = self.impact_man
spacech_ele = self.spacech_ele

if self.save_ele_distributions_last_track:
self.rho_ele_last_track = []

Expand Down
2 changes: 1 addition & 1 deletion beam_and_timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
4 changes: 2 additions & 2 deletions buildup_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down Expand Up @@ -59,7 +59,7 @@
class BuildupSimulation(object):
def __init__(self, pyecl_input_folder='./', **kwargs):

print 'PyECLOUD Version 4.37'
print 'PyECLOUD Version 5.0.1'
beamtim,MP_e, dynamics,impact_man, pyeclsaver, \
gas_ion_flag, resgasion, t_ion, \
spacech_ele,t_sc_ON, photoem_flag, phemiss,\
Expand Down
2 changes: 1 addition & 1 deletion change_version_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
with open(filename) as fid:
content=fid.read()
if '[email protected]' in content:
content=content.replace('PyECLOUD Version 4.37', 'PyECLOUD Version 4.37')
content=content.replace('PyECLOUD Version 5.0.1', 'PyECLOUD Version 5.0.1')
with open(filename,'w') as fid:
fid.write(content)

Expand Down
Binary file modified doc/reference/reference.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion doc/reference/src/reference.tex
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ \subsection{Simulation parameters}
\end{enumerate}\\ \hline
\multicolumn{2}{p{.97\textwidth}}{
When flag\_bunched\_beam = 1 the following parameters must be provided:}\\ \hline
\textbf{sigmaz}& [m] Bunch length (1 $\sigma$). \\ \hline
\textbf{sigmaz}& [m] Bunch length (1$\sigma$). \\ \hline
\textbf{t\_offs}& [s] Delay in the longitudinal profile (n.b. if t\_offs=0 only half of the first bunch is simulated).\\ \hline
\textbf{filling\_pattern\_file}& Name of a file providing the intensities of the different bunches (zeros for empty slots).
The data can be provided also in form of a python list with no need to provide an input file, e.g. filling\_pattern\_file=4*(72*[1.]+8*[0.]).\\ \hline
Expand Down
2 changes: 1 addition & 1 deletion dynamics_Boris_f2py.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion dynamics_Boris_multipole.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion dynamics_dipole.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion dynamics_strong_B_generalized.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion gas_ionization_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion gen_photoemission_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion geom_impact_ellip.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion geom_impact_poly.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion geom_impact_poly_fast_impact.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion geom_impact_rect_fast_impact.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion impact_management_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion init.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion proc_video3.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
4 changes: 2 additions & 2 deletions pyecloud_saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down Expand Up @@ -68,7 +68,7 @@ def __init__(self, logfile_path):
self.logfile_path = logfile_path
print 'Starting pyecloud_saver init.'
flog=open(self.logfile_path,'w')
flog.write('PyECLOUD Version 4.37\n')
flog.write('PyECLOUD Version 5.0.1\n')
timestr = time.strftime("%d %b %Y %H:%M:%S", time.localtime())
flog.write('Simulation started on %s\n'%timestr)
flog.close()
Expand Down
2 changes: 1 addition & 1 deletion sec_emission.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion sec_emission_model_ECLOUD.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion sec_emission_model_ECLOUD_nunif.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion sec_emission_model_accurate_low_ene.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion sec_emission_model_cos_low_ener.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion sec_emission_model_flat_low_ener.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion sincc_cosincc_cubsincc.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion space_charge_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# This file is part of the code:
#
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion space_charge_class_SW_old.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# This file is part of the code:
#
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion test_StrongB_generalized.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down
2 changes: 1 addition & 1 deletion test_StrongB_generalized_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# This file is part of the code:
#
# PyECLOUD Version 4.37
# PyECLOUD Version 5.0.1
#
#
# Author and contact: Giovanni IADAROLA
Expand Down

0 comments on commit dd0a957

Please sign in to comment.