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

Grid3D: can only bin bunch along x-y-z axis #47

Open
austin-hoover opened this issue Feb 13, 2025 · 0 comments
Open

Grid3D: can only bin bunch along x-y-z axis #47

austin-hoover opened this issue Feb 13, 2025 · 0 comments

Comments

@austin-hoover
Copy link
Contributor

The Grid2D::binBunch method bins particles on the x-y axis by default:

void Grid2D::binBunch(Bunch* bunch){
this->binBunch(bunch,0,2);
}

but also allows specifying the axis:

void Grid2D::binBunch(Bunch* bunch, int ind0, int ind1){

However, Grid3D::binBunch bins coordinates only on the x-y-z axis:

void Grid3D::binBunch(Bunch* bunch){

@austin-hoover austin-hoover changed the title Grid3D: bin bunch along arbitrary dimensions Grid3D: can only bin bunch along x-y-z axis Feb 13, 2025
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

1 participant