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.
Public Types | Public Member Functions | List of all members
Kratos::MatrixContainerC2C< TDim, TSparseSpace > Class Template Reference

#include <edge_data_c2c.h>

Collaboration diagram for Kratos::MatrixContainerC2C< TDim, TSparseSpace >:

Public Types

typedef EdgesStructureTypeC2C< TDim > CSR_Tuple
 
typedef vector< CSR_TupleEdgesVectorType
 
typedef vector< unsigned intIndicesVectorType
 
typedef vector< doubleValuesVectorType
 
typedef vector< array_1d< double, TDim > > CalcVectorType
 

Public Member Functions

 MatrixContainerC2C ()
 
 ~MatrixContainerC2C ()
 
unsigned int GetNumberEdges ()
 
EdgesVectorTypeGetEdgeValues ()
 
IndicesVectorTypeGetColumnIndex ()
 
IndicesVectorTypeGetRowStartIndex ()
 
ValuesVectorTypeGetLumpedMass ()
 
ValuesVectorTypeGetInvertedMass ()
 
CalcVectorTypeGetDiagGradient ()
 
ValuesVectorTypeGetHmin ()
 
void ConstructCSRVector (ModelPart &model_part)
 
void BuildCSRData (ModelPart &model_part)
 
unsigned int GetCSRIndex (unsigned int NodeI, unsigned int NeighbourJ)
 
CSR_TupleGetTuplePointer (unsigned int NodeI, unsigned int NeighbourJ)
 
void Clear ()
 
void FillCoordinatesFromDatabase (CalcVectorType &rDestination, ModelPart::NodesContainerType &rNodes)
 
void FillVectorFromDatabase (Variable< array_1d< double, 3 >> &rVariable, CalcVectorType &rDestination, ModelPart::NodesContainerType &rNodes)
 
void FillOldVectorFromDatabase (Variable< array_1d< double, 3 >> &rVariable, CalcVectorType &rDestination, ModelPart::NodesContainerType &rNodes)
 
void FillScalarFromDatabase (Variable< double > &rVariable, ValuesVectorType &rDestination, ModelPart::NodesContainerType &rNodes)
 
void FillOldScalarFromDatabase (Variable< double > &rVariable, ValuesVectorType &rDestination, ModelPart::NodesContainerType &rNodes)
 
void WriteVectorToDatabase (Variable< array_1d< double, 3 >> &rVariable, CalcVectorType &rOrigin, ModelPart::NodesContainerType &rNodes)
 
void WriteScalarToDatabase (Variable< double > &rVariable, ValuesVectorType &rOrigin, ModelPart::NodesContainerType &rNodes)
 
void Add_Minv_value (CalcVectorType &destination, const CalcVectorType &origin1, const double value, const ValuesVectorType &Minv_vec, const CalcVectorType &origin)
 
void Add_Minv_value (ValuesVectorType &destination, const ValuesVectorType &origin1, const double value, const ValuesVectorType &Minv_vec, const ValuesVectorType &origin)
 
void AllocateAndSetToZero (CalcVectorType &data_vector, int size)
 
void AllocateAndSetToZero (ValuesVectorType &data_vector, int size)
 
void SetToZero (EdgesVectorType &data_vector)
 
void SetToZero (IndicesVectorType &data_vector)
 
void SetToZero (CalcVectorType &data_vector)
 
void SetToZero (ValuesVectorType &data_vector)
 
void AssignVectorToVector (const CalcVectorType &origin, CalcVectorType &destination)
 
void AssignVectorToVector (const ValuesVectorType &origin, ValuesVectorType &destination)
 

Member Typedef Documentation

◆ CalcVectorType

template<unsigned int TDim, class TSparseSpace >
typedef vector<array_1d<double, TDim> > Kratos::MatrixContainerC2C< TDim, TSparseSpace >::CalcVectorType

◆ CSR_Tuple

template<unsigned int TDim, class TSparseSpace >
typedef EdgesStructureTypeC2C<TDim> Kratos::MatrixContainerC2C< TDim, TSparseSpace >::CSR_Tuple

◆ EdgesVectorType

template<unsigned int TDim, class TSparseSpace >
typedef vector<CSR_Tuple> Kratos::MatrixContainerC2C< TDim, TSparseSpace >::EdgesVectorType

◆ IndicesVectorType

template<unsigned int TDim, class TSparseSpace >
typedef vector<unsigned int> Kratos::MatrixContainerC2C< TDim, TSparseSpace >::IndicesVectorType

◆ ValuesVectorType

template<unsigned int TDim, class TSparseSpace >
typedef vector<double> Kratos::MatrixContainerC2C< TDim, TSparseSpace >::ValuesVectorType

Constructor & Destructor Documentation

◆ MatrixContainerC2C()

template<unsigned int TDim, class TSparseSpace >
Kratos::MatrixContainerC2C< TDim, TSparseSpace >::MatrixContainerC2C ( )
inline

◆ ~MatrixContainerC2C()

template<unsigned int TDim, class TSparseSpace >
Kratos::MatrixContainerC2C< TDim, TSparseSpace >::~MatrixContainerC2C ( )
inline

Member Function Documentation

◆ Add_Minv_value() [1/2]

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::Add_Minv_value ( CalcVectorType destination,
const CalcVectorType origin1,
const double  value,
const ValuesVectorType Minv_vec,
const CalcVectorType origin 
)
inline

