Skip to content

Modification of predefgrid#66

Closed
ParfenovS wants to merge 6 commits intolime-rt:masterfrom
ParfenovS:Modification-of-predefgrid
Closed

Modification of predefgrid#66
ParfenovS wants to merge 6 commits intolime-rt:masterfrom
ParfenovS:Modification-of-predefgrid

Conversation

@ParfenovS
Copy link
Copy Markdown
Contributor

The code (photon and traceray procedures) assumes that if the user supplies predefined grid then the velocity field is taken from this grid. The user may want to change the format of file with the predefined grid so that the velocity will not be taken from this file.

These commits allow the code to check whether the user supplies the velocity field with the predefined grid and to use appropriate functions in photon and traceray procedures. With these commits the code also will check whether other physical properties were taken from the input file with predefined grid. It may be useful if the user wants to change the format of the input file.

The new parameter is used to check whether the user provides velocity from the predefined grid.
The default value of the new parameter means that the velocity field obtained with the velocity function but not from the predefined grid.
The code always assumes that if the user supplied the predefined grid then the velocity was taken from this grid. This may be not the case. It is better to perform additional check on whether the velocity field was taken from the predefined grid or was obtained with the velocity function.
The code always assumes that if the user supplied the predefined grid then the velocity was taken from this grid. This may be not the case. It is better to perform additional check on whether the velocity field was taken from the predefined grid or was obtained with the velocity function.
These commits allow the code to check what variables were supplied by the user in the predefined grid. If some variables were not provided in the input file then they will be computed with the model functions. It also important that the code checks whether the velocity field was supplied in the predefined grid. This information is then used in photon and traceray procedures.
Additional notes may be useful for the users who want to change the format of file with the predefined grid.
@allegroLeiden
Copy link
Copy Markdown
Contributor

I think this goes in the right direction, but I have felt all along that I/O for grid data must be made much more systematic, with a limited number of clearly defined possibilities for which grid attributes are expected to be supplied in a file submitted by the user. My PR #92 sets out such a scheme.

@smaret
Copy link
Copy Markdown
Contributor

smaret commented Aug 22, 2016

My PR #92 sets out such a scheme.

OK, I'm closing this one then

@smaret smaret closed this Aug 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants