Skip to content

Commit

Permalink
Merge pull request #12236 from matekelemen/hdf5/template-instantiation
Browse files Browse the repository at this point in the history
[HDF5] Instantiate `HDF5::File::HasDataType`
  • Loading branch information
matekelemen authored Mar 30, 2024
2 parents 581ac80 + 820201b commit 9b0fdfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions applications/HDF5Application/custom_io/hdf5_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,9 @@ void File::ReadDataSetImpl(
}

// template instantiations
template KRATOS_API(HDF5_APPLICATION) bool File::HasDataType<int>(const std::string&) const;
template KRATOS_API(HDF5_APPLICATION) bool File::HasDataType<double>(const std::string&) const;

#ifndef KRATOS_HDF5_FILE_DATA_SET_METHOD_INSTANTIATION
#define KRATOS_HDF5_FILE_DATA_SET_METHOD_INSTANTIATION(...) \
template KRATOS_API(HDF5_APPLICATION) void File::WriteDataSetImpl<__VA_ARGS__, File::DataTransferMode::Collective>(const std::string&, const __VA_ARGS__&, WriteInfo&); \
Expand Down

0 comments on commit 9b0fdfa

Please sign in to comment.