◆ Add_Minv_value() [2/2]

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::Add_Minv_value ( ValuesVectorType destination,
const ValuesVectorType origin1,
const double  value,
const ValuesVectorType Minv_vec,
const ValuesVectorType origin 
)
inline

◆ AllocateAndSetToZero() [1/2]

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::AllocateAndSetToZero ( CalcVectorType data_vector,
int  size 
)
inline

◆ AllocateAndSetToZero() [2/2]

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::AllocateAndSetToZero ( ValuesVectorType data_vector,
int  size 
)
inline

◆ AssignVectorToVector() [1/2]

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::AssignVectorToVector ( const CalcVectorType origin,
CalcVectorType destination 
)
inline

◆ AssignVectorToVector() [2/2]

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::AssignVectorToVector ( const ValuesVectorType origin,
ValuesVectorType destination 
)
inline

◆ BuildCSRData()

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::BuildCSRData ( ModelPart model_part)
inline

◆ Clear()

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::Clear ( )
inline

◆ ConstructCSRVector()

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::ConstructCSRVector ( ModelPart model_part)
inline

◆ FillCoordinatesFromDatabase()

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::FillCoordinatesFromDatabase ( CalcVectorType rDestination,
ModelPart::NodesContainerType rNodes 
)
inline

◆ FillOldScalarFromDatabase()

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::FillOldScalarFromDatabase ( Variable< double > &  rVariable,
ValuesVectorType rDestination,
ModelPart::NodesContainerType rNodes 
)
inline

◆ FillOldVectorFromDatabase()

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::FillOldVectorFromDatabase ( Variable< array_1d< double, 3 >> &  rVariable,
CalcVectorType rDestination,
ModelPart::NodesContainerType rNodes 
)
inline

◆ FillScalarFromDatabase()

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::FillScalarFromDatabase ( Variable< double > &  rVariable,
ValuesVectorType rDestination,
ModelPart::NodesContainerType rNodes 
)
inline

◆ FillVectorFromDatabase()

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::FillVectorFromDatabase ( Variable< array_1d< double, 3 >> &  rVariable,
CalcVectorType rDestination,
ModelPart::NodesContainerType rNodes 
)
inline

◆ GetColumnIndex()

template<unsigned int TDim, class TSparseSpace >
IndicesVectorType& Kratos::MatrixContainerC2C< TDim, TSparseSpace >::GetColumnIndex ( )
inline

◆ GetCSRIndex()

template<unsigned int TDim, class TSparseSpace >
unsigned int Kratos::MatrixContainerC2C< TDim, TSparseSpace >::GetCSRIndex ( unsigned int  NodeI,
unsigned int  NeighbourJ 
)
inline

◆ GetDiagGradient()

template<unsigned int TDim, class TSparseSpace >
CalcVectorType& Kratos::MatrixContainerC2C< TDim, TSparseSpace >::GetDiagGradient ( )
inline

◆ GetEdgeValues()

template<unsigned int TDim, class TSparseSpace >
EdgesVectorType& Kratos::MatrixContainerC2C< TDim, TSparseSpace >::GetEdgeValues ( )
inline

◆ GetHmin()

template<unsigned int TDim, class TSparseSpace >
ValuesVectorType& Kratos::MatrixContainerC2C< TDim, TSparseSpace >::GetHmin ( )
inline

◆ GetInvertedMass()

template<unsigned int TDim, class TSparseSpace >
ValuesVectorType& Kratos::MatrixContainerC2C< TDim, TSparseSpace >::GetInvertedMass ( )
inline

◆ GetLumpedMass()

template<unsigned int TDim, class TSparseSpace >
ValuesVectorType& Kratos::MatrixContainerC2C< TDim, TSparseSpace >::GetLumpedMass ( )
inline

◆ GetNumberEdges()

template<unsigned int TDim, class TSparseSpace >
unsigned int Kratos::MatrixContainerC2C< TDim, TSparseSpace >::GetNumberEdges ( )
inline

◆ GetRowStartIndex()

template<unsigned int TDim, class TSparseSpace >
IndicesVectorType& Kratos::MatrixContainerC2C< TDim, TSparseSpace >::GetRowStartIndex ( )
inline

◆ GetTuplePointer()

template<unsigned int TDim, class TSparseSpace >
CSR_Tuple* Kratos::MatrixContainerC2C< TDim, TSparseSpace >::GetTuplePointer ( unsigned int  NodeI,
unsigned int  NeighbourJ 
)
inline

◆ SetToZero() [1/4]

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::SetToZero ( CalcVectorType data_vector)
inline

◆ SetToZero() [2/4]

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::SetToZero ( EdgesVectorType data_vector)
inline

◆ SetToZero() [3/4]

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::SetToZero ( IndicesVectorType data_vector)
inline

◆ SetToZero() [4/4]

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::SetToZero ( ValuesVectorType data_vector)
inline

◆ WriteScalarToDatabase()

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::WriteScalarToDatabase ( Variable< double > &  rVariable,
ValuesVectorType rOrigin,
ModelPart::NodesContainerType rNodes 
)
inline

◆ WriteVectorToDatabase()

template<unsigned int TDim, class TSparseSpace >
void Kratos::MatrixContainerC2C< TDim, TSparseSpace >::WriteVectorToDatabase ( Variable< array_1d< double, 3 >> &  rVariable,
CalcVectorType rOrigin,
ModelPart::NodesContainerType rNodes 
)
inline

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