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::CurveTessellation< TContainerPointType > Class Template Reference

#include <curve_tessellation.h>

Collaboration diagram for Kratos::CurveTessellation< TContainerPointType >:

Public Types

Type Definitions
typedef Geometry< typename TContainerPointType::value_type > GeometryType
 
typedef GeometryType::CoordinatesArrayType CoordinatesArrayType
 
typedef std::vector< std::pair< double, CoordinatesArrayType > > TessellationType
 
typedef GeometryType::IndexType IndexType
 
typedef GeometryType::SizeType SizeType
 

Public Member Functions

Life Cycle
 CurveTessellation ()
 Conctructor for tessellation of a nurbs curve. More...
 

Methods

void Tessellate (const GeometryType &rGeometry, const int PolynomialDegree, const NurbsInterval DomainInterval, const std::vector< NurbsInterval > &rKnotSpanIntervals, const double Tolerance)
 
void Tessellate (const GeometryType &rGeometry, const double Tolerance, const int NumberOfGuessesPerInterval=1, bool ToSurfaceParameter=false)
 
void Tessellate (const GeometryType &rGeometry, const std::vector< double > &rSpanIntervals, const double Tolerance, const int NumberOfGuessesPerInterval=1, bool ToSurfaceParameter=false)
 
void GetClosestPoint (const CoordinatesArrayType &rPointGlobalCoordinates, CoordinatesArrayType &rClosestPointGlobalCoordinates, CoordinatesArrayType &rClosestPointLocalCoordinates) const
 
TessellationType GetTessellation ()
 
static TessellationType ComputeTessellation (const GeometryType &rGeometry, const int PolynomialDegree, const NurbsInterval DomainInterval, const std::vector< NurbsInterval > &rKnotSpanIntervals, const double Tolerance, bool ToSurfaceParameter=false)
 
static void ComputeGlobalCoordinates (CoordinatesArrayType &rGlobalCoordinates, const CoordinatesArrayType &crLocaCoordinates, const GeometryType &rGeometry, bool to_surface_parameter=false)
 
static TessellationType ComputePolygon (const GeometryType &rGeometry, const SizeType NumberOfPoints, const double Start, const double End)
 
static void GetClosestPoint (const CoordinatesArrayType &rPointGlobalCoordinates, CoordinatesArrayType &rClosestPointGlobalCoordinates, CoordinatesArrayType &rClosestPointLocalCoordinates, const TessellationType &rTesselation)
 

Member Typedef Documentation

◆ CoordinatesArrayType

template<class TContainerPointType >
typedef GeometryType::CoordinatesArrayType Kratos::CurveTessellation< TContainerPointType >::CoordinatesArrayType

◆ GeometryType

template<class TContainerPointType >
typedef Geometry<typename TContainerPointType::value_type> Kratos::CurveTessellation< TContainerPointType >::GeometryType

◆ IndexType

template<class TContainerPointType >
typedef GeometryType::IndexType Kratos::CurveTessellation< TContainerPointType >::IndexType

◆ SizeType

template<class TContainerPointType >
typedef GeometryType::SizeType Kratos::CurveTessellation< TContainerPointType >::SizeType

◆ TessellationType

template<class TContainerPointType >
typedef std::vector<std::pair<double, CoordinatesArrayType> > Kratos::CurveTessellation< TContainerPointType >::TessellationType

Constructor & Destructor Documentation

◆ CurveTessellation()

template<class TContainerPointType >
Kratos::CurveTessellation< TContainerPointType >::CurveTessellation ( )
inline

Conctructor for tessellation of a nurbs curve.

Member Function Documentation

◆ ComputeGlobalCoordinates()

template<class TContainerPointType >
static void Kratos::CurveTessellation< TContainerPointType >::ComputeGlobalCoordinates ( CoordinatesArrayType rGlobalCoordinates,
const CoordinatesArrayType crLocaCoordinates,
const GeometryType rGeometry,
bool  to_surface_parameter = false 
)
inlinestatic

◆ ComputePolygon()

template<class TContainerPointType >
static TessellationType Kratos::CurveTessellation< TContainerPointType >::ComputePolygon ( const GeometryType rGeometry,
const SizeType  NumberOfPoints,
const double  Start,
const double  End 
)
inlinestatic

◆ ComputeTessellation()

template<class TContainerPointType >
static TessellationType Kratos::CurveTessellation< TContainerPointType >::ComputeTessellation ( const GeometryType rGeometry,
const int  PolynomialDegree,
const NurbsInterval  DomainInterval,
const std::vector< NurbsInterval > &  rKnotSpanIntervals,
const double  Tolerance,
bool  ToSurfaceParameter = false 
)
inlinestatic

◆ GetClosestPoint() [1/2]

template<class TContainerPointType >
void Kratos::CurveTessellation< TContainerPointType >::GetClosestPoint ( const CoordinatesArrayType rPointGlobalCoordinates,
CoordinatesArrayType rClosestPointGlobalCoordinates,
CoordinatesArrayType rClosestPointLocalCoordinates 
) const
inline

◆ GetClosestPoint() [2/2]

template<class TContainerPointType >
static void Kratos::CurveTessellation< TContainerPointType >::GetClosestPoint ( const CoordinatesArrayType rPointGlobalCoordinates,
CoordinatesArrayType rClosestPointGlobalCoordinates,
CoordinatesArrayType rClosestPointLocalCoordinates,
const TessellationType rTesselation 
)
inlinestatic

◆ GetTessellation()

template<class TContainerPointType >
TessellationType Kratos::CurveTessellation< TContainerPointType >::GetTessellation ( )
inline

◆ Tessellate() [1/3]

template<class TContainerPointType >
void Kratos::CurveTessellation< TContainerPointType >::Tessellate ( const GeometryType rGeometry,
const double  Tolerance,
const int  NumberOfGuessesPerInterval = 1,
bool  ToSurfaceParameter = false 
)
inline

◆ Tessellate() [2/3]

template<class TContainerPointType >
void Kratos::CurveTessellation< TContainerPointType >::Tessellate ( const GeometryType rGeometry,
const int  PolynomialDegree,
const NurbsInterval  DomainInterval,
const std::vector< NurbsInterval > &  rKnotSpanIntervals,
const double  Tolerance 
)
inline

◆ Tessellate() [3/3]

template<class TContainerPointType >
void Kratos::CurveTessellation< TContainerPointType >::Tessellate ( const GeometryType rGeometry,
const std::vector< double > &  rSpanIntervals,
const double  Tolerance,
const int  NumberOfGuessesPerInterval = 1,
bool  ToSurfaceParameter = false 
)
inline

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