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

A volume geometry based on a full 3-dimensional BSpline tensor product. More...

#include <nurbs_volume_geometry.h>

Inheritance diagram for Kratos::NurbsVolumeGeometry< TContainerPointType >:
Collaboration diagram for Kratos::NurbsVolumeGeometry< TContainerPointType >:

Public Member Functions

Life Cycle
 NurbsVolumeGeometry (const PointsArrayType &rThisPoints, const SizeType PolynomialDegreeU, const SizeType PolynomialDegreeV, const SizeType PolynomialDegreeW, const Vector &rKnotsU, const Vector &rKnotsV, const Vector &rKnotsW)
 Conctructor for B-Spline volumes. More...
 
 NurbsVolumeGeometry (const PointsArrayType &ThisPoints)
 
 NurbsVolumeGeometry (NurbsVolumeGeometry< TContainerPointType > const &rOther)
 Copy constructor. More...
 
template<class TOtherContainerPointType >
 NurbsVolumeGeometry (NurbsVolumeGeometry< TOtherContainerPointType > const &rOther)
 Copy constructor from a geometry with different point type. More...
 
 ~NurbsVolumeGeometry () override=default
 Destructor. More...
 
Operators
NurbsVolumeGeometryoperator= (const NurbsVolumeGeometry &rOther)
 Assignment operator. More...
 
template<class TOtherContainerPointType >
NurbsVolumeGeometryoperator= (NurbsVolumeGeometry< TOtherContainerPointType > const &rOther)
 Assignment operator for geometries with different point type. More...
 
Operations
BaseType::Pointer Create (PointsArrayType const &ThisPoints) const override
 
void CreateQuadraturePointGeometries (GeometriesArrayType &rResultGeometries, IndexType NumberOfShapeFunctionDerivatives, IntegrationInfo &rIntegrationInfo) override
 Creates a list of quadrature point geometries from a list of integration points. More...
 
void CreateQuadraturePointGeometries (GeometriesArrayType &rResultGeometries, IndexType NumberOfShapeFunctionDerivatives, const IntegrationPointsArrayType &rIntegrationPoints, IntegrationInfo &rIntegrationInfo) override
 Creates a list of quadrature point geometries. from a list of integration points. More...
 
int ProjectionPointGlobalToLocalSpace (const CoordinatesArrayType &rPointGlobalCoordinates, CoordinatesArrayType &rProjectedPointLocalCoordinates, const double Tolerance=std::numeric_limits< double >::epsilon()) const override
 Returns local coordinates in return for a point in physical coordinates. This function assumes the initial geometry to be a regular grid. Only linear mapping is applied. More...
 
CoordinatesArrayTypeGlobalCoordinates (CoordinatesArrayType &rResult, const CoordinatesArrayType &rLocalCoordinates) const override
 This method maps from local space to working space. More...
 
void GlobalSpaceDerivatives (std::vector< CoordinatesArrayType > &rGlobalSpaceDerivatives, const CoordinatesArrayType &rLocalCoordinates, const SizeType DerivativeOrder) const override
 This method maps from local space to working space and computes the derivatives at the local space parameter in the dimension of the object. More...
 
Geometrical Information
SizeType PointsNumberInDirection (IndexType LocalDirectionIndex) const override
 Returns number of points per direction. More...
 
Mathematical Informations
SizeType PolynomialDegree (IndexType LocalDirectionIndex) const override
 Return polynomial degree of the volume in direction 0, 1, 2. More...
 
Get and Set functions
void SetInternals (const PointsArrayType &rThisPoints, const SizeType PolynomialDegreeU, const SizeType PolynomialDegreeV, const SizeType PolynomialDegreeW, const Vector &rKnotsU, const Vector &rKnotsV, const Vector &rKnotsW)
 
SizeType PolynomialDegreeU () const
 
SizeType PolynomialDegreeV () const
 
SizeType PolynomialDegreeW () const
 
const VectorKnotsU () const
 Get Knot vector in u-direction. More...
 
const VectorKnotsV () const
 Get Knot vector in v-direction. More...
 
const VectorKnotsW () const
 Get Knot vector in w-direction. More...
 
SizeType NumberOfKnotsU () const
 
SizeType NumberOfKnotsV () const
 
SizeType NumberOfKnotsW () const
 
bool IsRational () const
 Checks if shape functions are rational or not. More...
 
SizeType NumberOfControlPointsU () const
 Attention weights are not yet implemented. More...
 
SizeType NumberOfControlPointsV () const
 
SizeType NumberOfControlPointsW () const
 
SizeType NumberOfKnotSpans (IndexType DirectionIndex) const
 Returns the number of spans in DirectionIndex=0:U, DirectionIndex=1:V and DirectionIndex=2 (which are larger than 0). More...
 
void Spans (std::vector< double > &rSpans, IndexType DirectionIndex) const
 Provides all knot spans along the given direction. More...
 
NurbsInterval DomainIntervalU () const
 Provides the natural boundaries of the NURBS/B-Spline volume. More...
 
NurbsInterval DomainIntervalV () const
 Provides the natural boundaries of the NURBS/B-Spline volume. More...
 
NurbsInterval DomainIntervalW () const
 Provides the natural boundaries of the NURBS/B-Spline volume. More...
 
std::vector< NurbsIntervalKnotSpanIntervalsU () const
 Provides all knot span intervals of the volume in u-direction. More...
 
std::vector< NurbsIntervalKnotSpanIntervalsV () const
 Provides all knot span intervals of the volume in v-direction. More...
 
std::vector< NurbsIntervalKnotSpanIntervalsW () const
 Provides all knot span intervals of the volume in w-direction. More...
 
Integration Info
IntegrationInfo GetDefaultIntegrationInfo () const override
 Provides the default integration dependent on the polynomial degree of the underlying surface. More...
 
Integration Points
void CreateIntegrationPoints (IntegrationPointsArrayType &rIntegrationPoints, IntegrationInfo &rIntegrationInfo) const override
 Creates integration points according to the polynomial degrees. More...
 
void CreateIntegrationPoints (IntegrationPointsArrayType &rIntegrationPoints, SizeType NumPointsPerSpanU, SizeType NumPointsPerSpanV, SizeType NumPointsPerSpanW) const
 Creates integration points according to the input parameter. More...
 
MatrixJacobian (Matrix &rResult, const CoordinatesArrayType &rCoordinates) const override
 Computes jacobian matrix at the given coordinates. More...
 
Shape Function
VectorShapeFunctionsValues (Vector &rResult, const CoordinatesArrayType &rCoordinates) const override
 Computes the shape function values in the local parameter space. More...
 
MatrixShapeFunctionsLocalGradients (Matrix &rResult, const CoordinatesArrayType &rCoordinates) const override
 Computes the first derivatives in the local parameter space. More...
 
Geometry Family
GeometryData::KratosGeometryFamily GetGeometryFamily () const override
 
GeometryData::KratosGeometryType GetGeometryType () const override
 
