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::MpiDiscreteParticleConfigure< TDimension > Class Template Reference

#include <mpi_discrete_particle_configure.h>

Collaboration diagram for Kratos::MpiDiscreteParticleConfigure< TDimension >:

Public Types

enum  { Dimension = TDimension , DIMENSION = TDimension , MAX_LEVEL = 16 , MIN_LEVEL = 2 }
 
typedef Point PointType
 
typedef std::vector< double >::iterator DistanceIteratorType
 
typedef std::vector< typename Element::Pointer > ContainerType
 
typedef ContainerType::value_type PointerType
 
typedef ContainerType::iterator IteratorType
 
typedef ModelPart::ElementsContainerType ElementsContainerType
 
typedef ElementsContainerType::ContainerType ResultContainerType
 
typedef ResultContainerType::value_type ResultPointerType
 
typedef ResultContainerType::iterator ResultIteratorType
 
typedef std::vector< PointerType >::iterator PointerTypeIterator
 

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (MpiDiscreteParticleConfigure)
 Pointer definition of SpatialContainersConfigure. More...
 
Life Cycle
 MpiDiscreteParticleConfigure ()
 
virtual ~MpiDiscreteParticleConfigure ()
 
Input and output
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Static Public Member Functions

Operations
static void CalculateBoundingBox (const PointerType &rObject, PointType &rLowPoint, PointType &rHighPoint)
 
static void CalculateBoundingBox (const PointerType &rObject, PointType &rLowPoint, PointType &rHighPoint, const double &Radius)
 
static void CalculateCenter (const PointerType &rObject, PointType &rCenter)
 
static bool Intersection (const PointerType &rObj_1, const PointerType &rObj_2)
 
static bool Intersection (const PointerType &rObj_1, const PointerType &rObj_2, const double &Radius)
 
static bool IntersectionBox (const PointerType &rObject, const PointType &rLowPoint, const PointType &rHighPoint)
 
static bool IntersectionBox (const PointerType &rObject, const PointType &rLowPoint, const PointType &rHighPoint, const double &Radius)
 
static void Distance (const PointerType &rObj_1, const PointerType &rObj_2, double &distance)
 
static void ReduceIds (int &total_elements, int &first_element)
 
template<class TObjectType >
static void AsyncSendAndReceive (Communicator::Pointer Communicator, std::vector< TObjectType > &SendObjects, std::vector< TObjectType > &RecvObjects, int *msgSendSize, int *msgRecvSize)
 
template<class TObjectType >
static void AsyncSendAndReceive (std::vector< TObjectType > &SendObjects, std::vector< TObjectType > &RecvObjects, int *msgSendSize, int *msgRecvSize)
 

Member Typedef Documentation

◆ ContainerType

template<std::size_t TDimension>
typedef std::vector<typename Element::Pointer> Kratos::MpiDiscreteParticleConfigure< TDimension >::ContainerType

◆ DistanceIteratorType

template<std::size_t TDimension>
typedef std::vector<double>::iterator Kratos::MpiDiscreteParticleConfigure< TDimension >::DistanceIteratorType

◆ ElementsContainerType

template<std::size_t TDimension>
typedef ModelPart::ElementsContainerType Kratos::MpiDiscreteParticleConfigure< TDimension >::ElementsContainerType

◆ IteratorType

template<std::size_t TDimension>
typedef ContainerType::iterator Kratos::MpiDiscreteParticleConfigure< TDimension >::IteratorType

◆ PointerType

template<std::size_t TDimension>
typedef ContainerType::value_type Kratos::MpiDiscreteParticleConfigure< TDimension >::PointerType

◆ PointerTypeIterator

template<std::size_t TDimension>
typedef std::vector<PointerType>::iterator Kratos::MpiDiscreteParticleConfigure< TDimension >::PointerTypeIterator

◆ PointType

template<std::size_t TDimension>
typedef Point Kratos::MpiDiscreteParticleConfigure< TDimension >::PointType

◆ ResultContainerType

◆ ResultIteratorType

template<std::size_t TDimension>
typedef ResultContainerType::iterator Kratos::MpiDiscreteParticleConfigure< TDimension >::ResultIteratorType

◆ ResultPointerType

template<std::size_t TDimension>
typedef ResultContainerType::value_type Kratos::MpiDiscreteParticleConfigure< TDimension >::ResultPointerType

Member Enumeration Documentation

◆ anonymous enum

