// File: /workspace/github_c_makefile_star2_O0/markpeerdeman[P]mbemm/src/emath/post.c
// Function: post
void post(mesh theMesh,int nr_of_nodes_body_1)
{ 

/**** ElastoMATH SPECIAL output **********************************************/
if (WRITE_SPECIAL==YES)
{ /* do some results output: */
  fprintf(stderr,"* writing output in BEM format\n");
  evaluate_level(GREEN,41);
  init_post(main_f, theMesh, nr_of_nodes_body_1);
  write_node_displacements(theMesh->mesh_p);
  write_node_tractions(theMesh->mesh_p); 
  write_force(theMesh); 
  write_contact_force(theMesh);
  write_edge_force(theMesh);
  write_contact_node_tractions(theMesh->mesh_p); 
  write_distribution(theMesh); 
}

/*** SDRC I_DEAS output ******************************************************/
if (WRITE_UNIVERSAL==YES)
{ fprintf(stderr,"* writing output as universal file\n");
  evaluate_level(GREEN,42);
  init_post(main_f, theMesh, nr_of_nodes_body_1);
  U_write_nodes(theMesh->mesh_p);
  U_write_elements(theMesh->mesh_e);
  U_write_displacements(theMesh->mesh_p);
  U_write_tractions(theMesh->mesh_p);   
  U_write_mises(theMesh); 
/*  U_write_mises_analytical(theMesh); 
  write_node_displacements(theMesh->mesh_p);
  write_node_tractions(theMesh->mesh_p);
  write_force(theMesh); 
  write_contact_force(theMesh);
  write_edge_force(theMesh);
  write_contact_node_tractions(theMesh->mesh_p); 
  write_distribution(theMesh); */
}

/**** .OBJ output **********************************************/
if (WRITE_OBJ==YES)
{ /* do some results output: */
  fprintf(stderr,"* writing output in .OBJ format\n");
  evaluate_level(GREEN,44);
  init_post(main_f, theMesh, nr_of_nodes_body_1);
  O_write_deformed_elements_as_faces(theMesh);
}

}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
leaq 0x16144(%rip), %rax     # 0x1e3f8
cmpl $0x1, (%rax)
jne 0x8348
movq 0x15d34(%rip), %rax     # 0x1dff8
movq (%rax), %rdi
leaq 0x11b1a(%rip), %rsi     # 0x19de8
movb $0x0, %al
callq 0x10d0
xorl %edi, %edi
movl $0x29, %esi
callq 0x15200
leaq 0x16130(%rip), %rax     # 0x1e418
movq (%rax), %rdi
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
callq 0x3720
movq 0x10(%rsp), %rax
movq (%rax), %rdi
callq 0x4200
movq 0x10(%rsp), %rax
movq (%rax), %rdi
callq 0x43c0
movq 0x10(%rsp), %rdi
callq 0x4490
movq 0x10(%rsp), %rdi
callq 0x4840
movq 0x10(%rsp), %rdi
callq 0x4db0
movq 0x10(%rsp), %rax
movq (%rax), %rdi
callq 0x53a0
movq 0x10(%rsp), %rdi
callq 0x5970
leaq 0x160ad(%rip), %rax     # 0x1e3fc
cmpl $0x1, (%rax)
jne 0x83cf
movq 0x15c9d(%rip), %rax     # 0x1dff8
movq (%rax), %rdi
leaq 0x11aa3(%rip), %rsi     # 0x19e08
movb $0x0, %al
callq 0x10d0
xorl %edi, %edi
movl $0x2a, %esi
callq 0x15200
leaq 0x16099(%rip), %rax     # 0x1e418
movq (%rax), %rdi
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
callq 0x3720
movq 0x10(%rsp), %rax
movq (%rax), %rdi
callq 0x7830
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x78f0
movq 0x10(%rsp), %rax
movq (%rax), %rdi
callq 0x79c0
movq 0x10(%rsp), %rax
movq (%rax), %rdi
callq 0x7b50
movq 0x10(%rsp), %rdi
callq 0x5c20
leaq 0x1602a(%rip), %rax     # 0x1e400
cmpl $0x1, (%rax)
jne 0x8421
movq 0x15c16(%rip), %rax     # 0x1dff8
movq (%rax), %rdi
leaq 0x11a40(%rip), %rsi     # 0x19e2c
movb $0x0, %al
callq 0x10d0
xorl %edi, %edi
movl $0x2c, %esi
callq 0x15200
leaq 0x16012(%rip), %rax     # 0x1e418
movq (%rax), %rdi
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
callq 0x3720
movq 0x10(%rsp), %rdi
callq 0x7ce0
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)