Information
std::string Info () const override
 Turn back information as a string. More...
 
void PrintInfo (std::ostream &rOStream) const override
 Print information about this object. More...
 
void PrintData (std::ostream &rOStream) const override
 Print geometry's data into given stream. More...
 
- Public Member Functions inherited from Kratos::Geometry< TContainerPointType::value_type >
 Geometry ()
 Standard Constructor. Generates self assigned id. More...
 
 Geometry (IndexType GeomertyId)
 Standard Constructor with a geometry Id. More...
 
 Geometry (const std::string &GeometryName)
 Standard Constructor with a Name. More...
 
 Geometry (const PointsArrayType &ThisPoints, GeometryData const *pThisGeometryData=&GeometryDataInstance())
 
 Geometry (IndexType GeometryId, const PointsArrayType &ThisPoints, GeometryData const *pThisGeometryData=&GeometryDataInstance())
 
 Geometry (const std::string &GeometryName, const PointsArrayType &ThisPoints, GeometryData const *pThisGeometryData=&GeometryDataInstance())
 
 Geometry (const Geometry &rOther)
 Copy constructor. More...
 
 Geometry (Geometry< TOtherPointType > const &rOther)
 Copy constructor with TOtherPointType. More...
 
virtual ~Geometry ()
 Destructor. Do nothing!!! More...
 
Geometryoperator= (const Geometry &rOther)
 
Geometryoperator= (Geometry< TOtherPointType > const &rOther)
 
 operator PointsArrayType & ()
 
TContainerPointType::value_type & operator[] (const SizeType &i)
 
TContainerPointType::value_type const & operator[] (const SizeType &i) const
 
PointPointerTypeoperator() (const SizeType &i)
 
ConstPointPointerTypeoperator() (const SizeType &i) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
ptr_iterator ptr_begin ()
 
ptr_const_iterator ptr_begin () const
 
ptr_iterator ptr_end ()
 
ptr_const_iterator ptr_end () const
 
PointReferenceType front ()
 
ConstPointReferenceType front () const
 
PointReferenceType back ()
 
ConstPointReferenceType back () const
 
SizeType size () const
 
SizeType PointsNumber () const
 
SizeType max_size () const
 
void swap (GeometryType &rOther)
 
void push_back (PointPointerType x)
 
void clear ()
 
void reserve (int dim)
 
int capacity ()
 
PointPointerContainerTypeGetContainer ()
 ‍** Gives a reference to underly normal container. *‍/ More...
 
const PointPointerContainerTypeGetContainer () const
 
DataValueContainerGetData ()
 
DataValueContainer const & GetData () const
 
void SetData (DataValueContainer const &rThisData)
 
bool Has (const Variable< TDataType > &rThisVariable) const
 
void SetValue (const TVariableType &rThisVariable, typename TVariableType::Type const &rValue)
 
TVariableType::Type & GetValue (const TVariableType &rThisVariable)
 
TVariableType::Type const & GetValue (const TVariableType &rThisVariable) const
 
virtual void Assign (const Variable< bool > &rVariable, const bool Input)
 Assign with bool. More...
 
virtual void Assign (const Variable< int > &rVariable, const int Input)
 Assign with int. More...
 
virtual void Assign (const Variable< double > &rVariable, const double Input)
 Assign with double. More...
 
virtual void Assign (const Variable< array_1d< double, 2 >> &rVariable, const array_1d< double, 2 > &rInput)
 Assign with array_1d<double, 2> More...
 
virtual void Assign (const Variable< array_1d< double, 3 >> &rVariable, const array_1d< double, 3 > &rInput)
 Assign with array_1d<double, 3> More...
 
virtual void Assign (const Variable< array_1d< double, 6 >> &rVariable, const array_1d< double, 6 > &rInput)
 Assign with array_1d<double, 6> More...
 
virtual void Assign (const Variable< Vector > &rVariable, const Vector &rInput)
 Assign with Vector. More...
 
virtual void Assign (const Variable< Matrix > &rVariable, const Matrix &rInput)
 Assign with Matrix. More...
 
virtual void Calculate (const Variable< bool > &rVariable, bool &rOutput) const
 Calculate with bool. More...
 
virtual void Calculate (const Variable< int > &rVariable, int &rOutput) const
 Calculate with int. More...
 
virtual void Calculate (const Variable< double > &rVariable, double &rOutput) const
 Calculate with double. More...
 
virtual void Calculate (const Variable< array_1d< double, 2 >> &rVariable, array_1d< double, 2 > &rOutput) const
 Calculate with array_1d<double, 2> More...
 
virtual void Calculate (const Variable< array_1d< double, 3 >> &rVariable, array_1d< double, 3 > &rOutput) const
 Calculate with array_1d<double, 3> More...
 
virtual void Calculate (const Variable< array_1d< double, 6 >> &rVariable, array_1d< double, 6 > &rOutput) const
 Calculate with array_1d<double, 6> More...
 
virtual void Calculate (const Variable< Vector > &rVariable, Vector &rOutput) const
 Calculate with Vector. More...
 
virtual void Calculate (const Variable< Matrix > &rVariable, Matrix &rOutput) const
 Calculate with Matrix. More...
 
virtual Pointer Create (PointsArrayType const &rThisPoints) const
 Creates a new geometry pointer. More...
 
virtual Pointer Create (const IndexType NewGeometryId, PointsArrayType const &rThisPoints) const
 Creates a new geometry pointer. More...
 
Pointer Create (const std::string &rNewGeometryName, PointsArrayType const &rThisPoints) const
 Creates a new geometry pointer. More...
 
virtual Pointer Create (const GeometryType &rGeometry) const
 Creates a new geometry pointer. More...
 
virtual Pointer Create (const IndexType NewGeometryId, const GeometryType &rGeometry) const
 Creates a new geometry pointer. More...
 
Pointer Create (const std::string &rNewGeometryName, const GeometryType &rGeometry) const
 Creates a new geometry pointer. More...
 
void ClonePoints ()
 
virtual VectorLumpingFactors (Vector &rResult, const LumpingMethods LumpingMethod=LumpingMethods::ROW_SUM) const
 Lumping factors for the calculation of the lumped mass matrix. More...
 
GeometryData const & GetGeometryData () const
 GeometryData contains all information about dimensions and has a set of precomputed values for integration points and shape functions, including derivatives. More...
 
virtual void SetGeometryShapeFunctionContainer (const GeometryShapeFunctionContainer< GeometryData::IntegrationMethod > &rGeometryShapeFunctionContainer)
 
virtual GeometryTypeGetGeometryParent (IndexType Index) const
 Some geometries require relations to other geometries. This is the case for e.g. quadrature points. To reach the parent geometry this function can be used. More...
 
virtual void SetGeometryParent (GeometryType *pGeometryParent)
 Some geometries require relations to other geometries. This is the case for e.g. quadrature points. To set or change the parent geometry this function can be used. More...
 
virtual GeometryTypeGetGeometryPart (const IndexType Index)
 Used for composite geometries. It returns the the geometry part, corresponding to the Index. More...
 
