KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::BDDC Namespace Reference

Namespaces

namespace  detail
namespace  SymbolHistogram
namespace  TransferAudit

Classes

class  BDDCSolver
 Balanced Domain Decomposition with Constraints preconditioner. More...
class  DCTTransform
class  DeltaEncoding
class  HaarWaveletTransform
struct  IntegerLiftingPlan
 Producer-owned, interface-relative integer prediction plan. More...
class  InterfaceAverages
 A class for computing and providing BDDC coarse space constraints (interface averages). More...
class  KKTSolver
 A class for solving a block-diagonal-structured KKT system. More...
struct  LocalDof
 A pair \( (s,i) \) of subdomain id \( s \) and local dof index \( i \) denotes a subdomain-local reference to a global dof. More...
class  MpiDomainLayout
class  MpiNodeTopology
 Cache the MPI_COMM_TYPE_SHARED partition without retaining communicators. configure() is collective on MPI_COMM_WORLD. A group is identified by its minimum world rank; that identity is shared with every rank once during setup. This discovers shared-memory capability, not a guarantee about MPI's transport choice. More...
struct  MpiRoutingTraffic
 Rank-local sent payload accounting for R/P and the three endpoint classes. Count each directed interface packet once at its producer. Encoded payload bytes exclude our batch headers, MPI framing, setup, codebooks, coarse solves and reductions. These are logical endpoint counts, not measured network traffic or raw-byte savings. More...
class  OwnedSubdomainStorage
struct  ProlongationGroups
class  Quantization
class  Quantizer
struct  RestrictionGroups
class  SharedMemoryDomain
 A class that orchestrates the exchange of data between BDDC subdomains. More...
class  SpaceTransfer
 A trivial BDDC space transfer. More...
class  SpaceTransferBase
 Base class for BDDC SpaceTransfer implementations. More...
class  SpaceTransferDataCompression
 A BDDC space transfer with quantization + optional transform + Huffman coding. More...
class  Subdomain
 A class representing small KKT systems on a single subdomain. More...
class  Transform
struct  ZeroPreservingQuantization
 Experimental symmetric transfer quantization with exact zero. More...

Typedefs

using CoarseConstraints = std::vector<std::pair<std::vector<int>,int>>
 A data structure describing coarse constraints.
using Interfaces = std::vector<std::pair<int,std::vector<int>>>
 A data structure describing the interfaces of a subdomain.
using InterfaceClassification = std::vector<std::pair<int,int>>

Enumerations

enum  InterfaceType { CORNER = 1 , EDGE = 2 , FACE = 4 }
 Discrimination of different interface types. More...
enum class  TransformType { NONE , GRAPH_LIFTING }

Functions

template<class Index>
std::vector< std::vector< Index > > algebraicDomainDecomposition (NumaCRSPattern< Index > const &A, int n)
 Creates a decomposition of indices into overlapping subsets that can be used for constructing nonoverlapping domain decomposition solvers.
template<class Scalar, class Index>
std::vector< NumaBCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 >, Index > > algebraicMatrixDecomposition (NumaBCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 >, Index > const &A, std::vector< std::vector< Index > > const &subIndices, Scalar tolerance, int maxIter)
template<class Scalar, int m, class Index>
std::tuple< std::vector< NumaBCRSMatrix< Dune::FieldMatrix< Scalar, m, m >, Index > >, std::vector< Dune::BlockVector< Dune::FieldVector< Scalar, m > > >, std::vector< std::vector< Index > >, std::vector< std::vector< LocalDof > > > matrixDomainDecommposition (NumaBCRSMatrix< Dune::FieldMatrix< Scalar, m, m >, Index > const &A, Dune::BlockVector< Dune::FieldVector< Scalar, m > > const &f, int n, Scalar tolerance=1000 *std::numeric_limits< Scalar >::epsilon(), int maxIter=100)
int mpiRouteClass (int from, int to, std::vector< int > const &leaders)
 Classify an endpoint pair using MPI shared-memory group leaders.
template<int components, class Values, class Excluded, class Interfaces>
void captureRestrictionBuffer (int subdomain, std::uint64_t &invocation, Values const &values, Excluded const &excluded, Interfaces const &interfaces)
template<typename T>
void printVector (const std::vector< T > &vec, const std::string &label)

Typedef Documentation

◆ CoarseConstraints

using Kaskade::BDDC::CoarseConstraints = std::vector<std::pair<std::vector<int>,int>>

A data structure describing coarse constraints.

Each constraint is described by a pair \( (s,m) \), where \( s \) is a list of subdomains affected by the constraint, and \( m \) is the dimension of the constraint.

Definition at line 55 of file bddc.hh.

◆ InterfaceClassification

using Kaskade::BDDC::InterfaceClassification = std::vector<std::pair<int,int>>

Definition at line 56 of file bddcSpaceTransfer.hh.

Enumeration Type Documentation

◆ TransformType

enum class Kaskade::BDDC::TransformType
strong
Enumerator
NONE 
GRAPH_LIFTING 

Definition at line 621 of file bddcSpaceTransfer.hh.

Function Documentation

◆ algebraicMatrixDecomposition()

template<class Scalar, class Index>
std::vector< NumaBCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 >, Index > > Kaskade::BDDC::algebraicMatrixDecomposition ( NumaBCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 >, Index > const & A,
std::vector< std::vector< Index > > const & subIndices,
Scalar tolerance,
int maxIter )

◆ captureRestrictionBuffer()

template<int components, class Values, class Excluded, class Interfaces>
void Kaskade::BDDC::captureRestrictionBuffer ( int subdomain,
std::uint64_t & invocation,
Values const & values,
Excluded const & excluded,
Interfaces const & interfaces )

Opt-in, read-only capture of pre-quantization restriction increments. No MPI or changes to feedback/scalars. One file per owned subdomain and restriction invocation (not necessarily CG iteration for multi-pass runs). Use a fresh directory per process launch. Intended for one-step diagnostics.

Definition at line 20 of file bddcRestrictionCapture.hh.

◆ mpiRouteClass()

int Kaskade::BDDC::mpiRouteClass ( int from,
int to,
std::vector< int > const & leaders )
inline

Classify an endpoint pair using MPI shared-memory group leaders.

Returns
0 for the same rank, 1 for the same shared-memory domain, 2 otherwise. Node identity is not inferred from consecutive rank numbers or host-name spelling.

Definition at line 35 of file bddcMpiRouting.hh.

Referenced by Kaskade::BDDC::MpiNodeTopology::route().

◆ printVector()

template<typename T>
void Kaskade::BDDC::printVector ( const std::vector< T > & vec,
const std::string & label )

Definition at line 66 of file bddcSpaceTransfer.hh.