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

bug report: start without initial condition #15

Open
Mr-2c opened this issue Feb 21, 2024 · 0 comments
Open

bug report: start without initial condition #15

Mr-2c opened this issue Feb 21, 2024 · 0 comments

Comments

@Mr-2c
Copy link

Mr-2c commented Feb 21, 2024

The following if statement does not check whether it has read a header or not and thus uses whatever value the variables have based on the assigned memory. Addition of a simple additional condition (i.e., IF (io==0) THEN...) would fix the issue.

IF (r_nx /= nx .OR. r_ny /= ny .OR. r_nz /= nz .OR. r_alfa0 /= alfa0 .OR. r_beta0 /= beta0 .OR. r_ni /= ni .OR. r_a /= a .OR. r_ymin /= ymin .OR. r_ymax /= ymax) THEN

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