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)
48 const unsigned int my_rank)
49 : locally_owned_dofs_per_processor(locally_owned_dofs_per_processor)
51 const unsigned int n_procs = locally_owned_dofs_per_processor.size();
54 for (
unsigned int p = 0; p < n_procs; ++p)
55 locally_owned_dofs_per_processor[p].compress();
58 for (
unsigned int p = 0; p < n_procs; ++p)
60 locally_owned_dofs_per_processor[p].n_elements();
97 DEAL_II_NAMESPACE_CLOSE
IndexSet locally_owned_dofs
unsigned long long int global_dof_index
types::global_dof_index n_locally_owned_dofs
std::vector< types::global_dof_index > n_locally_owned_dofs_per_processor
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)