Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

band_interleave hydro_dump #16

Open
liangwang0734 opened this issue Nov 2, 2017 · 1 comment
Open

band_interleave hydro_dump #16

liangwang0734 opened this issue Nov 2, 2017 · 1 comment

Comments

@liangwang0734
Copy link

Hi,

This is a new user question: In src/vpic/dump.cc, the band_interleave branch of hydro_dump seems to not correctly set the dim array to include ghost layer:

    dim[0] = nxout;
    dim[1] = nyout;
    dim[2] = nzout;

while the field_dump does

    dim[0] = nxout+2;
    dim[1] = nyout+2;
    dim[2] = nzout+2;

It appears to me that the two extra cells are ghost cells. For direct dump (no stride), I believe the dim array should include them, since the memory block is dumped as a whole.

Thanks,
Liang

PS:

@rfbird
Copy link
Contributor

rfbird commented Nov 21, 2017

Hey,

Sorry for the slow reply on this. It does look like this may be an issue. We're trying to figure out if changing this would have any other wide spread problems associated with it

Best,
Bob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants