// File: WolfgangLechner[P]StructureAnalysis/molecular_system.cpp
// Function: CMolecularSystem::outputSimpleResults(int)
void CMolecularSystem::outputSimpleResults(int number)
{
  char IntStr[80];
  ofstream of;
  sprintf( IntStr, "./output/result.%d.dat", number);
  of.open (IntStr, ofstream::out | ofstream::trunc);
  if (of.is_open())
  {
    for (int ti=0;ti<this->parameter->nop;ti++)
    {
      of << ti << " " << this->molecules[ti].posx  << " " << this->molecules[ti].posy  << " " <<this->molecules[ti].posz
               << " " << this->molecules[ti].AQ4  << " " << this->molecules[ti].AQ6
               << " " << this->molecules[ti].Q4  << " " << this->molecules[ti].Q6
               << " " << this->molecules[ti].n_neighbors << "\n";
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x320, %rsp            # imm = 0x320
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x288(%rbp)
leaq -0x260(%rbp), %rdi
callq 0x33f0
movl -0xc(%rbp), %edx
leaq 0x265c(%rip), %rsi      # 0xc48f
xorl %eax, %eax
leaq -0x60(%rbp), %rdi
movq %rdi, -0x280(%rbp)
callq 0x3090
movl $0x10, %edi
movl $0x20, %esi
callq 0xadf0
movl %eax, -0x274(%rbp)
jmp 0x9e5c
movl -0x274(%rbp), %edx
movq -0x280(%rbp), %rsi
leaq -0x260(%rbp), %rdi
callq 0x3060
jmp 0x9e77
leaq -0x260(%rbp), %rdi
callq 0x3180
movb %al, -0x289(%rbp)
jmp 0x9e8b
movb -0x289(%rbp), %al
testb $0x1, %al
jne 0x9e9a
jmp 0xa1d1
movl $0x0, -0x270(%rbp)
movq -0x288(%rbp), %rcx
movl -0x270(%rbp), %eax
movq 0xb4e8c0(%rcx), %rcx
cmpl 0x3208(%rcx), %eax
jge 0xa1cf
movl -0x270(%rbp), %esi
leaq -0x260(%rbp), %rdi
callq 0x3410
movq %rax, -0x298(%rbp)
jmp 0x9edf
movq -0x298(%rbp), %rdi
leaq 0x238a(%rip), %rsi      # 0xc277
callq 0x3200
movq %rax, -0x2a0(%rbp)
jmp 0x9efb
movq -0x2a0(%rbp), %rdi
movq -0x288(%rbp), %rax
movq 0xb4e8b8(%rax), %rax
movslq -0x270(%rbp), %rcx
imulq $0x870, %rcx, %rcx      # imm = 0x870
movsd 0x8(%rax,%rcx), %xmm0
callq 0x3470
movq %rax, -0x2a8(%rbp)
jmp 0x9f32
movq -0x2a8(%rbp), %rdi
leaq 0x2337(%rip), %rsi      # 0xc277
callq 0x3200
movq %rax, -0x2b0(%rbp)
jmp 0x9f4e
movq -0x2b0(%rbp), %rdi
movq -0x288(%rbp), %rax
movq 0xb4e8b8(%rax), %rax
movslq -0x270(%rbp), %rcx
imulq $0x870, %rcx, %rcx      # imm = 0x870
movsd 0x10(%rax,%rcx), %xmm0
callq 0x3470
movq %rax, -0x2b8(%rbp)
jmp 0x9f85
movq -0x2b8(%rbp), %rdi
leaq 0x22e4(%rip), %rsi      # 0xc277
callq 0x3200
movq %rax, -0x2c0(%rbp)
jmp 0x9fa1
movq -0x2c0(%rbp), %rdi
movq -0x288(%rbp), %rax
movq 0xb4e8b8(%rax), %rax
movslq -0x270(%rbp), %rcx
imulq $0x870, %rcx, %rcx      # imm = 0x870
movsd 0x18(%rax,%rcx), %xmm0
callq 0x3470
movq %rax, -0x2c8(%rbp)
jmp 0x9fd8
movq -0x2c8(%rbp), %rdi
leaq 0x2291(%rip), %rsi      # 0xc277
callq 0x3200
movq %rax, -0x2d0(%rbp)
jmp 0x9ff4
movq -0x2d0(%rbp), %rdi
movq -0x288(%rbp), %rax
movq 0xb4e8b8(%rax), %rax
movslq -0x270(%rbp), %rcx
imulq $0x870, %rcx, %rcx      # imm = 0x870
movsd 0x840(%rax,%rcx), %xmm0
callq 0x3470
movq %rax, -0x2d8(%rbp)
jmp 0xa02e
movq -0x2d8(%rbp), %rdi
leaq 0x223b(%rip), %rsi      # 0xc277
callq 0x3200
movq %rax, -0x2e0(%rbp)
jmp 0xa04a
movq -0x2e0(%rbp), %rdi
movq -0x288(%rbp), %rax
movq 0xb4e8b8(%rax), %rax
movslq -0x270(%rbp), %rcx
imulq $0x870, %rcx, %rcx      # imm = 0x870
movsd 0x838(%rax,%rcx), %xmm0
callq 0x3470
movq %rax, -0x2e8(%rbp)
jmp 0xa084
movq -0x2e8(%rbp), %rdi
leaq 0x21e5(%rip), %rsi      # 0xc277
callq 0x3200
movq %rax, -0x2f0(%rbp)
jmp 0xa0a0
movq -0x2f0(%rbp), %rdi
movq -0x288(%rbp), %rax
movq 0xb4e8b8(%rax), %rax
movslq -0x270(%rbp), %rcx
imulq $0x870, %rcx, %rcx      # imm = 0x870
movsd 0x820(%rax,%rcx), %xmm0
callq 0x3470
movq %rax, -0x2f8(%rbp)
jmp 0xa0da
movq -0x2f8(%rbp), %rdi
leaq 0x218f(%rip), %rsi      # 0xc277
callq 0x3200
movq %rax, -0x300(%rbp)
jmp 0xa0f6
movq -0x300(%rbp), %rdi
movq -0x288(%rbp), %rax
movq 0xb4e8b8(%rax), %rax
movslq -0x270(%rbp), %rcx
imulq $0x870, %rcx, %rcx      # imm = 0x870
movsd 0x818(%rax,%rcx), %xmm0
callq 0x3470
movq %rax, -0x308(%rbp)
jmp 0xa130
movq -0x308(%rbp), %rdi
leaq 0x2139(%rip), %rsi      # 0xc277
callq 0x3200
movq %rax, -0x310(%rbp)
jmp 0xa14c
movq -0x310(%rbp), %rdi
movq -0x288(%rbp), %rax
movq 0xb4e8b8(%rax), %rax
movslq -0x270(%rbp), %rcx
imulq $0x870, %rcx, %rcx      # imm = 0x870
movl 0x550(%rax,%rcx), %esi
callq 0x3410
movq %rax, -0x318(%rbp)
jmp 0xa184
movq -0x318(%rbp), %rdi
leaq 0x22f8(%rip), %rsi      # 0xc48a
callq 0x3200
jmp 0xa199
jmp 0xa19b
movl -0x270(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x270(%rbp)
jmp 0x9ea4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x268(%rbp)
movl %eax, -0x26c(%rbp)
leaq -0x260(%rbp), %rdi
callq 0x3380
jmp 0xa1e6
jmp 0xa1d1
leaq -0x260(%rbp), %rdi
callq 0x3380
addq $0x320, %rsp            # imm = 0x320
popq %rbp
retq
movq -0x268(%rbp), %rdi
callq 0x3430
nopw %cs:(%rax,%rax)