[ET Trac] #2631: Meudon_BinNS fails if initial_dtshift or initial_dtlapse is set to an unexpected value

Roland Haas trac-noreply at einsteintoolkit.org
Fri Aug 19 14:11:45 CDT 2022


#2631: Meudon_BinNS fails if initial_dtshift or initial_dtlapse is set to an unexpected value

 Reporter: Roland Haas
   Status: new
Milestone: 
  Version: 
     Type: bug
 Priority: minor
Component: 

Comment (by Roland Haas):

One may also have to check if this will not fail when `cctk_lsh != cctk_ash` ie when padding is used. Currently the code uses:

```c++
  int const npoints = cctk_lsh[0] * cctk_lsh[1] * cctk_lsh[2];
  vector<double> xx(npoints), yy(npoints), zz(npoints);
```

and

```
  for (int i=0; i<npoints; ++i) {
    if (CCTK_EQUALS(initial_lapse, "Meudon_Bin_NS")) { 
      alp[i] = bin_ns.nnn[i];
    }
  }
```

which is incorrect when padding is used.

‌

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2631/meudon_binns-fails-if-initial_dtshift-or
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20220819/34b385b5/attachment.html 


More information about the Trac mailing list