Public Member Functions | Public Attributes

parallel::distributed::Triangulation< 1, spacedim > Class Template Reference

Inheritance diagram for parallel::distributed::Triangulation< 1, spacedim >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Triangulation (MPI_Comm mpi_communicator)
virtual ~Triangulation ()
MPI_Comm get_communicator () const
unsigned int n_global_active_cells () const
const std::vector< unsigned int > & get_p4est_tree_to_coarse_cell_permutation () const
types::subdomain_id_t locally_owned_subdomain () const

Public Attributes

std::vector< unsigned int > coarse_cell_to_p4est_tree_permutation

Detailed Description

template<int spacedim>
class parallel::distributed::Triangulation< 1, spacedim >

Specialization of the general template for the 1d case. There is currently no support for distributing 1d triangulations. Consequently, all this class does is throw an exception.

Definition at line 761 of file tria.h.


Constructor & Destructor Documentation

template<int spacedim>
parallel::distributed::Triangulation< 1, spacedim >::Triangulation ( MPI_Comm  mpi_communicator)

Constructor. The argument denotes the MPI communicator to be used for the triangulation.

template<int spacedim>
virtual parallel::distributed::Triangulation< 1, spacedim >::~Triangulation ( ) [virtual]

Destructor.

Reimplemented from Triangulation< 1, spacedim >.


Member Function Documentation

template<int spacedim>
MPI_Comm parallel::distributed::Triangulation< 1, spacedim >::get_communicator ( ) const

Return the MPI communicator used by this triangulation.

template<int spacedim>
unsigned int parallel::distributed::Triangulation< 1, spacedim >::n_global_active_cells ( ) const

Return the sum over all processors of the number of active cells owned by each processor. This equals the overall number of active cells in the distributed triangulation.

template<int spacedim>
const std::vector<unsigned int>& parallel::distributed::Triangulation< 1, spacedim >::get_p4est_tree_to_coarse_cell_permutation ( ) const

Returns a permutation vector for the order the coarse cells are handed of to p4est. For example the first element i in this vector denotes that the first cell in hierarchical ordering is the ith deal cell starting from begin(0).

template<int spacedim>
types::subdomain_id_t parallel::distributed::Triangulation< 1, spacedim >::locally_owned_subdomain ( ) const [virtual]

Return the subdomain id of those cells that are owned by the current processor. All cells in the triangulation that do not have this subdomain id are either owned by another processor or have children that only exist on other processors.

Reimplemented from Triangulation< 1, spacedim >.


Member Data Documentation

template<int spacedim>
std::vector<unsigned int> parallel::distributed::Triangulation< 1, spacedim >::coarse_cell_to_p4est_tree_permutation

Dummy arrays. This class isn't usable but the compiler wants to see these variables at a couple places anyway.

Definition at line 825 of file tria.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Tue May 22 2012 12:07:05 by doxygen 1.7.3