// File: npaster[P]gmsh_tools/gmshData.cpp
// Function: gmsh::NodeData::saveNodeData(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, gmsh::Gmesh const&)
void
NodeData::saveNodeData(const std::string name_mesh, const Gmesh& mesh)
{
   Gmesh meshtmp(mesh);

   if (m_subdatas.size() > 0) {
      size_t indnode = mesh.getNumberofNodes();
      for (size_t i = 0; i < m_subdatas.size(); i++) {
         m_subdatas[i].changeIndex(indnode + i + 1);
         meshtmp.addNode(m_subdatas[i].getNode());
         Vertice vert(indnode + i + 1, indnode + i + 1, 1, 1);
         meshtmp.addVertice(vert);
      }
   }
   meshtmp.writeGmesh(name_mesh, 2);
   writeNodeData(name_mesh);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1f0, %rsp            # imm = 0x1F0
movq %rsi, -0x1d0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x18(%rbp), %rsi
leaq -0x100(%rbp), %rdi
callq 0x1bf00
movq -0x1c8(%rbp), %rdi
addq $0x48, %rdi
callq 0x1be70
cmpq $0x0, %rax
jbe 0x1a5d6
movq -0x18(%rbp), %rdi
callq 0x5a60
movq %rax, -0x1d8(%rbp)
jmp 0x1a475
movq -0x1d8(%rbp), %rax
movq %rax, -0x108(%rbp)
movq $0x0, -0x120(%rbp)
movq -0x1c8(%rbp), %rdi
movq -0x120(%rbp), %rax
movq %rax, -0x1e0(%rbp)
addq $0x48, %rdi
callq 0x1be70
movq %rax, %rcx
movq -0x1e0(%rbp), %rax
cmpq %rcx, %rax
jae 0x1a5d4
movq -0x1c8(%rbp), %rdi
addq $0x48, %rdi
movq -0x120(%rbp), %rsi
callq 0x1c100
movq %rax, %rdi
movq -0x108(%rbp), %rax
movq -0x120(%rbp), %rcx
leaq 0x1(%rax,%rcx), %rsi
callq 0x19510
jmp 0x1a4f3
movq -0x1c8(%rbp), %rdi
addq $0x48, %rdi
movq -0x120(%rbp), %rsi
callq 0x1c100
movq %rax, %rsi
leaq -0x148(%rbp), %rdi
movq %rdi, -0x1e8(%rbp)
callq 0x194b0
movq -0x1e8(%rbp), %rsi
leaq -0x100(%rbp), %rdi
callq 0xcab0
jmp 0x1a535
movq -0x108(%rbp), %rax
movq -0x120(%rbp), %rcx
leaq 0x1(%rax,%rcx), %rdx
leaq -0x180(%rbp), %rdi
movl $0x1, %r8d
movq %rdx, %rsi
movq %r8, %rcx
callq 0x2d30
jmp 0x1a562
leaq -0x100(%rbp), %rdi
leaq -0x180(%rbp), %rsi
callq 0xcae0
jmp 0x1a577
leaq -0x180(%rbp), %rdi
callq 0xf570
movq -0x120(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x120(%rbp)
jmp 0x1a48e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x110(%rbp)
movl %eax, -0x114(%rbp)
jmp 0x1a69a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x110(%rbp)
movl %eax, -0x114(%rbp)
leaq -0x180(%rbp), %rdi
callq 0xf570
jmp 0x1a69a
jmp 0x1a5d6
movq -0x1d0(%rbp), %rsi
leaq -0x1a0(%rbp), %rdi
callq 0x20d0
jmp 0x1a5eb
leaq -0x100(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
movl $0x2, %edx
callq 0xc6d0
jmp 0x1a605
leaq -0x1a0(%rbp), %rdi
callq 0x2120
movq -0x1d0(%rbp), %rsi
leaq -0x1c0(%rbp), %rdi
callq 0x20d0
jmp 0x1a626
movq -0x1c8(%rbp), %rdi
leaq -0x1c0(%rbp), %rsi
callq 0x19b00
jmp 0x1a63b
leaq -0x1c0(%rbp), %rdi
callq 0x2120
leaq -0x100(%rbp), %rdi
callq 0x1c120
addq $0x1f0, %rsp            # imm = 0x1F0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x110(%rbp)
movl %eax, -0x114(%rbp)
leaq -0x1a0(%rbp), %rdi
callq 0x2120
jmp 0x1a69a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x110(%rbp)
movl %eax, -0x114(%rbp)
leaq -0x1c0(%rbp), %rdi
callq 0x2120
leaq -0x100(%rbp), %rdi
callq 0x1c120
movq -0x110(%rbp), %rdi
callq 0x22e0
nopw %cs:(%rax,%rax)