22 #ifndef __DOLFIN_HDF5UTILITY_H 23 #define __DOLFIN_HDF5UTILITY_H 28 #include "dolfin/common/types.h" 52 const std::vector<std::size_t>& input_cells,
53 const std::vector<dolfin::la_index>& input_cell_dofs,
54 const std::vector<std::size_t>& x_cell_dofs,
55 const std::pair<dolfin::la_index, dolfin::la_index>
57 std::vector<std::size_t>& global_cells,
58 std::vector<std::size_t>& remote_local_dofi);
66 const std::vector<std::pair<std::size_t, std::size_t>>& cell_ownership,
67 const std::vector<std::size_t>& remote_local_dofi,
68 std::pair<std::size_t, std::size_t> vector_range,
70 std::vector<dolfin::la_index>& global_dof);
74 static std::vector<std::pair<std::size_t, std::size_t>>
80 std::vector<std::pair<std::size_t, std::size_t>>& global_owner,
92 const std::vector<size_t>& cells,
93 const std::vector<dolfin::la_index>& cell_dofs,
94 const std::vector<std::size_t>& x_cell_dofs,
95 const std::vector<double>& vector,
96 std::pair<dolfin::la_index, dolfin::la_index> input_vector_range,
static void cell_owners_in_range(std::vector< std::pair< std::size_t, std::size_t >> &global_owner, const Mesh &mesh)
Definition: HDF5Utility.cpp:254
This class provides a generic interface for dof maps.
Definition: GenericDofMap.h:49
This class stores mesh data on a local processor corresponding to a portion of a (larger) global mesh...
Definition: LocalMeshData.h:58
static std::vector< std::pair< std::size_t, std::size_t > > cell_owners(const Mesh &mesh, const std::vector< std::size_t > &cells)
Definition: HDF5Utility.cpp:185
static void build_local_mesh(Mesh &mesh, const LocalMeshData &mesh_data)
Definition: HDF5Utility.cpp:304
Definition: HDF5Utility.h:40
static void map_gdof_to_cell(const MPI_Comm mpi_comm, const std::vector< std::size_t > &input_cells, const std::vector< dolfin::la_index > &input_cell_dofs, const std::vector< std::size_t > &x_cell_dofs, const std::pair< dolfin::la_index, dolfin::la_index > vector_range, std::vector< std::size_t > &global_cells, std::vector< std::size_t > &remote_local_dofi)
Definition: HDF5Utility.cpp:44
static void get_global_dof(MPI_Comm mpi_comm, const std::vector< std::pair< std::size_t, std::size_t >> &cell_ownership, const std::vector< std::size_t > &remote_local_dofi, std::pair< std::size_t, std::size_t > vector_range, const GenericDofMap &dofmap, std::vector< dolfin::la_index > &global_dof)
Definition: HDF5Utility.cpp:119
static void set_local_vector_values(MPI_Comm mpi_comm, GenericVector &x, const Mesh &mesh, const std::vector< size_t > &cells, const std::vector< dolfin::la_index > &cell_dofs, const std::vector< std::size_t > &x_cell_dofs, const std::vector< double > &vector, std::pair< dolfin::la_index, dolfin::la_index > input_vector_range, const GenericDofMap &dofmap)
Missing docstring.
Definition: HDF5Utility.cpp:341
This class defines a common interface for vectors.
Definition: GenericVector.h:47