template<std::size_t TDimension>
anonymous enum
Enumerator
Dimension 
DIMENSION 
MAX_LEVEL 
MIN_LEVEL 

Constructor & Destructor Documentation

◆ MpiDiscreteParticleConfigure()

template<std::size_t TDimension>
Kratos::MpiDiscreteParticleConfigure< TDimension >::MpiDiscreteParticleConfigure ( )
inline

◆ ~MpiDiscreteParticleConfigure()

template<std::size_t TDimension>
virtual Kratos::MpiDiscreteParticleConfigure< TDimension >::~MpiDiscreteParticleConfigure ( )
inlinevirtual

Member Function Documentation

◆ AsyncSendAndReceive() [1/2]

template<std::size_t TDimension>
template<class TObjectType >
static void Kratos::MpiDiscreteParticleConfigure< TDimension >::AsyncSendAndReceive ( Communicator::Pointer  Communicator,
std::vector< TObjectType > &  SendObjects,
std::vector< TObjectType > &  RecvObjects,
int msgSendSize,
int msgRecvSize 
)
inlinestatic

◆ AsyncSendAndReceive() [2/2]

template<std::size_t TDimension>
template<class TObjectType >
static void Kratos::MpiDiscreteParticleConfigure< TDimension >::AsyncSendAndReceive ( std::vector< TObjectType > &  SendObjects,
std::vector< TObjectType > &  RecvObjects,
int msgSendSize,
int msgRecvSize 
)
inlinestatic

◆ CalculateBoundingBox() [1/2]

template<std::size_t TDimension>
static void Kratos::MpiDiscreteParticleConfigure< TDimension >::CalculateBoundingBox ( const PointerType rObject,
PointType rLowPoint,
PointType rHighPoint 
)
inlinestatic

◆ CalculateBoundingBox() [2/2]

template<std::size_t TDimension>
static void Kratos::MpiDiscreteParticleConfigure< TDimension >::CalculateBoundingBox ( const PointerType rObject,
PointType rLowPoint,
PointType rHighPoint,
const double Radius 
)
inlinestatic

◆ CalculateCenter()

template<std::size_t TDimension>
static void Kratos::MpiDiscreteParticleConfigure< TDimension >::CalculateCenter ( const PointerType rObject,
PointType rCenter 
)
inlinestatic

◆ Distance()

template<std::size_t TDimension>
static void Kratos::MpiDiscreteParticleConfigure< TDimension >::Distance ( const PointerType rObj_1,
const PointerType rObj_2,
double distance 
)
inlinestatic

◆ Info()

template<std::size_t TDimension>
virtual std::string Kratos::MpiDiscreteParticleConfigure< TDimension >::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ Intersection() [1/2]

template<std::size_t TDimension>
static bool Kratos::MpiDiscreteParticleConfigure< TDimension >::Intersection ( const PointerType rObj_1,
const PointerType rObj_2 
)
inlinestatic

◆ Intersection() [2/2]

template<std::size_t TDimension>
static bool Kratos::MpiDiscreteParticleConfigure< TDimension >::Intersection ( const PointerType rObj_1,
const PointerType rObj_2,
const double Radius 
)
inlinestatic

◆ IntersectionBox() [1/2]

template<std::size_t TDimension>
static bool Kratos::MpiDiscreteParticleConfigure< TDimension >::IntersectionBox ( const PointerType rObject,
const PointType rLowPoint,
const PointType rHighPoint 
)
inlinestatic

◆ IntersectionBox() [2/2]

template<std::size_t TDimension>
static bool Kratos::MpiDiscreteParticleConfigure< TDimension >::IntersectionBox ( const PointerType rObject,
const PointType rLowPoint,
const PointType rHighPoint,
const double Radius 
)
inlinestatic

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<std::size_t TDimension>
Kratos::MpiDiscreteParticleConfigure< TDimension >::KRATOS_CLASS_POINTER_DEFINITION ( MpiDiscreteParticleConfigure< TDimension >  )

Pointer definition of SpatialContainersConfigure.

◆ PrintData()

template<std::size_t TDimension>
virtual void Kratos::MpiDiscreteParticleConfigure< TDimension >::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

template<std::size_t TDimension>
virtual void Kratos::MpiDiscreteParticleConfigure< TDimension >::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

◆ ReduceIds()

template<std::size_t TDimension>
static void Kratos::MpiDiscreteParticleConfigure< TDimension >::ReduceIds ( int total_elements,
int first_element 
)
inlinestatic

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