Skip to content

Conversation

@ykempf
Copy link
Contributor

@ykempf ykempf commented May 16, 2019

If e.g. a vector of floats is passed as &vector[0] this goes smoothly and a PARAMETER of more than 1 scalar is written successfully using Vlasiator.

With the default value of 1 this does not break anything at least in Vlasiator.

Open for discussion here or on Flowdock, in particular I'd like @sandroos' comments.

@ykempf ykempf requested review from galfthan, sandroos and ursg May 16, 2019 09:08
Copy link
Member

@galfthan galfthan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me the changes look sane. I assume they have been tested

@ykempf
Copy link
Contributor Author

ykempf commented May 20, 2019

Yes, this was tested with the new DROs of Vlasiator.

@sandroos
Copy link
Contributor

For as long as a vectorsize=1 parameter written with the new function can be read using readParameter, there shouldn't be any conflicts with other code.

@sandroos
Copy link
Contributor

Also a new function should be added for reading the multidimensional parameters.

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

Successfully merging this pull request may close these issues.

3 participants