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

Method size_local

cpp/dolfinx/common/IndexMap.cpp:933–936  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

931std::int32_t IndexMap::num_ghosts() const noexcept { return _ghosts.size(); }
932//-----------------------------------------------------------------------------
933std::int32_t IndexMap::size_local() const noexcept
934{
935 return _local_range[1] - _local_range[0];
936}
937//-----------------------------------------------------------------------------
938std::int64_t IndexMap::size_global() const noexcept { return _size_global; }
939//-----------------------------------------------------------------------------

Callers 15

index_to_dest_ranksMethod · 0.95
test_local_dimensionFunction · 0.80
create_sparsityFunction · 0.80
declare_objectsFunction · 0.80
test_matrix_applyFunction · 0.80
generation.cppFile · 0.80
test_read_named_meshtagsFunction · 0.80
test_distributed_meshFunction · 0.80
interpolateMethod · 0.80
discrete_curlFunction · 0.80
discrete_gradientFunction · 0.80

Calls

no outgoing calls

Tested by 4

test_local_dimensionFunction · 0.64
test_matrix_applyFunction · 0.64
test_read_named_meshtagsFunction · 0.64
test_distributed_meshFunction · 0.64