You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the 2 and 3D example noh problems on dev, you get "ABORT: noh -> Unknown custom boundary condition."
This looks like it is coming from cholla/src/grid/boundary_conditions.cpp:
void Grid3D::Custom_Boundary(char bcnd[MAXLEN])
{
if (strcmp(bcnd, "noh") == 0) {
// from grid/cuda_boundaries.cu
Noh_Boundary();
}
if (strcmp(bcnd, "wind") == 0) {
// from grid/cuda_boundaries.cu
Wind_Boundary();
} else {
printf("ABORT: %s -> Unknown custom boundary condition.\n", bcnd);
exit(0);
}
}
strcmp(bcnd, "noh") is returning 0, but it is still checking if strcmp(bcnd, "wind")==0
If you change the second if statement to an else if statement the tests run. They run on main as there is only the one if statement.
The text was updated successfully, but these errors were encountered:
When running the 2 and 3D example noh problems on dev, you get "ABORT: noh -> Unknown custom boundary condition."
This looks like it is coming from cholla/src/grid/boundary_conditions.cpp:
strcmp(bcnd, "noh")
is returning 0, but it is still checking ifstrcmp(bcnd, "wind")==0
If you change the second
if
statement to anelse if
statement the tests run. They run on main as there is only the oneif
statement.The text was updated successfully, but these errors were encountered: