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.
Namespaces
nurbs_utilities.h File Reference
#include "containers/array_1d.h"
Include dependency graph for nurbs_utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::NurbsUtilities
 Utility functions for NURBS computation.
 

Typedefs

Type Definitions
typedef std::size_t Kratos::NurbsUtilities::IndexType
 
typedef std::size_t Kratos::NurbsUtilities::SizeType
 

Functions

Static Operations
IndexType Kratos::NurbsUtilities::GetUpperSpan (const SizeType PolynomialDegree, const Vector &rKnots, const double ParameterT)
 
IndexType Kratos::NurbsUtilities::GetLowerSpan (const SizeType PolynomialDegree, const Vector &rKnots, const double ParameterT)
 
SizeType Kratos::NurbsUtilities::GetPolynomialDegree (const SizeType NumberOfKnots, const SizeType NumberOfControlPoints)
 
SizeType Kratos::NurbsUtilities::GetNumberOfKnots (const SizeType PolynomialDegree, const SizeType NumberOfControlPoints)
 
SizeType Kratos::NurbsUtilities::GetNumberOfControlPoints (const SizeType PolynomialDegree, const SizeType NumberOfKnots)
 
SizeType Kratos::NurbsUtilities::GetNumberOfSpans (const SizeType PolynomialDegree, const SizeType NumberOfKnots)
 
static constexpr SizeType Kratos::NurbsUtilities::GetBinomCoefficient (const SizeType N, const SizeType K) noexcept
 
static constexpr IndexType Kratos::NurbsUtilities::GetVectorIndexFromMatrixIndices (const SizeType NumberPerRow, const SizeType NumberPerColumn, const IndexType RowIndex, const IndexType ColumnIndex) noexcept
 
static constexpr IndexType Kratos::NurbsUtilities::GetVectorIndexFromMatrixIndices (const SizeType NumberPerRow, const SizeType NumberPerColumn, const SizeType NumberPerDepth, const IndexType RowIndex, const IndexType ColumnIndex, const IndexType DepthIndex) noexcept
 Computes a vector index from three matrix indices. More...
 
static std::pair< IndexType, IndexType > Kratos::NurbsUtilities::GetMatrixIndicesFromVectorIndex (const SizeType NumberPerRow, const SizeType NumberPerColumn, const IndexType Index) noexcept
 
static array_1d< IndexType, 3 > Kratos::NurbsUtilities::GetMatrixIndicesFromVectorIndex (const SizeType NumberPerRow, const SizeType NumberPerColumn, const SizeType NumberPerDepth, const IndexType Index) noexcept
 Computes three matrix indices from vector index. More...