From 5d9ebcbf36d67308917b7fe7ba43f66b3d7abf0b Mon Sep 17 00:00:00 2001 From: Dominik Kiese Date: Thu, 19 Oct 2023 11:30:18 -0400 Subject: [PATCH] tweaks --- src/MBEsolver.jl | 13 +++---------- src/types.jl | 7 +++++++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/MBEsolver.jl b/src/MBEsolver.jl index 6f05601..d5c994d 100644 --- a/src/MBEsolver.jl +++ b/src/MBEsolver.jl @@ -9,13 +9,6 @@ module MBEsolver using HDF5 end - # define channel type for dispatch - abstract type Channel end - struct ch_S <: Channel end - struct ch_T <: Channel end - struct ch_D <: Channel end - struct ch_M <: Channel end - include("types.jl") include("dyson.jl") include("polarization.jl") @@ -57,13 +50,13 @@ module MBEsolver end export - # hedin.jl + # hedin s1_λ_p, s2_λ_p, s1_λ_d, s2_λ_d, - # multiboson.jl + # multiboson s1_M_S, s1_M_T, s2_M_S, @@ -74,7 +67,7 @@ module MBEsolver s2_M_d, s3_M_d, - # solver.jl + # solver init_sym_grp!, solve!, save_solver! diff --git a/src/types.jl b/src/types.jl index f67cc5a..5ccfcd9 100644 --- a/src/types.jl +++ b/src/types.jl @@ -1,3 +1,10 @@ +# channel dispatch +abstract type Channel end +struct ch_S <: Channel end +struct ch_T <: Channel end +struct ch_D <: Channel end +struct ch_M <: Channel end + # MatsubaraFunction aliases const MF1 = MatsubaraFunction{1, 0, 1, Float64} const MF2 = MatsubaraFunction{2, 0, 2, Float64}