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

#include <rigid_face_geometrical_object_configure.h>

Collaboration diagram for Kratos::RigidFaceGeometricalObjectConfigure< TDimension >:

Public Types

enum  { Dimension = TDimension , DIMENSION = TDimension , MAX_LEVEL = 16 , MIN_LEVEL = 2 }
 
typedef SpatialSearch SearchType
 
typedef SearchType::PointType PointType
 
typedef PointerVectorSet< GeometricalObject, IndexedObject, std::less< typename IndexedObject::result_type >, std::equal_to< typename IndexedObject::result_type >, typename GeometricalObject::Pointer, std::vector< typename GeometricalObject::Pointer > > ElementsContainerType
 
typedef ElementsContainerType::ContainerType ContainerType
 
typedef ContainerType::value_type PointerType
 
typedef ContainerType::iterator IteratorType
 
typedef ContainerType ResultContainerType
 
typedef ResultContainerType::iterator ResultIteratorType
 
typedef std::vector< double >::iterator DistanceIteratorType
 

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (RigidFaceGeometricalObjectConfigure)
 Pointer definition of SpatialContainersConfigure. More...
 
Life Cycle
 RigidFaceGeometricalObjectConfigure ()
 
virtual ~RigidFaceGeometricalObjectConfigure ()
 
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, const double &Radius)
 
static void CalculateBoundingBox (const PointerType &rObject, PointType &rLowPoint, PointType &rHighPoint)
 Cfeng: For FEM conditions. More...
 
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 bool FastIntersection2D (const GeometryType &DE_Geom, const GeometryType &FE_Geom, const double &Radius)
 
static bool FastIntersection3D (const GeometryType &DE_Geom, const GeometryType &FE_Geom, const double &Radius)
 
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 FastIntersection (const GeometryType &DE_Geom, const GeometryType &FE_Geom, const double &Radius)
 
static void Distance (const PointerType &rObj_1, const PointerType &rObj_2, double &distance)
 
static bool DistanceHierarchy (SphericParticle *rObj_1, DEMWall *rObj_2, const double LocalCoordSystem[3][3], const double DistPToB, std::vector< double > Weight, int ContactType, std::vector< double > &Distance_Array, std::vector< array_1d< double, 3 > > &Normal_Array, std::vector< array_1d< double, 4 > > &Weight_Array, std::vector< int > &Id_Array, std::vector< int > &ContactTypes)
 
static void DoubleHierarchyMethod (SphericParticle *rObj_1, DEMWall *rObj_2, std::vector< double > &Distance_Array, std::vector< array_1d< double, 3 > > &Normal_Array, std::vector< array_1d< double, 4 > > &Weight_Array, std::vector< int > &Id_Array, std::vector< int > &ContactType_Array)
 
static void DoubleHierarchyMethod3D (SphericParticle *rObj_1, DEMWall *rObj_2, std::vector< double > &Distance_Array, std::vector< array_1d< double, 3 > > &Normal_Array, std::vector< array_1d< double, 4 > > &Weight_Array, std::vector< int > &Id_Array, std::vector< int > &ContactType_Array)
 
static void DoubleHierarchyMethod2D (SphericParticle *rObj_1, DEMWall *rObj_2, std::vector< double > &Distance_Array, std::vector< array_1d< double, 3 > > &Normal_Array, std::vector< array_1d< double, 4 > > &Weight_Array, std::vector< int > &Id_Array, std::vector< int > &ContactType_Array)
 
static void DoubleHierarchyMethod1D (SphericParticle *rObj_1, DEMWall *rObj_2, std::vector< double > &Distance_Array, std::vector< array_1d< double, 3 > > &Normal_Array, std::vector< array_1d< double, 4 > > &Weight_Array, std::vector< int > &Id_Array, std::vector< int > &ContactType_Array)
 

Member Typedef Documentation

◆ ContainerType

◆ DistanceIteratorType

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

◆ ElementsContainerType

template<std::size_t TDimension>
typedef PointerVectorSet<GeometricalObject, IndexedObject, std::less<typename IndexedObject::result_type>, std::equal_to<typename IndexedObject::result_type>, typename GeometricalObject::Pointer, std::vector< typename GeometricalObject::Pointer > > Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::ElementsContainerType

◆ IteratorType

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

◆ PointerType

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

◆ PointType

template<std::size_t TDimension>
typedef SearchType::PointType Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::PointType

◆ ResultContainerType

template<std::size_t TDimension>
typedef ContainerType Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::ResultContainerType

◆ ResultIteratorType

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

◆ SearchType

template<std::size_t TDimension>
typedef SpatialSearch Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::SearchType