virtual const GeometryTypeGetGeometryPart (const IndexType Index) const
 Used for composite geometries. It returns the the geometry part, corresponding to the Index. More...
 
virtual GeometryType::Pointer pGetGeometryPart (const IndexType Index)
 Used for composite geometries. It returns the pointer of a geometry part, corresponding to the Index. More...
 
virtual const GeometryType::Pointer pGetGeometryPart (const IndexType Index) const
 Used for composite geometries. It returns the const pointer of a geometry part, corresponding to the Index. More...
 
virtual void SetGeometryPart (const IndexType Index, GeometryType::Pointer pGeometry)
 Allows to exchange certain geometries. More...
 
virtual IndexType AddGeometryPart (GeometryType::Pointer pGeometry)
 Allows to enhance the coupling geometry, with another geometry. More...
 
virtual void RemoveGeometryPart (GeometryType::Pointer pGeometry)
 Removes a geometry part. More...
 
virtual void RemoveGeometryPart (const IndexType Index)
 Removes a geometry part. More...
 
virtual bool HasGeometryPart (const IndexType Index) const
 Use to check if certain Indexed object is within the geometry parts of this geometry. More...
 
virtual SizeType NumberOfGeometryParts () const
 
SizeType WorkingSpaceDimension () const
 
SizeType LocalSpaceDimension () const
 
virtual double Length () const
 
virtual double Area () const
 This method calculate and return area or surface area of this geometry depending to it's dimension. More...
 
virtual double Volume () const
 This method calculate and return volume of this geometry. More...
 
virtual double DomainSize () const
 This method calculate and return length, area or volume of this geometry depending to it's dimension. More...
 
virtual double MinEdgeLength () const
 
virtual double MaxEdgeLength () const
 
virtual double AverageEdgeLength () const
 
virtual double Circumradius () const
 
virtual double Inradius () const
 
virtual bool HasIntersection (const GeometryType &ThisGeometry) const
 
virtual bool HasIntersection (const Point &rLowPoint, const Point &rHighPoint) const
 
virtual void BoundingBox (TContainerPointType::value_type &rLowPoint, TContainerPointType::value_type &rHighPoint) const
 Calculates the boundingbox of the geometry. More...
 
virtual Point Center () const
 
virtual array_1d< double, 3 > Normal (const CoordinatesArrayType &rPointLocalCoordinates) const
 It returns a vector that is normal to its corresponding geometry in the given local point. More...
 
virtual array_1d< double, 3 > Normal (IndexType IntegrationPointIndex) const
 It returns the vector, which is normal to its corresponding geometry in the given integration point for the default integration method. More...
 
