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

HDF5Writer: DCollector::Dimensions getPointer #63

Closed
ax3l opened this issue Sep 20, 2013 · 2 comments
Closed

HDF5Writer: DCollector::Dimensions getPointer #63

ax3l opened this issue Sep 20, 2013 · 2 comments
Assignees
Labels
bug a bug in the project's code component: plugin in PIConGPU plugin

Comments

@ax3l
Copy link
Member

ax3l commented Sep 20, 2013

While using methods like writeAttribute with DCollector::Dimensions objects, one should use getPointer() instead of &:

&sim_size -> sim_size.getPointer()

DCollector::Dimensions sim_size( 1, 2, 3);
domainCollector.writeAttribute( currentStep,
                                DCollector::ColTypeDim(),
                                dataSetName.str().c_str(),
                                "sim_size",
                                sim_size.getPointer() );
@ghost ghost assigned f-schmitt Oct 8, 2013
@ax3l
Copy link
Member Author

ax3l commented Oct 8, 2013

Fixed with 5b3903b (Merge of #78).
@psychocoderHPC we close that issue after your flex/lego/... particle branch was merged.

@ax3l
Copy link
Member Author

ax3l commented Nov 28, 2013

Closed with #78 and #86

@ax3l ax3l closed this as completed Nov 28, 2013
ax3l pushed a commit to ax3l/picongpu that referenced this issue Feb 17, 2015
…ded_warning_flags

Added flags for more compile warnings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the project's code component: plugin in PIConGPU plugin
Projects
None yet
Development

No branches or pull requests

2 participants