user: 这段汇编代码用C语言表示是什么样的?

```asm
<VolumeAveragedTwophaseNavierStokes_ST_LS_SO_2D_Evaluate>:
  endbr64
  push   %r15
  movslq %edi,%rax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %r8,%rbx
  sub    $0xa8,%rsp
  movsd  %xmm5,0x60(%rsp)
  movsd  D56(%rip),%xmm5
  mov    %rdx,0x70(%rsp)
  movsd  %xmm0,0x8(%rsp)
  movsd  %xmm1,0x10(%rsp)
  movsd  %xmm2,0x48(%rsp)
  movsd  %xmm3,0x50(%rsp)
  movsd  %xmm4,0x58(%rsp)
  movsd  %xmm6,0x68(%rsp)
  movsd  %xmm5,0x40(%rsp)
  test   %esi,%esi
  je     L11
  pxor   %xmm5,%xmm5
  movsd  %xmm5,0x40(%rsp)
L11:
  test   %eax,%eax
  jle    L40
  mov    0xf8(%rsp),%r15
  xor    %ebp,%ebp
  xor    %r13d,%r13d
  xor    %r12d,%r12d
  mov    %rax,0x78(%rsp)
  mov    0x108(%rsp),%rdx
  mov    %rbp,%rax
  mov    0x100(%rsp),%r14
  mov    %r15,%rbp
  mov    %rax,%r15
  nopl   0x0(%rax)
L8:
  movsd  (%rbx,%r15,8),%xmm1
  movsd  0x8(%rsp),%xmm0
  mov    $0x2,%eax
  mov    %r9,0x38(%rsp)
  mov    %rcx,0x30(%rsp)
  mov    %rdx,0x28(%rsp)
  call   <smoothedHeaviside@plt>
  pxor   %xmm2,%xmm2
  movsd  (%rbx,%r15,8),%xmm1
  movsd  0x8(%rsp),%xmm0
  cvtsi2sd %eax,%xmm2
  mov    $0x2,%eax
  movsd  %xmm2,0x20(%rsp)
  call   <smoothedDirac@plt>
  movsd  (%rbx,%r15,8),%xmm1
  movsd  0x10(%rsp),%xmm0
  mov    $0x2,%eax
  call   <smoothedHeaviside@plt>
  pxor   %xmm4,%xmm4
  movsd  (%rbx,%r15,8),%xmm1
  movsd  0x10(%rsp),%xmm0
  cvtsi2sd %eax,%xmm4
  mov    $0x2,%eax
  movsd  %xmm4,0x18(%rsp)
  call   <smoothedDirac@plt>
  pxor   %xmm3,%xmm3
  mov    0x28(%rsp),%rdx
  movsd  0x20(%rsp),%xmm2
  cvtsi2sd %eax,%xmm3
  mov    D56(%rip),%rax
  movsd  0x18(%rsp),%xmm4
  pxor   %xmm10,%xmm10
  movsd  (%rdx),%xmm0
  mulsd  0x0(%rbp),%xmm0
  movq   %rax,%xmm5
  movq   %rax,%xmm9
  subsd  %xmm2,%xmm5
  mulsd  0x60(%rsp),%xmm2
  mulsd  0x50(%rsp),%xmm5
  addsd  %xmm2,%xmm5
  movq   %rax,%xmm2
  mov    0x110(%rsp),%rax
  subsd  %xmm4,%xmm2
  mulsd  0x68(%rsp),%xmm4
  movsd  %xmm0,(%rax,%r15,8)
  movsd  (%rdx),%xmm0
  mov    0x118(%rsp),%rax
  mulsd  0x58(%rsp),%xmm2
  movsd  %xmm0,(%rax,%r15,8)
  mulsd  (%r14),%xmm0
  mov    0x120(%rsp),%rax
  addsd  %xmm4,%xmm2
  movsd  %xmm0,(%rax,%r15,8)
  mov    0x128(%rsp),%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax,%r15,8)
  mulsd  0x0(%rbp),%xmm0
  mov    0x130(%rsp),%rax
  movsd  %xmm0,(%rax,%r13,1)
  movsd  (%rdx),%xmm0
  mulsd  (%r14),%xmm0
  movsd  %xmm0,0x8(%rax,%r13,1)
  mov    0x138(%rsp),%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax,%r13,1)
  mov    0x140(%rsp),%rax
  movsd  %xmm0,0x8(%rax,%r13,1)
  movsd  0x0(%rbp),%xmm1
  movsd  (%rdx),%xmm0
  mov    0x148(%rsp),%rax
  mulsd  %xmm1,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax,%r13,1)
  movsd  (%rdx),%xmm0
  mulsd  0x0(%rbp),%xmm0
  mulsd  (%r14),%xmm0
  movsd  %xmm0,0x8(%rax,%r13,1)
  movsd  (%rdx),%xmm0
  mov    0x150(%rsp),%rax
  addsd  %xmm0,%xmm0
  mulsd  0x0(%rbp),%xmm0
  movsd  %xmm0,(%rax,%r13,1)
  movsd  (%rdx),%xmm0
  mulsd  (%r14),%xmm0
  movsd  %xmm0,0x8(%rax,%r13,1)
  movsd  (%rdx),%xmm0
  mulsd  0x0(%rbp),%xmm0
  mov    0x158(%rsp),%rax
  movsd  %xmm0,0x8(%rax,%r13,1)
  movsd  (%rdx),%xmm0
  mulsd  (%r14),%xmm0
  mulsd  0x0(%rbp),%xmm0
  mov    0x160(%rsp),%rax
  movsd  %xmm0,(%rax,%r13,1)
  movsd  (%r14),%xmm1
  movsd  (%rdx),%xmm0
  mulsd  %xmm1,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rax,%r13,1)
  movsd  (%rdx),%xmm0
  mulsd  (%r14),%xmm0
  mov    0x168(%rsp),%rax
  movsd  %xmm0,(%rax,%r13,1)
  movsd  (%rdx),%xmm0
  mulsd  0x0(%rbp),%xmm0
  mov    0x170(%rsp),%rax
  mov    0x38(%rsp),%r9
  mov    0x30(%rsp),%rcx
  movsd  %xmm0,(%rax,%r13,1)
  movsd  (%rdx),%xmm0
  addsd  %xmm0,%xmm0
  mulsd  (%r14),%xmm0
  movsd  %xmm0,0x8(%rax,%r13,1)
  movsd  (%rdx),%xmm0
  mov    0x178(%rsp),%rax
  addsd  %xmm0,%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax,%r12,1)
  movsd  (%rdx),%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,0x18(%rax,%r12,1)
  movsd  (%rdx),%xmm0
  mov    0x188(%rsp),%rax
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,0x10(%rax,%r12,1)
  movsd  (%rdx),%xmm0
  mov    0x180(%rsp),%rax
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax,%r12,1)
  movsd  (%rdx),%xmm0
  addsd  %xmm0,%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,0x18(%rax,%r12,1)
  movsd  (%rdx),%xmm0
  mov    0x190(%rsp),%rax
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,0x8(%rax,%r12,1)
  movsd  (%r9,%r13,1),%xmm14
  movsd  0x8(%r9,%r13,1),%xmm0
  mulsd  %xmm0,%xmm0
  movapd %xmm14,%xmm7
  mulsd  %xmm14,%xmm7
  addsd  %xmm0,%xmm7
  ucomisd %xmm7,%xmm10
  ja     L56
  sqrtsd %xmm7,%xmm7
L79:
  movsd  0x0(%rbp),%xmm12
  movsd  (%r14),%xmm1
  mulsd  %xmm1,%xmm1
  movapd %xmm12,%xmm0
  mulsd  %xmm12,%xmm0
  addsd  %xmm1,%xmm0
  ucomisd %xmm0,%xmm10
  ja     L33
  sqrtsd %xmm0,%xmm0
L10:
  movsd  (%rdx),%xmm1
  movapd %xmm9,%xmm11
  movapd %xmm10,%xmm4
  movsd  D79(%rip),%xmm15
  subsd  %xmm1,%xmm11
  movapd %xmm11,%xmm6
  andpd  D105(%rip),%xmm6
  comisd %xmm6,%xmm15
  ja     L76
  mov    0x70(%rsp),%rax
  movsd  (%rax,%r15,8),%xmm4
  mulsd  %xmm1,%xmm4
  mulsd  D107(%rip),%xmm4
  divsd  %xmm11,%xmm4
  divsd  %xmm2,%xmm4
L76:
  mulsd  0x40(%rsp),%xmm4
  movapd %xmm1,%xmm8
  movapd %xmm10,%xmm6
  movsd  D79(%rip),%xmm15
  andpd  D105(%rip),%xmm8
  comisd %xmm8,%xmm15
  ja     L60
  mov    0x70(%rsp),%rax
  movsd  D36(%rip),%xmm6
  movsd  (%rax,%r15,8),%xmm8
  mulsd  %xmm11,%xmm6
  mulsd  %xmm8,%xmm8
  mulsd  %xmm11,%xmm6
  mulsd  %xmm1,%xmm8
  mulsd  %xmm1,%xmm8
  mulsd  %xmm1,%xmm8
  divsd  %xmm8,%xmm6
L60:
  movapd %xmm1,%xmm13
  movsd  0x48(%rsp),%xmm15
  movapd %xmm1,%xmm8
  mov    0xe0(%rsp),%rax
  mulsd  %xmm1,%xmm1
  add    $0x8,%rdx
  add    $0x8,%rbp
  add    $0x8,%r14
  mulsd  %xmm3,%xmm13
  movapd %xmm4,%xmm11
  add    $0x20,%r12
  mulsd  %xmm0,%xmm11
  xorpd  D91(%rip),%xmm8
  mulsd  (%rcx),%xmm8
  mulsd  %xmm2,%xmm1
  mulsd  %xmm15,%xmm13
  mulsd  (%rax,%r15,8),%xmm13
  addsd  %xmm9,%xmm11
  mov    0x198(%rsp),%rax
  mulsd  %xmm6,%xmm1
  mulsd  %xmm14,%xmm13
  mulsd  %xmm11,%xmm1
  divsd  %xmm7,%xmm13
  mulsd  %xmm12,%xmm1
  subsd  %xmm13,%xmm8
  addsd  %xmm1,%xmm8
  movsd  %xmm8,(%rax,%r15,8)
  movsd  -0x8(%rdx),%xmm1
  mov    0xe0(%rsp),%rax
  mulsd  %xmm1,%xmm3
  movapd %xmm1,%xmm8
  xorpd  D91(%rip),%xmm8
  mulsd  %xmm1,%xmm1
  mulsd  %xmm5,%xmm8
  mulsd  0x8(%rcx),%xmm8
  mulsd  %xmm15,%xmm3
  mulsd  (%rax,%r15,8),%xmm3
  mov    0x1a0(%rsp),%rax
  mulsd  0x8(%r9,%r13,1),%xmm3
  mulsd  %xmm2,%xmm1
  divsd  %xmm7,%xmm3
  movapd %xmm8,%xmm7
  mulsd  %xmm6,%xmm1
  mulsd  %xmm11,%xmm1
  mulsd  -0x8(%r14),%xmm1
  subsd  %xmm3,%xmm7
  movsd  D8(%rip),%xmm3
  addsd  %xmm0,%xmm3
  addsd  %xmm1,%xmm7
  movsd  %xmm7,(%rax,%r15,8)
  movsd  -0x8(%rbp),%xmm1
  movsd  -0x8(%rdx),%xmm7
  mov    0x1a8(%rsp),%rax
  mulsd  %xmm1,%xmm1
  mulsd  %xmm7,%xmm7
  divsd  %xmm3,%xmm1
  mulsd  %xmm2,%xmm7
  mulsd  %xmm6,%xmm7
  addsd  %xmm0,%xmm1
  mulsd  %xmm4,%xmm1
  addsd  %xmm9,%xmm1
  mulsd  %xmm7,%xmm1
  movsd  %xmm1,(%rax,%r15,8)
  movsd  -0x8(%rbp),%xmm1
  mulsd  -0x8(%r14),%xmm1
  movsd  -0x8(%rdx),%xmm7
  mov    0x1b0(%rsp),%rax
  mulsd  %xmm7,%xmm7
  divsd  %xmm3,%xmm1
  mulsd  %xmm2,%xmm7
  mulsd  %xmm6,%xmm7
  mulsd  %xmm4,%xmm1
  addsd  %xmm10,%xmm1
  mulsd  %xmm7,%xmm1
  movsd  %xmm1,(%rax,%r15,8)
  movsd  -0x8(%r14),%xmm1
  movsd  -0x8(%rdx),%xmm7
  mov    0x1c0(%rsp),%rax
  mulsd  %xmm1,%xmm1
  mulsd  %xmm7,%xmm7
  divsd  %xmm3,%xmm1
  mulsd  %xmm2,%xmm7
  mulsd  %xmm6,%xmm7
  addsd  %xmm0,%xmm1
  mulsd  %xmm4,%xmm1
  addsd  %xmm9,%xmm1
  mulsd  %xmm7,%xmm1
  movsd  %xmm1,(%rax,%r15,8)
  movsd  -0x8(%rdx),%xmm1
  movsd  -0x8(%rbp),%xmm0
  mulsd  -0x8(%r14),%xmm0
  mov    0x1b8(%rsp),%rax
  mulsd  %xmm1,%xmm1
  divsd  %xmm3,%xmm0
  mulsd  %xmm2,%xmm1
  mulsd  %xmm6,%xmm1
  mulsd  %xmm4,%xmm0
  addsd  %xmm10,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax,%r15,8)
  mov    0xf0(%rsp),%rax
  movsd  -0x8(%rdx),%xmm0
  mulsd  (%rax,%r13,1),%xmm0
  mov    0x1c8(%rsp),%rax
  divsd  %xmm5,%xmm0
  movsd  %xmm0,(%rax,%r15,8)
  movsd  -0x8(%rdx),%xmm0
  mov    0x1d0(%rsp),%rax
  divsd  %xmm5,%xmm0
  movsd  %xmm0,(%rax,%r13,1)
  mov    0xf0(%rsp),%rax
  movsd  -0x8(%rdx),%xmm0
  mulsd  0x8(%rax,%r13,1),%xmm0
  mov    0x1d8(%rsp),%rax
  divsd  %xmm5,%xmm0
  movsd  %xmm0,(%rax,%r15,8)
  movsd  -0x8(%rdx),%xmm0
  add    $0x1,%r15
  mov    0x1e0(%rsp),%rax
  divsd  %xmm5,%xmm0
  movsd  %xmm0,0x8(%rax,%r13,1)
  add    $0x10,%r13
  cmp    0x78(%rsp),%r15
  jne    L8
L40:
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L56:
  movapd %xmm7,%xmm0
  mov    %r9,0x88(%rsp)
  mov    %rcx,0x80(%rsp)
  mov    %rdx,0x38(%rsp)
  movsd  %xmm2,0x30(%rsp)
  movsd  %xmm5,0x28(%rsp)
  movsd  %xmm3,0x20(%rsp)
  movsd  %xmm14,0x18(%rsp)
  call   <sqrt@plt>
  mov    0x38(%rsp),%rdx
  movsd  0x30(%rsp),%xmm2
  pxor   %xmm10,%xmm10
  movsd  0x28(%rsp),%xmm5
  movsd  0x20(%rsp),%xmm3
  movapd %xmm0,%xmm7
  mov    D56(%rip),%rax
  mov    0x88(%rsp),%r9
  mov    0x80(%rsp),%rcx
  movsd  0x18(%rsp),%xmm14
  movq   %rax,%xmm9
  jmp    L79
L33:
  mov    %r9,0x98(%rsp)
  mov    %rcx,0x90(%rsp)
  mov    %rdx,0x88(%rsp)
  movsd  %xmm7,0x80(%rsp)
  movsd  %xmm2,0x38(%rsp)
  movsd  %xmm5,0x30(%rsp)
  movsd  %xmm3,0x28(%rsp)
  movsd  %xmm12,0x20(%rsp)
  movsd  %xmm14,0x18(%rsp)
  call   <sqrt@plt>
  mov    D56(%rip),%rax
  mov    0x98(%rsp),%r9
  pxor   %xmm10,%xmm10
  mov    0x90(%rsp),%rcx
  mov    0x88(%rsp),%rdx
  movsd  0x80(%rsp),%xmm7
  movsd  0x38(%rsp),%xmm2
  movq   %rax,%xmm9
  movsd  0x30(%rsp),%xmm5
  movsd  0x28(%rsp),%xmm3
  movsd  0x20(%rsp),%xmm12
  movsd  0x18(%rsp),%xmm14
  jmp    L10
```

tool_calls: name: parse_data
arguments: data_label: D56
datatype: f64
name: parse_data
arguments: data_label: D79
datatype: byte[8]
name: parse_data
arguments: data_label: D105
datatype: qword[2]
name: parse_data
arguments: data_label: D107
datatype: byte[8]
name: parse_data
arguments: data_label: D36
datatype: f64
name: parse_data
arguments: data_label: D91
datatype: f32[4]
name: parse_data
arguments: data_label: D8
datatype: byte[8]

tool: D56: 1

tool: {"D79": [0x48,0xaf,0xbc,0x9a,0xf2,0xd7,0x7a,0x3e]}

tool: {"D105": [0x7fffffffffffffff,0x0000000000000000]}

tool: {"D107": [0x7b,0x14,0xae,0x47,0xe1,0x7a,0x84,0x3f]}

tool: D36: 180

tool: {"D91": [0.0,-0.0,0.0,0.0]}

tool: {"D8": [0x11,0xea,0x2d,0x81,0x99,0x97,0x71,0x3d]}

assistant: ```c
void VolumeAveragedTwophaseNavierStokes_ST_LS_SO_2D_Evaluate(const int nPoints, const int killNonlinearDrag, const double eps_rho, const double eps_mu, const double sigma, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double *meanGrainSize, const double *g, const double *phi, const double *n, const double *kappa, const double *p, const double *grad_p, const double *u, const double *v, const double *porosity, double *mom_u_acc, double *dmom_u_acc_u, double *mom_v_acc, double *dmom_v_acc_v, double *mass_adv, double *dmass_adv_u, double *dmass_adv_v, double *mom_u_adv, double *dmom_u_adv_u, double *dmom_u_adv_v, double *mom_v_adv, double *dmom_v_adv_u, double *dmom_v_adv_v, double *mom_u_diff_ten, double *mom_v_diff_ten, double *mom_uv_diff_ten, double *mom_vu_diff_ten, double *mom_u_source, double *mom_v_source, double *dmom_u_source_u, double *dmom_u_source_v, double *dmom_v_source_u, double *dmom_v_source_v, double *mom_u_ham, double *dmom_u_ham_grad_p, double *mom_v_ham, double *dmom_v_ham_grad_p) {
  int k;
  double rho, nu, mu, H_rho, d_rho, H_mu, d_mu, norm_n;
  double Ftilde, Kinv, uc;
  double nonlinearDragFactor = 1.0;
  if (killNonlinearDrag)
    nonlinearDragFactor = 0.0;
  for (k = 0; k < nPoints; k++) {
    H_rho = smoothedHeaviside(eps_rho, phi[k]);
    d_rho = smoothedDirac(eps_rho, phi[k]);
    H_mu = smoothedHeaviside(eps_mu, phi[k]);
    d_mu = smoothedDirac(eps_mu, phi[k]);
    rho = rho_0 * (1.0 - H_rho) + rho_1 * H_rho;
    nu = nu_0 * (1.0 - H_mu) + nu_1 * H_mu;
    mu = rho_0 * nu_0 * (1.0 - H_mu) + rho_1 * nu_1 * H_mu;
    mom_u_acc[k] = porosity[k] * u[k];
    dmom_u_acc_u[k] = porosity[k];
    mom_v_acc[k] = porosity[k] * v[k];
    dmom_v_acc_v[k] = porosity[k];
    mass_adv[k * 2 + 0] = porosity[k] * u[k];
    mass_adv[k * 2 + 1] = porosity[k] * v[k];
    dmass_adv_u[k * 2 + 0] = porosity[k];
    dmass_adv_v[k * 2 + 1] = porosity[k];
    mom_u_adv[k * 2 + 0] = porosity[k] * u[k] * u[k];
    mom_u_adv[k * 2 + 1] = porosity[k] * u[k] * v[k];
    dmom_u_adv_u[k * 2 + 0] = 2.0 * porosity[k] * u[k];
    dmom_u_adv_u[k * 2 + 1] = porosity[k] * v[k];
    dmom_u_adv_v[k * 2 + 1] = porosity[k] * u[k];
    mom_v_adv[k * 2 + 0] = porosity[k] * v[k] * u[k];
    mom_v_adv[k * 2 + 1] = porosity[k] * v[k] * v[k];
    dmom_v_adv_u[k * 2 + 0] = porosity[k] * v[k];
    dmom_v_adv_v[k * 2 + 0] = porosity[k] * u[k];
    dmom_v_adv_v[k * 2 + 1] = 2.0 * porosity[k] * v[k];
    mom_u_diff_ten[k * 4 + 0] = 2.0 * porosity[k] * nu;
    mom_u_diff_ten[k * 4 + 3] = porosity[k] * nu;
    mom_uv_diff_ten[k * 4 + 2] = porosity[k] * nu;
    mom_v_diff_ten[k * 4 + 0] = porosity[k] * nu;
    mom_v_diff_ten[k * 4 + 3] = 2.0 * porosity[k] * nu;
    mom_vu_diff_ten[k * 4 + 1] = porosity[k] * nu;
    norm_n = sqrt(n[k * 2 + 0] * n[k * 2 + 0] + n[k * 2 + 1] * n[k * 2 + 1]);
    uc = sqrt(u[k] * u[k] + v[k] * v[k]);
    if (fabs(1.0 - porosity[k]) < 1.0e-7)
      Ftilde = 0.0;
    else
      Ftilde = porosity[k] * meanGrainSize[k] * 1.0e-2 / (1.0 - porosity[k]) / nu;
    Ftilde *= nonlinearDragFactor;
    if (fabs(porosity[k]) < 1.0e-7)
      Kinv = 0.0;
    else
      Kinv = 180.0 * (1.0 - porosity[k]) * (1.0 - porosity[k]) / (meanGrainSize[k] * meanGrainSize[k] * porosity[k] * porosity[k] * porosity[k]);
    mom_u_source[k] = -porosity[k] * g[0] - porosity[k] * d_mu * sigma * kappa[k] * n[k * 2 + 0] / (norm_n) + porosity[k] * porosity[k] * nu * Kinv * (1.0 + Ftilde * uc) * u[k];
    mom_v_source[k] = -porosity[k] * rho * g[1] - porosity[k] * d_mu * sigma * kappa[k] * n[k * 2 + 1] / (norm_n) + porosity[k] * porosity[k] * nu * Kinv * (1.0 + Ftilde * uc) * v[k];
    dmom_u_source_u[k] = porosity[k] * porosity[k] * nu * Kinv * (1.0 + Ftilde * (uc + u[k] * u[k] / (uc + 1.0e-12)));
    dmom_u_source_v[k] = porosity[k] * porosity[k] * nu * Kinv * (0.0 + Ftilde * (u[k] * v[k] / (uc + 1.0e-12)));
    dmom_v_source_v[k] = porosity[k] * porosity[k] * nu * Kinv * (1.0 + Ftilde * (uc + v[k] * v[k] / (uc + 1.0e-12)));
    dmom_v_source_u[k] = porosity[k] * porosity[k] * nu * Kinv * (0.0 + Ftilde * (u[k] * v[k] / (uc + 1.0e-12)));
    mom_u_ham[k] = porosity[k] * grad_p[k * 2 + 0] / rho;
    dmom_u_ham_grad_p[k * 2 + 0] = porosity[k] / rho;
    mom_v_ham[k] = porosity[k] * grad_p[k * 2 + 1] / rho;
    dmom_v_ham_grad_p[k * 2 + 1] = porosity[k] / rho;
  }
}
```