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::DistributedVectorImporter< TDataType, TIndexType > Class Template Referencefinal

Provides a DistributedVectorImporter which implements FEM assemble capabilities. More...

#include <distributed_vector_importer.h>

Collaboration diagram for Kratos::DistributedVectorImporter< TDataType, TIndexType >:

Public Member Functions

Life Cycle
template<class TGlobalIndicesVectorType >
 DistributedVectorImporter (const DataCommunicator &rComm, const TGlobalIndicesVectorType &rGlobalIndices, const DistributedNumbering< IndexType > &rNumbering)
 Default constructor. More...
 
 DistributedVectorImporter (DistributedVectorImporter const &rOther)
 Copy constructor. More...
 
DenseVector< TDataType > ImportData (const DistributedSystemVector< TDataType, TIndexType > &data_vector) const
 this function returns a local array containing the values identified by the rGlobalIndices list passed in the constructor More...
 
 ~DistributedVectorImporter ()
 Destructor. More...
 
Operators
const DataCommunicatorGetComm () const
 
Input and output
std::string Info () const
 Turn back information as a string. More...
 
void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Type Definitions

typedef TIndexType IndexType
 
typedef int MpiIndexType
 
 KRATOS_CLASS_POINTER_DEFINITION (DistributedVectorImporter)
 Pointer definition of DistributedVectorImporter. More...
 

Detailed Description

template<class TDataType = double, class TIndexType = std::size_t>
class Kratos::DistributedVectorImporter< TDataType, TIndexType >

Provides a DistributedVectorImporter which implements FEM assemble capabilities.

Member Typedef Documentation

◆ IndexType

template<class TDataType = double, class TIndexType = std::size_t>
typedef TIndexType Kratos::DistributedVectorImporter< TDataType, TIndexType >::IndexType

◆ MpiIndexType

template<class TDataType = double, class TIndexType = std::size_t>
typedef int Kratos::DistributedVectorImporter< TDataType, TIndexType >::MpiIndexType

Constructor & Destructor Documentation

◆ DistributedVectorImporter() [1/2]

template<class TDataType = double, class TIndexType = std::size_t>
template<class TGlobalIndicesVectorType >
Kratos::DistributedVectorImporter< TDataType, TIndexType >::DistributedVectorImporter ( const DataCommunicator rComm,
const TGlobalIndicesVectorType &  rGlobalIndices,
const DistributedNumbering< IndexType > &  rNumbering 
)
inline

Default constructor.

◆ DistributedVectorImporter() [2/2]

template<class TDataType = double, class TIndexType = std::size_t>
Kratos::DistributedVectorImporter< TDataType, TIndexType >::DistributedVectorImporter ( DistributedVectorImporter< TDataType, TIndexType > const &  rOther)
inlineexplicit

Copy constructor.

◆ ~DistributedVectorImporter()

template<class TDataType = double, class TIndexType = std::size_t>
Kratos::DistributedVectorImporter< TDataType, TIndexType >::~DistributedVectorImporter ( )
inline

Destructor.

Member Function Documentation

◆ GetComm()

template<class TDataType = double, class TIndexType = std::size_t>
const DataCommunicator& Kratos::DistributedVectorImporter< TDataType, TIndexType >::GetComm ( ) const
inline

◆ ImportData()

template<class TDataType = double, class TIndexType = std::size_t>
DenseVector<TDataType> Kratos::DistributedVectorImporter< TDataType, TIndexType >::ImportData ( const DistributedSystemVector< TDataType, TIndexType > &  data_vector) const
inline

this function returns a local array containing the values identified by the rGlobalIndices list passed in the constructor

◆ Info()

template<class TDataType = double, class TIndexType = std::size_t>
std::string Kratos::DistributedVectorImporter< TDataType, TIndexType >::Info ( ) const
inline

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<class TDataType = double, class TIndexType = std::size_t>
Kratos::DistributedVectorImporter< TDataType, TIndexType >::KRATOS_CLASS_POINTER_DEFINITION ( DistributedVectorImporter< TDataType, TIndexType >  )

Pointer definition of DistributedVectorImporter.

◆ PrintData()

template<class TDataType = double, class TIndexType = std::size_t>
void Kratos::DistributedVectorImporter< TDataType, TIndexType >::PrintData ( std::ostream &  rOStream) const
inline

Print object's data.

◆ PrintInfo()

template<class TDataType = double, class TIndexType = std::size_t>
void Kratos::DistributedVectorImporter< TDataType, TIndexType >::PrintInfo ( std::ostream &  rOStream) const
inline

Print information about this object.


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