
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 |
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.
| parallel::distributed::Triangulation< 1, spacedim >::Triangulation | ( | MPI_Comm | mpi_communicator | ) |
Constructor. The argument denotes the MPI communicator to be used for the triangulation.
| virtual parallel::distributed::Triangulation< 1, spacedim >::~Triangulation | ( | ) | [virtual] |
Destructor.
Reimplemented from Triangulation< 1, spacedim >.
| MPI_Comm parallel::distributed::Triangulation< 1, spacedim >::get_communicator | ( | ) | const |
Return the MPI communicator used by this triangulation.
| 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.
| 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).
| 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 >.
| std::vector<unsigned int> parallel::distributed::Triangulation< 1, spacedim >::coarse_cell_to_p4est_tree_permutation |
documentation generated on Tue May 22 2012 12:07:05 by
doxygen
1.7.3