MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / size

Method size

cpp/dolfinx/common/MPI.cpp:72–78  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

70}
71//-----------------------------------------------------------------------------
72int dolfinx::MPI::size(const MPI_Comm comm)
73{
74 int size;
75 int err = MPI_Comm_size(comm, &size);
76 dolfinx::MPI::check_error(comm, err);
77 return size;
78}
79//-----------------------------------------------------------------------------
80void dolfinx::MPI::check_error(MPI_Comm comm, int code)
81{

Callers 15

compute_submap_indicesFunction · 0.45
compute_owned_indicesMethod · 0.45
stack_index_mapsMethod · 0.45
create_sub_index_mapMethod · 0.45
IndexMapMethod · 0.45
num_ghostsMethod · 0.45
local_to_globalMethod · 0.45
global_to_localMethod · 0.45
global_indicesMethod · 0.45
index_to_dest_ranksMethod · 0.45

Calls 1

check_errorFunction · 0.50

Tested by

no test coverage detected