virtual array_1d< double, 3 > Normal (IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
 It returns the vector, which is normal to its corresponding geometry in the given integration point. More...
 
virtual array_1d< double, 3 > UnitNormal (const CoordinatesArrayType &rPointLocalCoordinates) const
 It computes the unit normal of the geometry in the given local point. More...
 
virtual array_1d< double, 3 > UnitNormal (IndexType IntegrationPointIndex) const
 It returns the normalized normal vector in the given integration point. More...
 
virtual array_1d< double, 3 > UnitNormal (IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
 It returns the normalized normal vector in the given integration point. More...
 
double Quality (const QualityCriteria qualityCriteria) const
 
virtual void ComputeDihedralAngles (Vector &rDihedralAngles) const
 
virtual void ComputeSolidAngles (Vector &rSolidAngles) const
 
const PointsArrayTypePoints () const
 
PointsArrayTypePoints ()
 
const TPointType::Pointer pGetPoint (const int Index) const
 
TPointType::Pointer pGetPoint (const int Index)
 
TContainerPointType::value_type const & GetPoint (const int Index) const
 
TContainerPointType::value_type & GetPoint (const int Index)
 
virtual MatrixPointsLocalCoordinates (Matrix &rResult) const
 
virtual CoordinatesArrayTypePointLocalCoordinates (CoordinatesArrayType &rResult, const CoordinatesArrayType &rPoint) const
 Returns the local coordinates of a given arbitrary point. More...
 
virtual bool IsInside (const CoordinatesArrayType &rPointGlobalCoordinates, CoordinatesArrayType &rResult, const double Tolerance=std::numeric_limits< double >::epsilon()) const
 Checks if given point in global space coordinates is inside the geometry boundaries. This function computes the local coordinates and checks then if this point lays within the boundaries. More...
 
virtual int IsInsideLocalSpace (const CoordinatesArrayType &rPointLocalCoordinates, const double Tolerance=std::numeric_limits< double >::epsilon()) const
 Checks if given point in local space coordinates of this geometry is inside the geometry boundaries. More...
 
virtual void SpansLocalSpace (std::vector< double > &rSpans, IndexType LocalDirectionIndex=0) const
 
virtual GeometriesArrayType GenerateBoundariesEntities () const
 This method gives you all boundaries entities of this geometry. More...
 
virtual GeometriesArrayType GeneratePoints () const
 This method gives you all points of this geometry. More...
 
virtual SizeType EdgesNumber () const
 This method gives you number of all edges of this geometry. More...
 
 KRATOS_DEPRECATED_MESSAGE ("This is legacy version (use GenerateEdges instead)") virtual GeometriesArrayType Edges(void)
 This method gives you all edges of this geometry. More...
 
virtual GeometriesArrayType GenerateEdges () const
 This method gives you all edges of this geometry. More...
 
 KRATOS_DEPRECATED_MESSAGE ("This is legacy version (use GenerateFaces instead)") virtual GeometriesArrayType Faces(void)
 Returns all faces of the current geometry. More...
 
virtual SizeType FacesNumber () const
 Returns the number of faces of the current geometry. More...
 
virtual GeometriesArrayType GenerateFaces () const
 Returns all faces of the current geometry. More...
 
virtual void NumberNodesInFaces (DenseVector< unsigned int > &rNumberNodesInFaces) const
 
virtual void NodesInFaces (DenseMatrix< unsigned int > &rNodesInFaces) const
 
SizeType IntegrationPointsNumber () const
 
SizeType IntegrationPointsNumber (IntegrationMethod ThisMethod) const
 
const IntegrationPointsArrayTypeIntegrationPoints () const
 
const IntegrationPointsArrayTypeIntegrationPoints (IntegrationMethod ThisMethod) const
 
void GlobalCoordinates (CoordinatesArrayType &rResult, IndexType IntegrationPointIndex) const
 
void GlobalCoordinates (CoordinatesArrayType &rResult, IndexType IntegrationPointIndex, const IntegrationMethod ThisMethod) const
 This method provides the global coordinates to the corresponding integration point. More...
 
virtual CoordinatesArrayTypeGlobalCoordinates (CoordinatesArrayType &rResult, CoordinatesArrayType const &LocalCoordinates, Matrix &DeltaPosition) const
 
virtual void GlobalSpaceDerivatives (std::vector< CoordinatesArrayType > &rGlobalSpaceDerivatives, IndexType IntegrationPointIndex, const SizeType DerivativeOrder) const
 This method maps from dimension space to working space and computes the number of derivatives at the dimension parameter. More...
 
virtual int ProjectionPoint (const CoordinatesArrayType &rPointGlobalCoordinates, CoordinatesArrayType &rProjectedPointGlobalCoordinates, CoordinatesArrayType &rProjectedPointLocalCoordinates, const double Tolerance=std::numeric_limits< double >::epsilon()) const
 Projects a certain point on the geometry, or finds the closest point, depending on the provided initial guess. The external point does not necessary lay on the geometry. It shall deal as the interface to the mathematical projection function e.g. the Newton-Raphson. Thus, the breaking criteria does not necessarily mean that it found a point on the surface, if it is really the closest if or not. It shows only if the breaking criteria, defined by the tolerance is reached. More...
 
virtual int ProjectionPointLocalToLocalSpace (const CoordinatesArrayType &rPointLocalCoordinates, CoordinatesArrayType &rProjectionPointLocalCoordinates, const double Tolerance=std::numeric_limits< double >::epsilon()) const
 Projects a point onto the geometry Projects a certain point on the geometry, or finds the closest point, depending on the provided initial guess. The external point does not necessary lay on the geometry. It shall deal as the interface to the mathematical projection function e.g. the Newton-Raphson. Thus, the breaking criteria does not necessarily mean that it found a point on the surface, if it is really the closest if or not. It shows only if the breaking criteria, defined by the tolerance is reached. This function requires an initial guess, provided by rProjectionPointLocalCoordinates. This function can be a very costly operation. More...
 
virtual int ClosestPoint (const CoordinatesArrayType &rPointGlobalCoordinates, CoordinatesArrayType &rClosestPointGlobalCoordinates, CoordinatesArrayType &rClosestPointLocalCoordinates, const double Tolerance=std::numeric_limits< double >::epsilon()) const
 Returns all coordinates of the closest point on the geometry given to an arbitrary point in global coordinates. The basic concept is to first do a projection towards this geometry and second checking if the projection was successfull or if no point on the geometry was found. More...
 
virtual int ClosestPoint (const CoordinatesArrayType &rPointGlobalCoordinates, CoordinatesArrayType &rClosestPointGlobalCoordinates, const double Tolerance=std::numeric_limits< double >::epsilon()) const
 Returns global coordinates of the closest point on the geometry given to an arbitrary point in global coordinates. The basic concept is to first do a projection towards this geometry and second checking if the projection was successfull or if no point on the geometry was found. More...
 
virtual int ClosestPointLocalCoordinates (const CoordinatesArrayType &rPointGlobalCoordinates, CoordinatesArrayType &rClosestPointLocalCoordinates, const double Tolerance=std::numeric_limits< double >::epsilon()) const
 Returns local coordinates of the closest point on the geometry given to an arbitrary point in global coordinates. The basic concept is to first do a projection towards this geometry and second checking if the projection was successfull or if no point on the geometry was found. More...
 
virtual int ClosestPointLocalToLocalSpace (const CoordinatesArrayType &rPointLocalCoordinates, CoordinatesArrayType &rClosestPointLocalCoordinates, const double Tolerance=std::numeric_limits< double >::epsilon()) const
 Calculates the closes point projection This method calculates the closest point projection of a point in local space coordinates. More...
 
virtual int ClosestPointGlobalToLocalSpace (const CoordinatesArrayType &rPointGlobalCoordinates, CoordinatesArrayType &rClosestPointLocalCoordinates, const double Tolerance=std::numeric_limits< double >::epsilon()) const
 Calculates the closes point projection This method calculates the closest point projection of a point in global space coordinates. More...
 
virtual double CalculateDistance (const CoordinatesArrayType &rPointGlobalCoordinates, const double Tolerance=std::numeric_limits< double >::epsilon()) const
 Computes the distance between an point in global coordinates and the closest point of this geometry. If projection fails, double::max will be returned. More...
 
JacobiansTypeJacobian (JacobiansType &rResult) const
 
virtual JacobiansTypeJacobian (JacobiansType &rResult, IntegrationMethod ThisMethod) const
 
virtual JacobiansTypeJacobian (JacobiansType &rResult, IntegrationMethod ThisMethod, Matrix &DeltaPosition) const
 
MatrixJacobian (Matrix &rResult, IndexType IntegrationPointIndex) const
 
virtual MatrixJacobian (Matrix &rResult, IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
 
virtual MatrixJacobian (Matrix &rResult, IndexType IntegrationPointIndex, IntegrationMethod ThisMethod, const Matrix &rDeltaPosition) const
 
virtual MatrixJacobian (Matrix &rResult, const CoordinatesArrayType &rCoordinates, Matrix &rDeltaPosition) const
 
VectorDeterminantOfJacobian (Vector &rResult) const
 
virtual VectorDeterminantOfJacobian (Vector &rResult, IntegrationMethod ThisMethod) const
 
double DeterminantOfJacobian (IndexType IntegrationPointIndex) const
 
virtual double DeterminantOfJacobian (IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
 
virtual double DeterminantOfJacobian (const CoordinatesArrayType &rPoint) const
 
JacobiansTypeInverseOfJacobian (JacobiansType &rResult) const
 
virtual JacobiansTypeInverseOfJacobian (JacobiansType &rResult, IntegrationMethod ThisMethod) const
 
MatrixInverseOfJacobian (Matrix &rResult, IndexType IntegrationPointIndex) const
 
virtual MatrixInverseOfJacobian (Matrix &rResult, IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
 
virtual MatrixInverseOfJacobian (Matrix &rResult, const CoordinatesArrayType &rCoordinates) const
 
const MatrixShapeFunctionsValues () const
 
const MatrixShapeFunctionsValues (IntegrationMethod ThisMethod) const
 
double ShapeFunctionValue (IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex) const
 
double ShapeFunctionValue (IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex, IntegrationMethod ThisMethod) const
 
virtual double ShapeFunctionValue (IndexType ShapeFunctionIndex, const CoordinatesArrayType &rCoordinates) const
 
const ShapeFunctionsGradientsTypeShapeFunctionsLocalGradients () const
 
const ShapeFunctionsGradientsTypeShapeFunctionsLocalGradients (IntegrationMethod ThisMethod) const
 
const MatrixShapeFunctionLocalGradient (IndexType IntegrationPointIndex) const
 
const MatrixShapeFunctionLocalGradient (IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
 
const MatrixShapeFunctionLocalGradient (IndexType IntegrationPointIndex, IndexType ShapeFunctionIndex, IntegrationMethod ThisMethod) const
 
const MatrixShapeFunctionDerivatives (IndexType DerivativeOrderIndex, IndexType IntegrationPointIndex, IntegrationMethod ThisMethod) const
 
const MatrixShapeFunctionDerivatives (IndexType DerivativeOrderIndex, IndexType IntegrationPointIndex) const
 
virtual ShapeFunctionsSecondDerivativesTypeShapeFunctionsSecondDerivatives (ShapeFunctionsSecondDerivativesType &rResult, const CoordinatesArrayType &rPoint) const
 
virtual ShapeFunctionsThirdDerivativesTypeShapeFunctionsThirdDerivatives (ShapeFunctionsThirdDerivativesType &rResult, const CoordinatesArrayType &rPoint) const
 
void ShapeFunctionsIntegrationPointsGradients (ShapeFunctionsGradientsType &rResult) const
 
virtual void ShapeFunctionsIntegrationPointsGradients (ShapeFunctionsGradientsType &rResult, IntegrationMethod ThisMethod) const
 
virtual void ShapeFunctionsIntegrationPointsGradients (ShapeFunctionsGradientsType &rResult, Vector &rDeterminantsOfJacobian, IntegrationMethod ThisMethod) const
 
virtual void ShapeFunctionsIntegrationPointsGradients (ShapeFunctionsGradientsType &rResult, Vector &rDeterminantsOfJacobian, IntegrationMethod ThisMethod, Matrix &ShapeFunctionsIntegrationPointsValues) const
 
virtual int Check () const
 
virtual std::string Name () const
 Returns name. More...
 
virtual void PrintName (std::ostream &rOstream) const
 Print name. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (Geometry)
 Pointer definition of Geometry. More...
 
bool empty () const
 
bool HasIntegrationMethod (IntegrationMethod ThisMethod) const
 
IntegrationMethod GetDefaultIntegrationMethod () const
 
virtual bool IsSymmetric () const
 
IndexType const & Id () const
 Id of this Geometry. More...
 
bool IsIdGeneratedFromString ()
 Returns if id was generated from a geometry name. More...
 
bool IsIdSelfAssigned ()
 Returns if id was generated by itself. More...
 
void SetId (const IndexType Id)
 Sets Id of this Geometry. More...
 
void SetId (const std::string &rName)
 Sets Id with the use of the name of this geometry. More...
 

Type Definitions

typedef TContainerPointType::value_type NodeType
 
typedef Geometry< NodeTypeBaseType
 
typedef BaseType::IndexType IndexType
 
typedef BaseType::SizeType SizeType
 
typedef BaseType::CoordinatesArrayType CoordinatesArrayType
 
typedef BaseType::PointsArrayType PointsArrayType
 
typedef BaseType::GeometriesArrayType GeometriesArrayType
 
typedef BaseType::IntegrationPointsArrayType IntegrationPointsArrayType
 
typedef GeometryShapeFunctionContainer< GeometryData::IntegrationMethod >::IntegrationPointsContainerType IntegrationPointsContainerType
 
typedef GeometryShapeFunctionContainer< GeometryData::IntegrationMethod >::ShapeFunctionsValuesContainerType ShapeFunctionsValuesContainerType
 
typedef GeometryShapeFunctionContainer< GeometryData::IntegrationMethod >::ShapeFunctionsLocalGradientsContainerType ShapeFunctionsLocalGradientsContainerType
 
 KRATOS_CLASS_POINTER_DEFINITION (NurbsVolumeGeometry)
 Pointer of NurbsVolumeGeometry. More...
 
const TPointType::Pointer pGetPoint (const int Index) const
 
TPointType::Pointer pGetPoint (const int Index)
 
TPointType const & GetPoint (const int Index) const
 
TPointType & GetPoint (const int Index)
 

Private Serialization

class Serializer
 

Additional Inherited Members

- Public Types inherited from Kratos::Geometry< TContainerPointType::value_type >
enum class  QualityCriteria
 
enum class  LumpingMethods
 This defines the different methods to compute the lumping methods. More...
 
typedef Geometry< TContainerPointType::value_type > GeometryType
 This Geometry type. More...
 
typedef PointerVector< TContainerPointType::value_type > PointsArrayType
 
typedef GeometryData::IntegrationMethod IntegrationMethod
 
typedef PointerVector< GeometryTypeGeometriesArrayType
 
typedef TContainerPointType::value_type PointType
 
typedef std::size_t IndexType
 
typedef std::size_t SizeType
 
typedef PointType::CoordinatesArrayType CoordinatesArrayType
 
typedef IntegrationPoint< 3 > IntegrationPointType
 
typedef std::vector< IntegrationPointTypeIntegrationPointsArrayType
 
typedef std::array< IntegrationPointsArrayType, static_cast< int >GeometryData::IntegrationMethod::NumberOfIntegrationMethods)> IntegrationPointsContainerType
 
typedef std::array< Matrix, static_cast< int >GeometryData::IntegrationMethod::NumberOfIntegrationMethods)> ShapeFunctionsValuesContainerType
 
typedef GeometryData::ShapeFunctionsLocalGradientsContainerType ShapeFunctionsLocalGradientsContainerType
 
typedef DenseVector< MatrixJacobiansType
 
typedef GeometryData::ShapeFunctionsGradientsType ShapeFunctionsGradientsType
 
typedef GeometryData::ShapeFunctionsSecondDerivativesType ShapeFunctionsSecondDerivativesType
 
typedef GeometryData::ShapeFunctionsThirdDerivativesType ShapeFunctionsThirdDerivativesType
 
typedef DenseVector< double > NormalType
 
typedef PointType::Pointer PointPointerType
 data type stores in this container. More...
 
typedef const PointPointerType ConstPointPointerType
 
typedef TContainerPointType::value_type & PointReferenceType
 
typedef const TContainerPointType::value_type & ConstPointReferenceType
 
typedef std::vector< PointPointerTypePointPointerContainerType
 
typedef PointsArrayType::iterator iterator
 PointsArrayType typedefs. More...
 
typedef PointsArrayType::const_iterator const_iterator
 
typedef PointsArrayType::ptr_iterator ptr_iterator
 
typedef PointsArrayType::ptr_const_iterator ptr_const_iterator
 
typedef PointsArrayType::difference_type difference_type
 
- Static Public Member Functions inherited from Kratos::Geometry< TContainerPointType::value_type >
static bool HasSameType (const GeometryType &rLHS, const GeometryType &rRHS)
 Checks if two GeometryType have the same type. More...
 
static bool HasSameType (const GeometryType *rLHS, const GeometryType *rRHS)
 Checks if two GeometryType have the same type (pointer version) More...
 
static bool HasSameGeometryType (const GeometryType &rLHS, const GeometryType &rRHS)
 Checks if two GeometryType have the same geometry type. More...
 
static bool HasSameGeometryType (const GeometryType *rLHS, const GeometryType *rRHS)
 Checks if two GeometryType have the same geometry type (pointer version) More...
 
static bool IsSame (const GeometryType &rLHS, const GeometryType &rRHS)
 Checks if two GeometryType are the same. More...
 
static bool IsSame (const GeometryType *rLHS, const GeometryType *rRHS)
 Checks if two GeometryType are the same (pointer version) More...
 
static IndexType GenerateId (const std::string &rName)
 Gets the corresponding hash-Id to a string name. More...
 
- Static Public Attributes inherited from Kratos::Geometry< TContainerPointType::value_type >
static constexpr IndexType BACKGROUND_GEOMETRY_INDEX
 
- Protected Member Functions inherited from Kratos::Geometry< TContainerPointType::value_type >
void SetGeometryData (GeometryData const *pGeometryData)
 updates the pointer to GeometryData of the respective geometry. More...
 
virtual double InradiusToCircumradiusQuality () const
 Quality functions. More...
 
virtual double AreaToEdgeLengthRatio () const
 
virtual double ShortestAltitudeToEdgeLengthRatio () const
 
virtual double InradiusToLongestEdgeQuality () const
 
virtual double ShortestToLongestEdgeQuality () const
 
virtual double RegularityQuality () const
 
virtual double VolumeToSurfaceAreaQuality () const
 
virtual double VolumeToEdgeLengthQuality () const
 
virtual double VolumeToAverageEdgeLength () const
 
virtual double VolumeToRMSEdgeLength () const
 
virtual double MinDihedralAngle () const
 
virtual double MaxDihedralAngle () const
 
virtual double MinSolidAngle () const
 
bool AllPointsAreValid () const
 Checks if the geometry points are valid Checks if the geometry points are valid from the pointer value Points are not valid when the pointer value is null. More...
 

Detailed Description

template<class TContainerPointType>
class Kratos::NurbsVolumeGeometry< TContainerPointType >

A volume geometry based on a full 3-dimensional BSpline tensor product.

Weights are not yet implemented. Therefore no NURBS, but only BSplines are constructed.

Author
Manuel Messmer

Member Typedef Documentation

◆ BaseType

template<class TContainerPointType >
typedef Geometry<NodeType> Kratos::NurbsVolumeGeometry< TContainerPointType >::BaseType

◆ CoordinatesArrayType

template<class TContainerPointType >
typedef BaseType::CoordinatesArrayType Kratos::NurbsVolumeGeometry< TContainerPointType >::CoordinatesArrayType

◆ GeometriesArrayType

template<class TContainerPointType >
typedef BaseType::GeometriesArrayType Kratos::NurbsVolumeGeometry< TContainerPointType >::GeometriesArrayType

◆ IndexType

template<class TContainerPointType >
typedef BaseType::IndexType Kratos::NurbsVolumeGeometry< TContainerPointType >::IndexType

◆ IntegrationPointsArrayType

template<class TContainerPointType >
typedef BaseType::IntegrationPointsArrayType Kratos::NurbsVolumeGeometry< TContainerPointType >::IntegrationPointsArrayType

◆ IntegrationPointsContainerType

◆ NodeType

template<class TContainerPointType >
typedef TContainerPointType::value_type Kratos::NurbsVolumeGeometry< TContainerPointType >::NodeType

◆ PointsArrayType

template<class TContainerPointType >
typedef BaseType::PointsArrayType Kratos::NurbsVolumeGeometry< TContainerPointType >::PointsArrayType

◆ ShapeFunctionsLocalGradientsContainerType

◆ ShapeFunctionsValuesContainerType

◆ SizeType

template<class TContainerPointType >
typedef BaseType::SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::SizeType

Constructor & Destructor Documentation

◆ NurbsVolumeGeometry() [1/4]

template<class TContainerPointType >
Kratos::NurbsVolumeGeometry< TContainerPointType >::NurbsVolumeGeometry ( const PointsArrayType rThisPoints,
const SizeType  PolynomialDegreeU,
const SizeType  PolynomialDegreeV,
const SizeType  PolynomialDegreeW,
const Vector rKnotsU,
const Vector rKnotsV,
const Vector rKnotsW 
)
inline

Conctructor for B-Spline volumes.

◆ NurbsVolumeGeometry() [2/4]

template<class TContainerPointType >
Kratos::NurbsVolumeGeometry< TContainerPointType >::NurbsVolumeGeometry ( const PointsArrayType ThisPoints)
inlineexplicit

Attention: Weigths are not yet implemented! Conctructor for NURBS volumes

◆ NurbsVolumeGeometry() [3/4]

template<class TContainerPointType >
Kratos::NurbsVolumeGeometry< TContainerPointType >::NurbsVolumeGeometry ( NurbsVolumeGeometry< TContainerPointType > const &  rOther)
inline

Copy constructor.

◆ NurbsVolumeGeometry() [4/4]

template<class TContainerPointType >
template<class TOtherContainerPointType >
Kratos::NurbsVolumeGeometry< TContainerPointType >::NurbsVolumeGeometry ( NurbsVolumeGeometry< TOtherContainerPointType > const &  rOther)
inline

Copy constructor from a geometry with different point type.

◆ ~NurbsVolumeGeometry()

template<class TContainerPointType >
Kratos::NurbsVolumeGeometry< TContainerPointType >::~NurbsVolumeGeometry ( )
overridedefault

Destructor.

Member Function Documentation

◆ Create()

template<class TContainerPointType >
BaseType::Pointer Kratos::NurbsVolumeGeometry< TContainerPointType >::Create ( PointsArrayType const &  ThisPoints) const
inlineoverride

◆ CreateIntegrationPoints() [1/2]

template<class TContainerPointType >
void Kratos::NurbsVolumeGeometry< TContainerPointType >::CreateIntegrationPoints ( IntegrationPointsArrayType rIntegrationPoints,
IntegrationInfo rIntegrationInfo 
) const
inlineoverridevirtual

Creates integration points according to the polynomial degrees.

Returns
integration points.

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ CreateIntegrationPoints() [2/2]

template<class TContainerPointType >
void Kratos::NurbsVolumeGeometry< TContainerPointType >::CreateIntegrationPoints ( IntegrationPointsArrayType rIntegrationPoints,
SizeType  NumPointsPerSpanU,
SizeType  NumPointsPerSpanV,
SizeType  NumPointsPerSpanW 
) const
inline

Creates integration points according to the input parameter.

Parameters
returnintegration points.
pointsNumber of points in u direction per span.
pointsNumber of points in v direction per span.
pointsNumber of points in w direction per span.

◆ CreateQuadraturePointGeometries() [1/2]

template<class TContainerPointType >
void Kratos::NurbsVolumeGeometry< TContainerPointType >::CreateQuadraturePointGeometries ( GeometriesArrayType rResultGeometries,
IndexType  NumberOfShapeFunctionDerivatives,
const IntegrationPointsArrayType rIntegrationPoints,
IntegrationInfo rIntegrationInfo 
)
inlineoverridevirtual

Creates a list of quadrature point geometries. from a list of integration points.

Parameters
rResultGeometriesList of quadrature point geometries.
rIntegrationPointsList of provided integration points.
NumberOfShapeFunctionDerivativesthe number of evaluated derivatives of shape functions at the quadrature point geometries.
rIntegrationInfo.
See also
quadrature_point_geometry.h

Get Shape Functions.

Get List of Control Points.

Get List of Control Points

Get Shape Functions N

Get Shape Function Derivatives DN_De, ...

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ CreateQuadraturePointGeometries() [2/2]

template<class TContainerPointType >
void Kratos::NurbsVolumeGeometry< TContainerPointType >::CreateQuadraturePointGeometries ( GeometriesArrayType rResultGeometries,
IndexType  NumberOfShapeFunctionDerivatives,
IntegrationInfo rIntegrationInfo 
)
inlineoverridevirtual

Creates a list of quadrature point geometries from a list of integration points.

Parameters
rResultGeometriesList of quadrature point geometries.
NumberOfShapeFunctionDerivativesthe number of evaluated derivatives of shape functions at the quadrature point geometries.
rIntegrationInfo.
See also
quadrature_point_geometry.h

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ DomainIntervalU()

template<class TContainerPointType >
NurbsInterval Kratos::NurbsVolumeGeometry< TContainerPointType >::DomainIntervalU ( ) const
inline

Provides the natural boundaries of the NURBS/B-Spline volume.

Returns
Domain interval.

◆ DomainIntervalV()

template<class TContainerPointType >
NurbsInterval Kratos::NurbsVolumeGeometry< TContainerPointType >::DomainIntervalV ( ) const
inline

Provides the natural boundaries of the NURBS/B-Spline volume.

Returns
Domain interval.

◆ DomainIntervalW()

template<class TContainerPointType >
NurbsInterval Kratos::NurbsVolumeGeometry< TContainerPointType >::DomainIntervalW ( ) const
inline

Provides the natural boundaries of the NURBS/B-Spline volume.

Returns
Domain interval.

◆ GetDefaultIntegrationInfo()

template<class TContainerPointType >
IntegrationInfo Kratos::NurbsVolumeGeometry< TContainerPointType >::GetDefaultIntegrationInfo ( ) const
inlineoverridevirtual

Provides the default integration dependent on the polynomial degree of the underlying surface.

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ GetGeometryFamily()

template<class TContainerPointType >
GeometryData::KratosGeometryFamily Kratos::NurbsVolumeGeometry< TContainerPointType >::GetGeometryFamily ( ) const
inlineoverridevirtual

◆ GetGeometryType()

template<class TContainerPointType >
GeometryData::KratosGeometryType Kratos::NurbsVolumeGeometry< TContainerPointType >::GetGeometryType ( ) const
inlineoverridevirtual

◆ GetPoint() [1/2]

template<class TContainerPointType >
TPointType& Kratos::Geometry< TPointType >::GetPoint
inline

An access method to the i'th points stored in this geometry.

Returns
A counted pointer to i'th point of geometry.

◆ GetPoint() [2/2]

template<class TContainerPointType >
TPointType const& Kratos::Geometry< TPointType >::GetPoint
inline

A constant access method to the i'th points stored in this geometry.

Returns
A constant counted pointer to i'th point of geometry.

◆ GlobalCoordinates()

template<class TContainerPointType >
CoordinatesArrayType& Kratos::NurbsVolumeGeometry< TContainerPointType >::GlobalCoordinates ( CoordinatesArrayType rResult,
const CoordinatesArrayType rLocalCoordinates 
) const
inlineoverridevirtual

This method maps from local space to working space.

Parameters
LocalCoordinatesThe local coordinates in dimension space.
Returns
array_1d<double, 3> with the coordinates in working space.

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ GlobalSpaceDerivatives()

template<class TContainerPointType >
void Kratos::NurbsVolumeGeometry< TContainerPointType >::GlobalSpaceDerivatives ( std::vector< CoordinatesArrayType > &  rGlobalSpaceDerivatives,
const CoordinatesArrayType rLocalCoordinates,
const SizeType  DerivativeOrder 
) const
inlineoverridevirtual

This method maps from local space to working space and computes the derivatives at the local space parameter in the dimension of the object.

Parameters
LocalCoordinatesThe local coordinates to be evaluated.
DerivativeNumber of computed derivatives.
Returns
std::vector<array_1d<double, 3>> with the coordinates and derivatives in working space.

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ Info()

template<class TContainerPointType >
std::string Kratos::NurbsVolumeGeometry< TContainerPointType >::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Returns
String contains information about this geometry.
See also
PrintData()
PrintInfo()

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ IsRational()

template<class TContainerPointType >
bool Kratos::NurbsVolumeGeometry< TContainerPointType >::IsRational ( ) const
inline

Checks if shape functions are rational or not.

Returns
False. Weights are not yet considered.

◆ Jacobian()

template<class TContainerPointType >
Matrix& Kratos::NurbsVolumeGeometry< TContainerPointType >::Jacobian ( Matrix rResult,
const CoordinatesArrayType rCoordinates 
) const
inlineoverridevirtual

Computes jacobian matrix at the given coordinates.

Parameters
rCoordinatesCoordinates to be evaluated.
Returns
Matrix of double which is jacobian matrix \( J \) in given point.
Todo:
Refactor such that addional 'ComputeBSplineShapeFunctionValues'-call can be omitted. Here it is only called to find the correct knotspans and to set the shape_function_member variables 'mFirstNonzeroControlPointU,-V,-W'.
Note
This function is only required to compute e.g. the volume of the geometry. During an IGA-Analysis the corresponding function of the base class is called.

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ KnotSpanIntervalsU()

template<class TContainerPointType >
std::vector<NurbsInterval> Kratos::NurbsVolumeGeometry< TContainerPointType >::KnotSpanIntervalsU ( ) const
inline

Provides all knot span intervals of the volume in u-direction.

Returns
Vector of knot span intervals.

◆ KnotSpanIntervalsV()

template<class TContainerPointType >
std::vector<NurbsInterval> Kratos::NurbsVolumeGeometry< TContainerPointType >::KnotSpanIntervalsV ( ) const
inline

Provides all knot span intervals of the volume in v-direction.

Returns
Vector of knot span intervals.

◆ KnotSpanIntervalsW()

template<class TContainerPointType >
std::vector<NurbsInterval> Kratos::NurbsVolumeGeometry< TContainerPointType >::KnotSpanIntervalsW ( ) const
inline

Provides all knot span intervals of the volume in w-direction.

Returns
Vector of knot span intervals.

◆ KnotsU()

template<class TContainerPointType >
const Vector& Kratos::NurbsVolumeGeometry< TContainerPointType >::KnotsU ( ) const
inline

Get Knot vector in u-direction.

This vector is defined to have a multiplicity of p at the beginning and end (NOT: p + 1).

Returns
knot vector.

◆ KnotsV()

template<class TContainerPointType >
const Vector& Kratos::NurbsVolumeGeometry< TContainerPointType >::KnotsV ( ) const
inline

Get Knot vector in v-direction.

This vector is defined to have a multiplicity of p at the beginning and end (NOT: p + 1).

Returns
knot vector.

◆ KnotsW()

template<class TContainerPointType >
const Vector& Kratos::NurbsVolumeGeometry< TContainerPointType >::KnotsW ( ) const
inline

Get Knot vector in w-direction.

This vector is defined to have a multiplicity of p at the beginning and end (NOT: p + 1).

Returns
knot vector.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<class TContainerPointType >
Kratos::NurbsVolumeGeometry< TContainerPointType >::KRATOS_CLASS_POINTER_DEFINITION ( NurbsVolumeGeometry< TContainerPointType >  )

Pointer of NurbsVolumeGeometry.

◆ NumberOfControlPointsU()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::NumberOfControlPointsU ( ) const
inline

Attention weights are not yet implemented.

Returns
Gives the number of control points in u-direction.

◆ NumberOfControlPointsV()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::NumberOfControlPointsV ( ) const
inline
Returns
Gives the number of control points in v-direction.

◆ NumberOfControlPointsW()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::NumberOfControlPointsW ( ) const
inline
Returns
Gives the number of control points in w-direction.

◆ NumberOfKnotSpans()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::NumberOfKnotSpans ( IndexType  DirectionIndex) const
inline

Returns the number of spans in DirectionIndex=0:U, DirectionIndex=1:V and DirectionIndex=2 (which are larger than 0).

◆ NumberOfKnotsU()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::NumberOfKnotsU ( ) const
inline
Returns
Gives the size of the knot vector in u-direction.

◆ NumberOfKnotsV()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::NumberOfKnotsV ( ) const
inline
Returns
Gives the size of the knot vector in v-direction.

◆ NumberOfKnotsW()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::NumberOfKnotsW ( ) const
inline
Returns
Gives the size of the knot vector in w-direction.

◆ operator=() [1/2]

template<class TContainerPointType >
NurbsVolumeGeometry& Kratos::NurbsVolumeGeometry< TContainerPointType >::operator= ( const NurbsVolumeGeometry< TContainerPointType > &  rOther)
inline

Assignment operator.

◆ operator=() [2/2]

template<class TContainerPointType >
template<class TOtherContainerPointType >
NurbsVolumeGeometry& Kratos::NurbsVolumeGeometry< TContainerPointType >::operator= ( NurbsVolumeGeometry< TOtherContainerPointType > const &  rOther)
inline

Assignment operator for geometries with different point type.

◆ pGetPoint() [1/2]

template<class TContainerPointType >
TPointType::Pointer Kratos::Geometry< TPointType >::pGetPoint
inline

An access method to the i'th points stored in this geometry.

Returns
A counted pointer to i'th point of geometry.

◆ pGetPoint() [2/2]

template<class TContainerPointType >
const TPointType::Pointer Kratos::Geometry< TPointType >::pGetPoint
inline

A constant access method to the i'th points stored in this geometry.

Returns
A constant counted pointer to i'th point of geometry.

◆ PointsNumberInDirection()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::PointsNumberInDirection ( IndexType  LocalDirectionIndex) const
inlineoverridevirtual

Returns number of points per direction.

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ PolynomialDegree()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::PolynomialDegree ( IndexType  LocalDirectionIndex) const
inlineoverridevirtual

Return polynomial degree of the volume in direction 0, 1, 2.

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ PolynomialDegreeU()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::PolynomialDegreeU ( ) const
inline
Returns
returns the polynomial degree 'p' in u direction.

◆ PolynomialDegreeV()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::PolynomialDegreeV ( ) const
inline
Returns
returns the polynomial degree 'p' in v direction.

◆ PolynomialDegreeW()

template<class TContainerPointType >
SizeType Kratos::NurbsVolumeGeometry< TContainerPointType >::PolynomialDegreeW ( ) const
inline
Returns
returns the polynomial degree 'p' in w direction.

◆ PrintData()

template<class TContainerPointType >
void Kratos::NurbsVolumeGeometry< TContainerPointType >::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print geometry's data into given stream.

Prints Polynomial degree and number of knots in each direction.

Parameters
rOStreamStream to print into.
See also
PrintInfo()
Info()

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ PrintInfo()

template<class TContainerPointType >
void Kratos::NurbsVolumeGeometry< TContainerPointType >::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Parameters
rOStreamStream to print into.
See also
PrintData()
Info()

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ ProjectionPointGlobalToLocalSpace()

template<class TContainerPointType >
int Kratos::NurbsVolumeGeometry< TContainerPointType >::ProjectionPointGlobalToLocalSpace ( const CoordinatesArrayType rPointGlobalCoordinates,
CoordinatesArrayType rProjectedPointLocalCoordinates,
const double  Tolerance = std::numeric_limits<double>::epsilon() 
) const
inlineoverridevirtual

Returns local coordinates in return for a point in physical coordinates. This function assumes the initial geometry to be a regular grid. Only linear mapping is applied.

Parameters
rPointGlobalCoordinatesthe point to which the projection has to be found.
rProjectedPointLocalCoordinatesthe location of the projection in local coordinates.
Tolerancenot used.
Returns
This functions always returns 1 (successful projection). Since no Netwon-Raphson is performed, the projection is always considered as successful.

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ SetInternals()

template<class TContainerPointType >
void Kratos::NurbsVolumeGeometry< TContainerPointType >::SetInternals ( const PointsArrayType rThisPoints,
const SizeType  PolynomialDegreeU,
const SizeType  PolynomialDegreeV,
const SizeType  PolynomialDegreeW,
const Vector rKnotsU,
const Vector rKnotsV,
const Vector rKnotsW 
)
inline

◆ ShapeFunctionsLocalGradients()

template<class TContainerPointType >
Matrix& Kratos::NurbsVolumeGeometry< TContainerPointType >::ShapeFunctionsLocalGradients ( Matrix rResult,
const CoordinatesArrayType rCoordinates 
) const
inlineoverridevirtual

Computes the first derivatives in the local parameter space.

The derivatives are only computed for nonzero control points.

Parameters
rCoordinatesCoordinates to be evaluated.
Returns
Matrix that holds the derivatives. Matrix(CP-Index,SpaceDirection).

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ ShapeFunctionsValues()

template<class TContainerPointType >
Vector& Kratos::NurbsVolumeGeometry< TContainerPointType >::ShapeFunctionsValues ( Vector rResult,
const CoordinatesArrayType rCoordinates 
) const
inlineoverridevirtual

Computes the shape function values in the local parameter space.

The values are only computed for nonzero control points.

Parameters
rCoordinatesCoordinates to be evaluated.
Returns
Vector that holds the values. Vector(CP-Index).

Reimplemented from Kratos::Geometry< TContainerPointType::value_type >.

◆ Spans()

template<class TContainerPointType >
void Kratos::NurbsVolumeGeometry< TContainerPointType >::Spans ( std::vector< double > &  rSpans,
IndexType  DirectionIndex 
) const
inline

Provides all knot spans along the given direction.

Parameters
returnvector of span intervals.
indexof direction: 0: U; 1: V; 2: W;

Friends And Related Function Documentation

◆ Serializer

template<class TContainerPointType >
friend class Serializer
friend

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