Member Enumeration Documentation

◆ anonymous enum

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

Constructor & Destructor Documentation

◆ RigidFaceGeometricalObjectConfigure()

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

◆ ~RigidFaceGeometricalObjectConfigure()

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

Member Function Documentation

◆ CalculateBoundingBox() [1/2]

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

Cfeng: For FEM conditions.

Cfeng:rObject is condition

◆ CalculateBoundingBox() [2/2]

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

◆ Distance()

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

◆ DistanceHierarchy()

template<std::size_t TDimension>
static bool Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::DistanceHierarchy ( SphericParticle rObj_1,
DEMWall rObj_2,
const double  LocalCoordSystem[3][3],
const double  DistPToB,
std::vector< double Weight,
int  ContactType,
std::vector< double > &  Distance_Array,
std::vector< array_1d< double, 3 > > &  Normal_Array,
std::vector< array_1d< double, 4 > > &  Weight_Array,
std::vector< int > &  Id_Array,
std::vector< int > &  ContactTypes 
)
inlinestatic

◆ DoubleHierarchyMethod()

template<std::size_t TDimension>
static void Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::DoubleHierarchyMethod ( SphericParticle rObj_1,
DEMWall rObj_2,
std::vector< double > &  Distance_Array,
std::vector< array_1d< double, 3 > > &  Normal_Array,
std::vector< array_1d< double, 4 > > &  Weight_Array,
std::vector< int > &  Id_Array,
std::vector< int > &  ContactType_Array 
)
inlinestatic

◆ DoubleHierarchyMethod1D()

template<std::size_t TDimension>
static void Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::DoubleHierarchyMethod1D ( SphericParticle rObj_1,
DEMWall rObj_2,
std::vector< double > &  Distance_Array,
std::vector< array_1d< double, 3 > > &  Normal_Array,
std::vector< array_1d< double, 4 > > &  Weight_Array,
std::vector< int > &  Id_Array,
std::vector< int > &  ContactType_Array 
)
inlinestatic

◆ DoubleHierarchyMethod2D()

template<std::size_t TDimension>
static void Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::DoubleHierarchyMethod2D ( SphericParticle rObj_1,
DEMWall rObj_2,
std::vector< double > &  Distance_Array,
std::vector< array_1d< double, 3 > > &  Normal_Array,
std::vector< array_1d< double, 4 > > &  Weight_Array,
std::vector< int > &  Id_Array,
std::vector< int > &  ContactType_Array 
)
inlinestatic

◆ DoubleHierarchyMethod3D()

template<std::size_t TDimension>
static void Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::DoubleHierarchyMethod3D ( SphericParticle rObj_1,
DEMWall rObj_2,
std::vector< double > &  Distance_Array,
std::vector< array_1d< double, 3 > > &  Normal_Array,
std::vector< array_1d< double, 4 > > &  Weight_Array,
std::vector< int > &  Id_Array,
std::vector< int > &  ContactType_Array 
)
inlinestatic

Particle-edge contact and Particle-point

◆ FastIntersection()

template<std::size_t TDimension>
static bool Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::FastIntersection ( const GeometryType DE_Geom,
const GeometryType FE_Geom,
const double Radius 
)
inlinestatic

◆ FastIntersection2D()

template<std::size_t TDimension>
static bool Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::FastIntersection2D ( const GeometryType DE_Geom,
const GeometryType FE_Geom,
const double Radius 
)
inlinestatic

◆ FastIntersection3D()

template<std::size_t TDimension>
static bool Kratos::RigidFaceGeometricalObjectConfigure< TDimension >::FastIntersection3D ( const GeometryType DE_Geom,
const GeometryType FE_Geom,
const double Radius 
)
inlinestatic

◆ Info()

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

Turn back information as a string.

◆ Intersection() [1/2]

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

◆ Intersection() [2/2]

template<std::size_t TDimension>
static bool Kratos::RigidFaceGeometricalObjectConfigure< 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::RigidFaceGeometricalObjectConfigure< TDimension >::IntersectionBox ( const PointerType rObject,
const PointType rLowPoint,
const PointType rHighPoint 
)
inlinestatic

◆ IntersectionBox() [2/2]

template<std::size_t TDimension>
static bool Kratos::RigidFaceGeometricalObjectConfigure< 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::RigidFaceGeometricalObjectConfigure< TDimension >::KRATOS_CLASS_POINTER_DEFINITION ( RigidFaceGeometricalObjectConfigure< TDimension >  )

Pointer definition of SpatialContainersConfigure.

◆ PrintData()

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

Print object's data.

◆ PrintInfo()

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

Print information about this object.


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