16 #include <deal.II/base/memory_consumption.h> 18 #include <deal.II/dofs/number_cache.h> 23 DEAL_II_NAMESPACE_OPEN
27 namespace DoFHandlerImplementation
31 , n_locally_owned_dofs(0)
37 : n_global_dofs(n_global_dofs)
38 , n_locally_owned_dofs(n_global_dofs)
39 , locally_owned_dofs(complete_index_set(n_global_dofs))
40 , n_locally_owned_dofs_per_processor(1, n_global_dofs)
41 , locally_owned_dofs_per_processor(1, complete_index_set(n_global_dofs))
47 const std::vector<IndexSet> &locally_owned_dofs_per_processor,
48 const unsigned int my_rank)
49 : locally_owned_dofs_per_processor(locally_owned_dofs_per_processor)
54 for (
unsigned int p = 0; p < n_procs; ++p)
58 for (
unsigned int p = 0; p < n_procs; ++p)
97 DEAL_II_NAMESPACE_CLOSE
IndexSet locally_owned_dofs
types::global_dof_index n_locally_owned_dofs
std::vector< types::global_dof_index > n_locally_owned_dofs_per_processor
unsigned int global_dof_index
std::size_t memory_consumption() const
std::vector< IndexSet > locally_owned_dofs_per_processor
types::global_dof_index n_global_dofs
std::enable_if< std::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)