![]() |
|
#include <communicator.h>
Public Member Functions | |
OomphCommunicator () | |
Serial constructor. More... | |
OomphCommunicator (const OomphCommunicator &communicator) | |
Copy constructor. More... | |
OomphCommunicator (const OomphCommunicator *communicator_pt) | |
Pointer (copy) constructor. More... | |
~OomphCommunicator () | |
void | operator= (const OomphCommunicator &communicator) |
assignment operator More... | |
int | nproc () const |
number of processors More... | |
int | my_rank () const |
my rank More... | |
bool | operator== (const OomphCommunicator &other_comm) const |
bool | operator!= (const OomphCommunicator &other_comm) const |
An oomph-lib wrapper to the MPI_Comm communicator object. Just contains an MPI_Comm object (which is a pointer) and wrappers to the MPI_... methods.
|
inline |
|
inline |
|
inline |
|
inline |
Destructor. If MPI and this preconditioner owns the MPI_Comm object then MPI_Comm_free is called, otherwise nothing happens as the destruction of the underlying MPI_Comm object is the responsibility of another communicator.
|
inline |
my rank
Referenced by oomph::NavierStokesSchurComplementPreconditioner::assemble_inv_press_and_veloc_mass_matrix_diagonal(), oomph::PressureBasedSolidLSCPreconditioner::assemble_mass_matrix_diagonal(), oomph::Multi_domain_functions::aux_setup_multi_domain_interaction(), oomph::LinearAlgebraDistribution::build(), oomph::CRDoubleMatrixHelpers::concatenate(), oomph::DoubleVectorHelpers::concatenate(), oomph::LinearAlgebraDistributionHelpers::concatenate(), oomph::Z2ErrorEstimator::doc_flux(), oomph::DoubleVectorHaloScheme::DoubleVectorHaloScheme(), oomph::Problem::dump(), oomph::MumpsSolver::factorise(), oomph::LinearAlgebraDistribution::first_row(), oomph::Z2ErrorEstimator::get_element_errors(), oomph::LineVisualiser::get_output_data(), oomph::Node::hanging_pt(), oomph::BlockPreconditioner< MATRIX >::internal_dof_number(), main(), oomph::LinearAlgebraDistribution::nrow_local(), parallel_test(), oomph::PitchForkHandler::PitchForkHandler(), oomph::Problem::read(), oomph::DoubleMultiVector::redistribute(), oomph::DoubleVector::redistribute(), oomph::CRDoubleMatrix::redistribute(), oomph::BlockPitchForkLinearSolver::resolve(), oomph::MemoryUsage::run_continous_top(), oomph::LineVisualiser::setup(), oomph::BlockPitchForkLinearSolver::solve(), oomph::MumpsSolver::solve(), oomph::PitchForkHandler::solve_full_system(), oomph::Problem::sparse_assemble_row_or_column_compressed_with_lists(), oomph::Problem::sparse_assemble_row_or_column_compressed_with_maps(), oomph::Problem::sparse_assemble_row_or_column_compressed_with_two_arrays(), oomph::Problem::sparse_assemble_row_or_column_compressed_with_two_vectors(), oomph::Problem::sparse_assemble_row_or_column_compressed_with_vectors_of_pairs(), oomph::DoubleVectorHelpers::split(), oomph::MemoryUsage::stop_continous_top(), and oomph::LineVisualiser::update_plot_points_coordinates().
|
inline |
number of processors
Referenced by oomph::NavierStokesSchurComplementPreconditioner::assemble_inv_press_and_veloc_mass_matrix_diagonal(), oomph::PressureBasedSolidLSCPreconditioner::assemble_mass_matrix_diagonal(), oomph::Problem::assign_eqn_numbers(), oomph::Multi_domain_functions::aux_setup_multi_domain_interaction(), oomph::LinearAlgebraDistribution::build(), oomph::Problem::calculate_continuation_derivatives_fd_helper(), oomph::Problem::calculate_continuation_derivatives_helper(), oomph::CRDoubleMatrixHelpers::concatenate(), oomph::DoubleVectorHelpers::concatenate(), oomph::LinearAlgebraDistributionHelpers::concatenate(), oomph::DoubleVectorHelpers::concatenate_without_communication(), oomph::CRDoubleMatrixHelpers::concatenate_without_communication(), oomph::HypreHelpers::create_HYPRE_Matrix(), oomph::DoubleVectorHaloScheme::DoubleVectorHaloScheme(), oomph::SuperLUSolver::factorise(), oomph::MumpsSolver::factorise(), oomph::LinearAlgebraDistribution::first_row(), oomph::CRDoubleMatrixHelpers::gershgorin_eigenvalue_estimate(), oomph::Multi_domain_functions::get_dim_helper(), oomph::Problem::get_eigenproblem_matrices(), oomph::Z2ErrorEstimator::get_element_errors(), oomph::Problem::get_jacobian(), oomph::LineVisualiser::get_output_data(), oomph::Problem::get_residuals(), oomph::CRDoubleMatrix::global_matrix(), oomph::HypreInterface::hypre_matrix_setup(), oomph::CRDoubleMatrixHelpers::inf_norm(), oomph::BlockPreconditioner< MATRIX >::internal_get_block(), oomph::MGSolver< DIM >::interpolation_matrix_set(), oomph::HelmholtzMGPreconditioner< DIM >::interpolation_matrix_set(), main(), oomph::Problem::newton_solve_continuation(), oomph::LinearAlgebraDistribution::nrow_local(), oomph::LinearAlgebraDistribution::operator==(), oomph::DoubleMultiVector::output(), oomph::DoubleVector::output(), parallel_test(), oomph::PitchForkHandler::PitchForkHandler(), oomph::DoubleMultiVector::redistribute(), oomph::DoubleVector::redistribute(), oomph::CRDoubleMatrix::redistribute(), oomph::MGSolver< DIM >::self_test(), oomph::LineVisualiser::setup(), oomph::MGSolver< DIM >::setup_mg_structures(), oomph::HelmholtzMGPreconditioner< DIM >::setup_mg_structures(), oomph::MGSolver< DIM >::setup_smoothers(), oomph::HelmholtzMGPreconditioner< DIM >::setup_smoothers(), oomph::DenseLU::solve(), oomph::HSL_MA42::solve(), oomph::SuperLUSolver::solve(), oomph::MumpsSolver::solve(), oomph::SuperLUSolver::solve_transpose(), oomph::DoubleVectorHelpers::split(), oomph::DoubleVectorHelpers::split_without_communication(), and oomph::LineVisualiser::update_plot_points_coordinates().
|
inline |
|
inline |
assignment operator
|
inline |
== operator - only returns true if communicators are MPI_IDENT, i.e. if both group and context are the same