Skip to content

Commit 91d721f

Browse files
committed
fix missing closing parenthesis
1 parent 207d852 commit 91d721f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

doc/ce_input/ce.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@
3737

3838
filename = 'ce'
3939

40-
beta = 100.0
40+
beta = 100.0
4141

42-
mesh = MeshImFreq(beta = beta, n_iw = 1025, S = 'Fermion'
42+
mesh = MeshImFreq(beta = beta, n_iw = 1025, S = 'Fermion')
4343

4444
SK = SumkDFT(hdf_file = filename+'.h5', use_dft_blocks = False, mesh = mesh)
45-
45+
4646
Sigma = SK.block_structure.create_gf(beta=beta)
4747
SK.put_Sigma([Sigma])
4848
G = SK.extract_G_loc(transform_to_solver_blocks=False)
@@ -69,7 +69,7 @@
6969
S = Solver(beta=beta, gf_struct=gf_struct)
7070

7171
# Construct the Hamiltonian and save it in Hamiltonian_store.txt
72-
H = Operator()
72+
H = Operator()
7373
U = 6.0
7474
J = 0.7
7575

@@ -95,7 +95,7 @@
9595
if not 'DMFT_input' in ar: ar.create_group('DMFT_input')
9696
if not 'Iterations' in ar['DMFT_input']: ar['DMFT_input'].create_group('Iterations')
9797

98-
if 'iteration_count' in ar['DMFT_results']:
98+
if 'iteration_count' in ar['DMFT_results']:
9999
iteration_offset = ar['DMFT_results']['iteration_count']+1
100100
S.Sigma_iw = ar['DMFT_results']['Iterations']['Sigma_it'+str(iteration_offset-1)]
101101
SK.dc_imp = ar['DMFT_results']['Iterations']['dc_imp'+str(iteration_offset-1)]
@@ -125,9 +125,9 @@
125125

126126
# The infamous DMFT self consistency cycle
127127
for it in range(iteration_offset, iteration_offset + n_iterations):
128-
128+
129129
mpi.report('Doing iteration: %s'%it)
130-
130+
131131
# Get G0
132132
S.G0_iw << inverse(S.Sigma_iw + inverse(S.G_iw))
133133

@@ -143,13 +143,13 @@
143143
SK.put_Sigma(Sigma_imp=[S.Sigma_iw])
144144
SK.calc_mu(precision=0.01)
145145
S.G_iw << SK.extract_G_loc()[0]
146-
146+
147147
# print densities
148148
for sig,gf in S.G_iw:
149149
mpi.report("Orbital %s density: %.6f"%(sig,dm[sig][0,0]))
150150
mpi.report('Total charge of Gloc : %.6f'%S.G_iw.total_density())
151151

152-
if mpi.is_master_node():
152+
if mpi.is_master_node():
153153
ar['DMFT_results']['iteration_count'] = it
154154
ar['DMFT_results']['Iterations']['Sigma_it'+str(it)] = S.Sigma_iw
155155
ar['DMFT_results']['Iterations']['Sigma_w_it'+str(it)] = S.Sigma_w

0 commit comments

Comments
 (0)