Sharder

Interface for mesh sharding algorithms.

template <
  class Context>
class Sharder;

A Sharder decomposes a mesh into smaller pieces (shards) that can be processed independently. This is useful for distributed computing and parallel finite element analysis.

SpecializationDescription
Context::MPI
Full specialization
template <>
class Sharder<
  Context::MPI>;
Utility for distributing a global mesh across MPI ranks by splitting into per-rank shards, scattering them from a root, and gathering the local mesh on each rank.