// File: /workspace/github_cpp_makefile_star2_O1/Cell-veto[P]postlhc/./ipl.hpp
// Function: PowerLawInteraction::PowerLawInteraction()
PowerLawInteraction ()
    {
        // we set beta = 1.  scale density accordingly!
        gamma = 1.;
        // sr_lr_split = cutoff for a truncated IPL.  otherwise, it's the
        // handshake distance between probing events and direct enumeration.
        sr_lr_split = 5.8;

        // built-in self-test, will leave exponent at 32 at the end
        double rsq_list[] = { 1e-6, 1e-2, 1., 1e2, 1e6 };
        double ex_list[] = { 1024., 6., 0., .5, /*-.5,*/ 1., 32. };
        for (double rsq : rsq_list)
        for (double ex : ex_list)
        {
            set_parameter ("exponent", ex);
            double delta = repulsive_lift (rsq, 1e-2);
            if (! (delta <= 0.))
            {
                std::cerr << "ipl: self-test error\n" << ABORT;
            }
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %rbx
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, (%rdi)
movabsq $0x4017333333333333, %rcx # imm = 0x4017333333333333
movq %rcx, 0x18(%rdi)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x40(%rsp)
movapd %xmm0, 0x50(%rsp)
movabsq $0x3eb0c6f7a0b5ed8d, %rcx # imm = 0x3EB0C6F7A0B5ED8D
movq %rcx, 0x40(%rsp)
movabsq $0x3f847ae147ae147b, %rcx # imm = 0x3F847AE147AE147B
movq %rcx, 0x48(%rsp)
movq %rax, 0x50(%rsp)
movabsq $0x4059000000000000, %rcx # imm = 0x4059000000000000
movq %rcx, 0x58(%rsp)
movabsq $0x412e848000000000, %rcx # imm = 0x412E848000000000
movq %rcx, 0x60(%rsp)
movapd %xmm0, 0x70(%rsp)
movapd %xmm0, 0x80(%rsp)
movapd %xmm0, 0x90(%rsp)
movabsq $0x4090000000000000, %rcx # imm = 0x4090000000000000
movq %rcx, 0x70(%rsp)
movabsq $0x4018000000000000, %rcx # imm = 0x4018000000000000
movq %rcx, 0x78(%rsp)
movabsq $0x3fe0000000000000, %rcx # imm = 0x3FE0000000000000
movq %rcx, 0x88(%rsp)
movq %rax, 0x90(%rsp)
movabsq $0x4040000000000000, %rax # imm = 0x4040000000000000
movq %rax, 0x98(%rsp)
leaq 0x30(%rsp), %r13
xorl %eax, %eax
leaq 0x1bd1a3(%rip), %r14    # 0x5cb137
leaq 0x1bd1a4(%rip), %r15    # 0x5cb13f
leaq 0x20(%rsp), %r12
movq %rax, 0x8(%rsp)
movsd 0x40(%rsp,%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
xorl %ebp, %ebp
movsd 0x70(%rsp,%rbp), %xmm0
movsd %xmm0, 0x18(%rsp)
movq %r13, 0x20(%rsp)
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x40843e
movq %rbx, %rdi
movq %r12, %rsi
movsd 0x18(%rsp), %xmm0
callq 0x40e08e
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x40dffa
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq %rbx, %rdi
movsd 0x10(%rsp), %xmm0
movsd 0x1bc005(%rip), %xmm1   # 0x5ca010
callq 0x40e210
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jb 0x40e049
addq $0x8, %rbp
cmpq $0x30, %rbp
jne 0x40dfb3
movq 0x8(%rsp), %rax
addq $0x8, %rax
cmpq $0x28, %rax
jne 0x40dfa0
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq $0x656aa0, %rdi         # imm = 0x656AA0
leaq 0x1bd0e9(%rip), %rsi    # 0x5cb140
callq 0x4b1a00
leaq 0x24759e(%rip), %rsi    # 0x655601
movq %rax, %rdi
callq 0x440cc2
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x40e085
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4440d0
movq %rbx, %rdi
callq 0x4f77a0
nop