G+Smo
24.08.0
Geometry + Simulation Modules
|
Modification of the corresponding class from gsParametrization<T>. Given the indices of the stitch vertices, a matrix of corrections is produced according to vertices being neighbours across the interface.
Public Member Functions | |
const std::vector< index_t > | getBoundaryCorners (const size_t method, const T range=0.1, const size_t number=4) const |
Get boundary corners depending on the method. More... | |
const std::vector< T > & | getLambdas (const size_t i) const |
Get vector of lambdas. More... | |
Neighbourhood (const gsHalfEdgeMesh< T > &meshInfo, const std::vector< size_t > &stitchIndices, gsSparseMatrix< int > &corrections, const size_t parametrizationMethod=2) | |
Protected Member Functions | |
std::vector< size_t > | computeCorrections (const std::vector< size_t > &stitchIndices, const LocalNeighbourhood &localNeighbourhood) const |
|
explicit |
Constructor.
meshInfo,: | surface mesh (as in the parent class) | |
stitchIndices,: | indices of the vertices forming the stitch | |
[out] | corrections,: | a reference to m_corrections of gsPeriodicStitch that gets filled here |
parametrizationMethod,: | parametrization method (as in the parent class) |
|
protected |
For a stitch vertex finds its neighbours across the interface.
stitchIndices | indices of the stitch vertices |
localNeighbourhood | local neighbourhood of the vertex in question |
|
inherited |
Get boundary corners depending on the method.
This method returns a vector with the indices of the boundary corners. ...........................................................................................................
|
inherited |
Get vector of lambdas.
This method returns a vector that stores the lambdas.