28 namespace DoFHandlerImplementation
32 , n_locally_owned_dofs(0)
38 : n_global_dofs(n_global_dofs)
49 const unsigned int my_rank)
50 : locally_owned_dofs_per_processor(locally_owned_dofs_per_processor)
52 const unsigned int n_procs = locally_owned_dofs_per_processor.size();
55 for (
unsigned int p = 0; p < n_procs; ++p)
56 locally_owned_dofs_per_processor[p].
compress();
59 for (
unsigned int p = 0; p < n_procs; ++p)
61 locally_owned_dofs_per_processor[p].n_elements();
86 std::vector<types::global_dof_index>
88 const MPI_Comm mpi_communicator)
const 91 return std::vector<types::global_dof_index>();
109 std::vector<IndexSet>
111 const MPI_Comm mpi_communicator)
const 115 return std::vector<IndexSet>();
#define AssertDimension(dim1, dim2)
IndexSet locally_owned_dofs
types::global_dof_index n_locally_owned_dofs
std::string compress(const std::string &input)
std::vector< types::global_dof_index > get_n_locally_owned_dofs_per_processor(const MPI_Comm mpi_communicator) const
#define DEAL_II_NAMESPACE_CLOSE
std::vector< types::global_dof_index > n_locally_owned_dofs_per_processor
unsigned int n_mpi_processes(const MPI_Comm &mpi_communicator)
std::vector< IndexSet > get_locally_owned_dofs_per_processor(const MPI_Comm mpi_communicator) const
IndexSet complete_index_set(const IndexSet::size_type N)
unsigned int global_dof_index
#define DEAL_II_NAMESPACE_OPEN
std::size_t memory_consumption() const
std::vector< IndexSet > locally_owned_dofs_per_processor
types::global_dof_index n_global_dofs
std::vector< T > all_gather(const MPI_Comm &comm, const T &object_to_send)
std::enable_if< std::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)