KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
List of all members
Kratos::LegacyPartitioningUtilities Class Reference

This class contains legacy versions of utilities used by the metis partitioners. More...

#include <legacy_partitioning_utilities.h>

Collaboration diagram for Kratos::LegacyPartitioningUtilities:

Public Member Functions

Life Cycle
 LegacyPartitioningUtilities ()=delete
 Default constructor. More...
 
 LegacyPartitioningUtilities (LegacyPartitioningUtilities const &rOther)=delete
 Copy constructor. More...
 
Operators
LegacyPartitioningUtilitiesoperator= (LegacyPartitioningUtilities const &rOther)=delete
 Assignment operator. More...
 

Static Public Member Functions

Operations
static void CalculateDomainsGraph (IO::GraphType &rDomainsGraph, SizeType NumberOfElements, IO::ConnectivitiesContainerType &ElementsConnectivities, PartitionIndicesType const &NPart, PartitionIndicesType const &EPart)
 
static void DividingNodes (IO::PartitionIndicesContainerType &rNodesAllPartitions, IO::ConnectivitiesContainerType &ElementsConnectivities, IO::ConnectivitiesContainerType &ConditionsConnectivities, PartitionIndicesType const &NodesPartitions, PartitionIndicesType const &ElementsPartitions, PartitionIndicesType const &ConditionsPartitions)
 
static void DividingElements (IO::PartitionIndicesContainerType &rElementsAllPartitions, PartitionIndicesType const &ElementsPartitions)
 
static void DividingConditions (IO::PartitionIndicesContainerType &rConditionsAllPartitions, PartitionIndicesType const &ConditionsPartitions)
 
static void ConvertKratosToCSRFormat (IO::ConnectivitiesContainerType &KratosFormatNodeConnectivities, idxtype **NodeIndices, idxtype **NodeConnectivities)
 

Type Definitions

using idxtype = idx_t
 
using PartitionIndicesType = std::vector< idxtype >
 
using SizeType = std::size_t
 
 KRATOS_CLASS_POINTER_DEFINITION (LegacyPartitioningUtilities)
 Pointer definition of LegacyPartitioningUtilities. More...
 

Detailed Description

This class contains legacy versions of utilities used by the metis partitioners.

The new impleementation of these functionalities is part of the MetisPartitioningUtilities.

Member Typedef Documentation

◆ idxtype

◆ PartitionIndicesType

◆ SizeType

Constructor & Destructor Documentation

◆ LegacyPartitioningUtilities() [1/2]

Kratos::LegacyPartitioningUtilities::LegacyPartitioningUtilities ( )
delete

Default constructor.

◆ LegacyPartitioningUtilities() [2/2]

Kratos::LegacyPartitioningUtilities::LegacyPartitioningUtilities ( LegacyPartitioningUtilities const &  rOther)
delete

Copy constructor.

Member Function Documentation

◆ CalculateDomainsGraph()

void Kratos::LegacyPartitioningUtilities::CalculateDomainsGraph ( IO::GraphType rDomainsGraph,
SizeType  NumberOfElements,
IO::ConnectivitiesContainerType ElementsConnectivities,
PartitionIndicesType const &  NPart,
PartitionIndicesType const &  EPart 
)
static

◆ ConvertKratosToCSRFormat()

void Kratos::LegacyPartitioningUtilities::ConvertKratosToCSRFormat ( IO::ConnectivitiesContainerType KratosFormatNodeConnectivities,
idxtype **  NodeIndices,
idxtype **  NodeConnectivities 
)
static

◆ DividingConditions()

void Kratos::LegacyPartitioningUtilities::DividingConditions ( IO::PartitionIndicesContainerType rConditionsAllPartitions,
PartitionIndicesType const &  ConditionsPartitions 
)
static

◆ DividingElements()

void Kratos::LegacyPartitioningUtilities::DividingElements ( IO::PartitionIndicesContainerType rElementsAllPartitions,
PartitionIndicesType const &  ElementsPartitions 
)
static

◆ DividingNodes()

void Kratos::LegacyPartitioningUtilities::DividingNodes ( IO::PartitionIndicesContainerType rNodesAllPartitions,
IO::ConnectivitiesContainerType ElementsConnectivities,
IO::ConnectivitiesContainerType ConditionsConnectivities,
PartitionIndicesType const &  NodesPartitions,
PartitionIndicesType const &  ElementsPartitions,
PartitionIndicesType const &  ConditionsPartitions 
)
static

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::LegacyPartitioningUtilities::KRATOS_CLASS_POINTER_DEFINITION ( LegacyPartitioningUtilities  )

Pointer definition of LegacyPartitioningUtilities.

◆ operator=()

LegacyPartitioningUtilities& Kratos::LegacyPartitioningUtilities::operator= ( LegacyPartitioningUtilities const &  rOther)
delete

Assignment operator.


The documentation for this class was generated from the following files: