]>
https://gitweb.dealii.org/ - dealii.git/log
Daniel Arndt [Wed, 9 Jan 2019 20:57:54 +0000 (21:57 +0100)]
Merge pull request #7020 from dangars/hdf5
Add HDF5 classes
David Wells [Wed, 9 Jan 2019 20:48:07 +0000 (15:48 -0500)]
Merge pull request #7567 from bangerth/doc-update
Update some documentation.
Daniel Garcia-Sanchez [Wed, 9 Jan 2019 18:38:53 +0000 (19:38 +0100)]
Changelog entry
Daniel Garcia-Sanchez [Thu, 29 Nov 2018 16:35:32 +0000 (17:35 +0100)]
Improve the documentation
Daniel Garcia-Sanchez [Thu, 29 Nov 2018 15:58:00 +0000 (16:58 +0100)]
Reorder functions get/set_query_io_mode()
Daniel Garcia-Sanchez [Wed, 28 Nov 2018 19:00:41 +0000 (20:00 +0100)]
Add functions set_plist() and release_plist()
Daniel Garcia-Sanchez [Tue, 27 Nov 2018 13:39:08 +0000 (14:39 +0100)]
Remove std::vector copy
Daniel Garcia-Sanchez [Mon, 26 Nov 2018 16:03:14 +0000 (17:03 +0100)]
Use const reference instead of rvalue
Daniel Garcia-Sanchez [Fri, 23 Nov 2018 16:27:19 +0000 (17:27 +0100)]
Create a list with a more clear syntax
Daniel Garcia-Sanchez [Thu, 22 Nov 2018 17:50:16 +0000 (18:50 +0100)]
Specify the argument in the lambda funcions
Generic lambdas is a C++14 feature
Daniel Garcia-Sanchez [Thu, 22 Nov 2018 17:39:07 +0000 (18:39 +0100)]
Make the arguments const
Daniel Garcia-Sanchez [Wed, 21 Nov 2018 19:40:25 +0000 (20:40 +0100)]
Add get_name()
Daniel Garcia-Sanchez [Thu, 15 Nov 2018 15:40:55 +0000 (16:40 +0100)]
Make const the functions open_* and create_*
Daniel Garcia-Sanchez [Thu, 15 Nov 2018 14:52:25 +0000 (15:52 +0100)]
Use make_array_view(container_object).data()
Obtain a pointer to the container raw data using make_array_view(container_object).data(). Remove the functions get_container_pointer().
Daniel Garcia-Sanchez [Fri, 2 Nov 2018 17:09:06 +0000 (18:09 +0100)]
Improve the documentation
Daniel Garcia-Sanchez [Fri, 2 Nov 2018 12:30:39 +0000 (13:30 +0100)]
Rename group() to open_group()
Daniel Garcia-Sanchez [Wed, 31 Oct 2018 16:16:17 +0000 (17:16 +0100)]
Make get_attribute const
Daniel Garcia-Sanchez [Wed, 31 Oct 2018 15:57:44 +0000 (16:57 +0100)]
Reorder parameters
Daniel Garcia-Sanchez [Tue, 30 Oct 2018 16:52:26 +0000 (17:52 +0100)]
Add test hdf5_06
The test hdf5_06 is the serial version of hdf5_05
Daniel Garcia-Sanchez [Tue, 30 Oct 2018 10:02:40 +0000 (11:02 +0100)]
Add test for Vector and write/read selection
Daniel Garcia-Sanchez [Tue, 30 Oct 2018 09:26:35 +0000 (10:26 +0100)]
Use Container in read_selection and write_selection
Daniel Garcia-Sanchez [Tue, 30 Oct 2018 07:36:45 +0000 (08:36 +0100)]
Use overload instead of enable_if
Daniel Garcia-Sanchez [Mon, 29 Oct 2018 21:40:13 +0000 (22:40 +0100)]
Make herr_t ret local variable
Daniel Garcia-Sanchez [Mon, 29 Oct 2018 21:18:27 +0000 (22:18 +0100)]
Rename enum Mode
Daniel Garcia-Sanchez [Mon, 29 Oct 2018 20:44:04 +0000 (21:44 +0100)]
Improve the documentation
Modify the location of clang off
Add in the documentation the MPI requirements
Fix typos
Daniel Garcia-Sanchez [Mon, 29 Oct 2018 20:37:19 +0000 (21:37 +0100)]
Rename dataset() to open_dataset()
Daniel Garcia-Sanchez [Mon, 29 Oct 2018 19:53:10 +0000 (20:53 +0100)]
Add complex=off for the test hdf5_05
Daniel Garcia-Sanchez [Mon, 29 Oct 2018 19:42:37 +0000 (20:42 +0100)]
Add hdf5_05.mpirun=1.output
Daniel Garcia-Sanchez [Mon, 29 Oct 2018 19:26:38 +0000 (20:26 +0100)]
Add tests in tests/base/hdf5_05.cc
Daniel Garcia-Sanchez [Mon, 29 Oct 2018 19:19:26 +0000 (20:19 +0100)]
Add read_hyperslab()
Daniel Garcia-Sanchez [Sat, 20 Oct 2018 12:26:59 +0000 (14:26 +0200)]
Squeeze the dimensions of FullMatrix in initialize_container()
Daniel Garcia-Sanchez [Tue, 16 Oct 2018 10:16:38 +0000 (12:16 +0200)]
Add test hdf5_05
The test hdf5_05 is based on the test hdf5_03
Daniel Garcia-Sanchez [Mon, 15 Oct 2018 21:09:12 +0000 (23:09 +0200)]
HDF5 tests with_complex_values=off
Daniel Garcia-Sanchez [Mon, 15 Oct 2018 13:20:30 +0000 (15:20 +0200)]
Add the option "with_complex_values=on" in the output files of the tests
Daniel Garcia-Sanchez [Tue, 9 Oct 2018 19:27:35 +0000 (21:27 +0200)]
Declare variables as const
Daniel Garcia-Sanchez [Tue, 9 Oct 2018 14:37:55 +0000 (16:37 +0200)]
Improve the documentation
Thread safety documentation
Modify the hyperslab documentation
Daniel Garcia-Sanchez [Tue, 9 Oct 2018 14:18:58 +0000 (16:18 +0200)]
Use two functions instead of a template
Instead of a templated get_io_mode() function. Two functions have been defined:
- std::string get_io_mode();
- H5D_mpio_actual_io_mode_t get_io_mode_as_hdf5_type();
And the same for get_local_no_collective_cause() and get_global_no_collective_cause()
Daniel Garcia-Sanchez [Mon, 8 Oct 2018 13:22:35 +0000 (15:22 +0200)]
Rename functions
Daniel Garcia-Sanchez [Mon, 8 Oct 2018 09:27:07 +0000 (11:27 +0200)]
Separate functions by three empty lines
Daniel Garcia-Sanchez [Sun, 7 Oct 2018 11:29:35 +0000 (13:29 +0200)]
Use make_shared in get_hdf5_datatype()
Daniel Garcia-Sanchez [Sat, 6 Oct 2018 11:12:35 +0000 (13:12 +0200)]
Document the constructors of Group and File
Daniel Garcia-Sanchez [Fri, 5 Oct 2018 21:05:01 +0000 (23:05 +0200)]
Use lambda function in no_collective_cause_to_string()
Daniel Garcia-Sanchez [Fri, 5 Oct 2018 16:47:18 +0000 (18:47 +0200)]
Improve the documentation
Document helper functions
Document valid Containers
Document read_selection() and write_selection()
Use @p for arguments in the documentation
Document initialize_container
Fix typo
Documentation of the rank of HDF5 datasets and hyperslabs
Daniel Garcia-Sanchez [Fri, 5 Oct 2018 15:54:46 +0000 (17:54 +0200)]
Replace template template Containers by template Containers
Daniel Arndt [Wed, 9 Jan 2019 18:18:47 +0000 (19:18 +0100)]
Merge pull request #7569 from GivAlz/AddTestGlobalTree
Add test and support for non-mpi to GridTools::build_global_tree
Daniel Garcia-Sanchez [Fri, 5 Oct 2018 09:56:43 +0000 (11:56 +0200)]
Improve the documentation
Improve the documentation of hyperslab
Document hdf5_reference std::shared_ptr<>
Document DataSet constructors
Daniel Garcia-Sanchez [Thu, 4 Oct 2018 17:16:26 +0000 (19:16 +0200)]
Pass parameters by reference
Daniel Garcia-Sanchez [Thu, 4 Oct 2018 15:59:41 +0000 (17:59 +0200)]
Move enum Mode
Daniel Garcia-Sanchez [Thu, 4 Oct 2018 15:04:17 +0000 (17:04 +0200)]
Define mpi variable as const
Daniel Garcia-Sanchez [Thu, 4 Oct 2018 09:41:03 +0000 (11:41 +0200)]
Rename check_io_mode() to query_io_mode()
Daniel Garcia-Sanchez [Wed, 3 Oct 2018 15:52:24 +0000 (17:52 +0200)]
Improve the documentation
Modify copyright years
Remove clang on/off
Use backticks for the types
Daniel Garcia-Sanchez [Wed, 3 Oct 2018 15:49:52 +0000 (17:49 +0200)]
Add endline
Daniel Garcia-Sanchez [Mon, 1 Oct 2018 14:44:47 +0000 (16:44 +0200)]
Add Asserts
Daniel Garcia-Sanchez [Mon, 27 Aug 2018 12:36:39 +0000 (14:36 +0200)]
Remove the warnings of unused variables
There are many warnings of unused variables in release mode because of Assert. Example:
herr_t ret;
ret = H5Pclose(plist);
Assert(ret >= 0, ExcMessage("Error at H5Pclose"));
In order to remove these warnings the declaration of variable ret has been moved from the functions to the class definition of HDF5Object.
Daniel Garcia-Sanchez [Sun, 26 Aug 2018 15:25:50 +0000 (17:25 +0200)]
Format code
Daniel Garcia-Sanchez [Sun, 26 Aug 2018 15:24:59 +0000 (17:24 +0200)]
Remove irrelevant curly brackets
Daniel Garcia-Sanchez [Sun, 26 Aug 2018 14:43:16 +0000 (16:43 +0200)]
Write serial tests for the HDF5 datasets
Daniel Garcia-Sanchez [Sun, 26 Aug 2018 14:07:28 +0000 (16:07 +0200)]
Use generic container for write_dataset
Daniel Garcia-Sanchez [Wed, 22 Aug 2018 15:23:32 +0000 (17:23 +0200)]
Add support for Vector
Daniel Garcia-Sanchez [Wed, 22 Aug 2018 12:41:28 +0000 (14:41 +0200)]
Place most of the instantiations in hdf5.inst.in
Daniel Garcia-Sanchez [Wed, 22 Aug 2018 09:22:38 +0000 (11:22 +0200)]
Write parallel tests for the HDF5 datasets
Daniel Garcia-Sanchez [Wed, 22 Aug 2018 06:29:52 +0000 (08:29 +0200)]
Add examples
Daniel Garcia-Sanchez [Tue, 21 Aug 2018 13:55:11 +0000 (15:55 +0200)]
Use hex values instead of enum values
Hex codes are used because the HDF5 Group can deprecate some of the enum codes. For example H5D_MPIO_FILTERS is not defined in 1.10.2 because it is possible to use compressed datasets with the MPI/IO driver.
Daniel Garcia-Sanchez [Mon, 20 Aug 2018 22:06:20 +0000 (00:06 +0200)]
Remove long double and std::complex<long double> instantiations
The std::complex<long double> instantiation creates errors with valgrind.
Although long double does not create errors with valgrind, it is not a widely used.
Daniel Garcia-Sanchez [Sun, 19 Aug 2018 22:08:50 +0000 (00:08 +0200)]
Fix doxygen documentation
Daniel Garcia-Sanchez [Sun, 19 Aug 2018 21:39:18 +0000 (23:39 +0200)]
Replace the template argument T by number
Daniel Garcia-Sanchez [Sun, 19 Aug 2018 19:16:44 +0000 (21:16 +0200)]
Add functions read_*()
Add read_selection()
Add read_hyperslab()
Add read_none()
Daniel Garcia-Sanchez [Sun, 19 Aug 2018 15:06:48 +0000 (17:06 +0200)]
Remove the quotes in the documentation
Daniel Garcia-Sanchez [Sun, 19 Aug 2018 11:53:26 +0000 (13:53 +0200)]
Improve write_hyperslab()
Daniel Garcia-Sanchez [Sat, 18 Aug 2018 18:30:51 +0000 (20:30 +0200)]
Rename read_data() to read() and write_data() to write()
Daniel Garcia-Sanchez [Sat, 18 Aug 2018 13:28:04 +0000 (15:28 +0200)]
Use generic Container for write_data and write_data_hyperslab
Daniel Garcia-Sanchez [Tue, 14 Aug 2018 22:12:26 +0000 (00:12 +0200)]
Get the pointer to the raw data of FullMatrix
Daniel Garcia-Sanchez [Mon, 13 Aug 2018 16:34:04 +0000 (18:34 +0200)]
Add functions
Add read_data() function
Add io_mode() and check_io_mode() functions
Add local_no_collective_cause() and global_no_collective_cause()
Daniel Garcia-Sanchez [Tue, 7 Aug 2018 20:54:30 +0000 (22:54 +0200)]
Write tests for HDF5 attributes
Daniel Garcia-Sanchez [Tue, 7 Aug 2018 20:06:37 +0000 (22:06 +0200)]
Constructor for opening a dataset
Daniel Garcia-Sanchez [Mon, 6 Aug 2018 21:34:18 +0000 (23:34 +0200)]
Write UTF8 string attributes
Daniel Garcia-Sanchez [Sun, 5 Aug 2018 15:24:33 +0000 (17:24 +0200)]
Use templates for the function members of DataSet
Daniel Garcia-Sanchez [Fri, 3 Aug 2018 09:22:47 +0000 (11:22 +0200)]
Check support for HDF5 and MPI
Daniel Garcia-Sanchez [Thu, 2 Aug 2018 18:16:56 +0000 (20:16 +0200)]
Add support for all the scalar and complex types
Add FullMatrix support in write_dataset
Modify the namespace
Place get_hdf5_datatype in the internal namespace
Daniel Garcia-Sanchez [Thu, 2 Aug 2018 11:09:54 +0000 (13:09 +0200)]
Add HDF5 classes
Giovanni Alzetta [Mon, 7 Jan 2019 11:09:28 +0000 (12:09 +0100)]
Added tests and support for non-mpi to GridTools::build_global_tree
Wolfgang Bangerth [Wed, 9 Jan 2019 08:50:45 +0000 (01:50 -0700)]
Merge pull request #7474 from starki0815/dealii_extract_boundary_mesh_patched
Fix bugs in extract_boundary_mesh
Matthias Maier [Wed, 9 Jan 2019 02:02:10 +0000 (20:02 -0600)]
Merge pull request #7574 from masterleinad/test_fallthrough
Check [[fallthrough]] instead of assuming it when C++17 support is enabled
Daniel Arndt [Wed, 9 Jan 2019 01:15:27 +0000 (02:15 +0100)]
Merge pull request #7570 from masterleinad/loop-convert_1
Use range-based for loops in examples and expand_instantiations
Bruno Turcksin [Wed, 9 Jan 2019 00:44:08 +0000 (19:44 -0500)]
Merge pull request #7573 from masterleinad/require_openmp_cuda
Require OpenMP for CUDA support
Daniel Arndt [Tue, 8 Jan 2019 20:25:26 +0000 (21:25 +0100)]
Check [[fallthrough]] instead of assuming it when C++17 support is enabled
Daniel Arndt [Tue, 8 Jan 2019 20:28:47 +0000 (21:28 +0100)]
Require OpenMP for CUDA support
Daniel Arndt [Sat, 5 Jan 2019 20:44:37 +0000 (21:44 +0100)]
Use range-based for loops in examples and expand_instantiations
Sebastian Stark [Tue, 18 Dec 2018 12:37:03 +0000 (14:37 +0200)]
Fix failed tests for extract_boundary_mesh and add new test
add codim_one/extract_boundary_mesh_15
- The test checks whether extract_boundary_mesh produces correct results for 2d and 3d. In particular, it checks whether #7474 succesfully fixes #7467.
fix manifold/polar_manifold_04:
- failed because of different vertex ordering in 2d and 3d with the new version in order to get consistent outward facing normals
- contains a bug in itself in that the north and south poles are not properly excluded in 3d (only the origin is excluded in the code)
-> solution: fix bug in test and update output file
All other failed tests have been fixed by updating the output file
Sebastian Stark [Mon, 26 Nov 2018 08:27:18 +0000 (10:27 +0200)]
Fix bugs in extract_boundary_mesh.
In 3d, extract_boundary_mesh swaps vertices to get consistent boundary cell orientations. However, this swapping was so far not taken into account during the assembly of the map between boundary cells and corresponding faces of the volume cells. Fixing the latter required substantial changes (a quick and dirty fix would have been possible in principle, but certainly not clean) to extract_boundary_mesh because the (local) face indices of the volume cells must be known when the map is assembled. Also, the algorithm to do the refinement of the boundary mesh has been modified such that map lookups are no longer necessary. Moreover, vertex swapping has been introduced also for the 2d case in order to make the 2d behavior consistent with the 3d behavior (in previous versions of the function, the normal vector of the boundary mesh pointed always into the domain in 3d, whereas it pointed either into or out of the domain in 2d depending on the situation). Further, the normals have been adjusted to generally face outward. Fixes #7467.
Daniel Arndt [Tue, 8 Jan 2019 14:39:04 +0000 (15:39 +0100)]
Merge pull request #7440 from masterleinad/restrict_subscribe
Disallow using rvalue references for Subscriptor::(un)?subscribe
Wolfgang Bangerth [Tue, 8 Jan 2019 13:51:23 +0000 (06:51 -0700)]
Merge pull request #7571 from masterleinad/replace_size_t
Replace size_t by std::size_t
Daniel Arndt [Mon, 12 Nov 2018 17:25:43 +0000 (18:25 +0100)]
Disallow using rvalue references for Subscriptor::(un)?subscribe
Daniel Arndt [Tue, 8 Jan 2019 09:39:37 +0000 (10:39 +0100)]
Merge pull request #7568 from bangerth/cleanups
Some minor cleanups in GridTools.
Daniel Arndt [Tue, 8 Jan 2019 09:25:59 +0000 (10:25 +0100)]
Replace size_t by std::size_t
Wolfgang Bangerth [Mon, 7 Jan 2019 18:38:54 +0000 (11:38 -0700)]
Update some documentation.
Wolfgang Bangerth [Mon, 7 Jan 2019 20:07:06 +0000 (13:07 -0700)]
Some cleanups in GridTools.
Daniel Arndt [Mon, 7 Jan 2019 17:49:25 +0000 (18:49 +0100)]
Merge pull request #7565 from bangerth/fix-test
Use correct data type for a random number.
Wolfgang Bangerth [Mon, 7 Jan 2019 14:04:50 +0000 (07:04 -0700)]
Use correct data type for a random number.
Martin Kronbichler [Mon, 7 Jan 2019 09:37:43 +0000 (10:37 +0100)]
Merge pull request #7303 from masterleinad/cuda_aware_mpi
Allow using CUDA-aware MPI
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams
Typeset in
Trocchi and Trocchi Bold Sans Serif.