![]() |
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.
|
Utility functions for NURBS computation. More...
Typedefs | |
Type Definitions | |
typedef std::size_t | IndexType |
typedef std::size_t | SizeType |
Functions | |
Static Operations | |
IndexType | GetUpperSpan (const SizeType PolynomialDegree, const Vector &rKnots, const double ParameterT) |
IndexType | GetLowerSpan (const SizeType PolynomialDegree, const Vector &rKnots, const double ParameterT) |
SizeType | GetPolynomialDegree (const SizeType NumberOfKnots, const SizeType NumberOfControlPoints) |
SizeType | GetNumberOfKnots (const SizeType PolynomialDegree, const SizeType NumberOfControlPoints) |
SizeType | GetNumberOfControlPoints (const SizeType PolynomialDegree, const SizeType NumberOfKnots) |
SizeType | GetNumberOfSpans (const SizeType PolynomialDegree, const SizeType NumberOfKnots) |
static constexpr SizeType | GetBinomCoefficient (const SizeType N, const SizeType K) noexcept |
static constexpr IndexType | GetVectorIndexFromMatrixIndices (const SizeType NumberPerRow, const SizeType NumberPerColumn, const IndexType RowIndex, const IndexType ColumnIndex) noexcept |
static constexpr IndexType | 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 > | GetMatrixIndicesFromVectorIndex (const SizeType NumberPerRow, const SizeType NumberPerColumn, const IndexType Index) noexcept |
static array_1d< IndexType, 3 > | GetMatrixIndicesFromVectorIndex (const SizeType NumberPerRow, const SizeType NumberPerColumn, const SizeType NumberPerDepth, const IndexType Index) noexcept |
Computes three matrix indices from vector index. More... | |
Utility functions for NURBS computation.
typedef std::size_t Kratos::NurbsUtilities::IndexType |
typedef std::size_t Kratos::NurbsUtilities::SizeType |
|
inlinestaticconstexprnoexcept |
|
inline |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
Computes three matrix indices from vector index.
Matrix serialization: First walk along rows, then colums, then into depths.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
Computes a vector index from three matrix indices.
Matrix serialization: First walk along rows, then colums, then into depths.