function krnl_assign_pf!(f::AbstractArray{T},p,lp::SpaceParm,t::Int64)where{T}#only valid for SU3fund for now. Check performance and maybe change it for the tuple gen in the krnl
function krnl_assign_pf!(f::AbstractArray{T},p,lp::SpaceParm,t::Int64)where{T}