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

Xmdf support #11

Merged
merged 6 commits into from May 28, 2018
Merged

Xmdf support #11

merged 6 commits into from May 28, 2018

Conversation

PeterPetrik
Copy link
Contributor

fixes #10

Copied from crayfish with removal of Qt

#ifndef MDAL_HDF5_HPP
#define MDAL_HDF5_HPP

/** A simple C++/Qt wrapper around HDF5 library API */
Copy link
Contributor

Choose a reason for hiding this comment

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

drop 'Qt'

return data;
}

float readFloat()
Copy link
Contributor

Choose a reason for hiding this comment

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

const

if ( ds.size() != 1 )
MDAL::debug( "Maximum dataset should have just one timestep!" );
else
datasets.push_back( ds.at( 0 ) );
Copy link
Contributor

Choose a reason for hiding this comment

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

should use emplace_back instead of push_back for c++11

@PeterPetrik PeterPetrik merged commit 7adad6a into master May 28, 2018
@PeterPetrik PeterPetrik deleted the 10_xmdf_support branch June 26, 2018 08:44
PeterPetrik added a commit that referenced this pull request Oct 4, 2018
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.

Support XMDF format
2 participants