Skip to content

Commit

Permalink
add 5th-order vertex4 diagram file
Browse files Browse the repository at this point in the history
  • Loading branch information
peter0627ustc committed Apr 9, 2024
1 parent 707370c commit d339e7a
Show file tree
Hide file tree
Showing 34 changed files with 609,312 additions and 74,080 deletions.
4 changes: 2 additions & 2 deletions example/diagram_compile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using FeynmanDiagram
end

diagtype = :vertex4 # :sigma, :vertex3, :vertex4, :freeEnergy, :green, :chargePolar
order = 4
order = 5
filter = [Parquet.NoHartree, Parquet.Proper]
KinL, KoutL, KinR = zeros(16), zeros(16), zeros(16)
KinL[1], KoutL[2], KinR[3] = 1.0, 1.0, 1.0
Expand Down Expand Up @@ -50,4 +50,4 @@ else
end

# compile C library
Diagram.compileC_ParquetAD_toFiles(FeynGraphs, totalMomNum(order, diagtype), String(diagtype), compiler="gcc")
Diagram.compileC_ParquetAD_toFiles(FeynGraphs, totalMomNum(order, diagtype), String(diagtype), compiler="icc")
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ end
function eval_vertex4Proper_ParquetAD004!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph004(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD005!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph005(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD100!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph100(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
Expand All @@ -26,6 +29,9 @@ end
function eval_vertex4Proper_ParquetAD103!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph103(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD104!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph104(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD110!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph110(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
Expand All @@ -35,15 +41,27 @@ end
function eval_vertex4Proper_ParquetAD112!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph112(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD113!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph113(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD120!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph120(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD121!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph121(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD122!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph122(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD130!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph130(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD131!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph131(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD140!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph140(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD200!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph200(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
Expand All @@ -53,24 +71,54 @@ end
function eval_vertex4Proper_ParquetAD202!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph202(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD203!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph203(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD210!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph210(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD211!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph211(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD212!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph212(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD220!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph220(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD221!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph221(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD230!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph230(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD300!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph300(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD301!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph301(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD302!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph302(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD310!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph310(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD311!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph311(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD320!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph320(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD400!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph400(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD401!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph401(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD410!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph410(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
function eval_vertex4Proper_ParquetAD500!(root::Vector{Float64}, leafVal::Vector{Float64})
@ccall joinpath(@__DIR__, "vertex4Proper_ParquetAD.so").eval_graph500(root::Ptr{Cdouble}, leafVal::Ptr{Cdouble})::Cvoid
end
Binary file modified src/vertex4/source_codeParquetAD_Proper/extvars_vertex4.jld2
Binary file not shown.
Loading

0 comments on commit d339e7a

Please sign in to comment.