Nektar++
Loading...
Searching...
No Matches
Public Attributes | List of all members
Nektar::SpatialDomains::IsoParam Struct Reference

The isoparametric description of a shape's \(\chi\) mapping. More...

#include <GeometryLocator.h>

Public Attributes

int m_nCoeff = 0
 Coefficients per coordinate direction. Only the leading m_nCoeff entries of each row are meaningful, and that count identifies the shape: 3 triangle, 4 quadrilateral or tetrahedron, 5 pyramid, 6 prism, 8 hexahedron.
 
std::array< std::array< NekDouble, kMaxGeomIsoCoeff >, kMaxGeomDim > m_coeff {}
 
std::array< int, kMaxGeomDim > m_manifold {}
 2D only: coordinate directions spanning the manifold.
 

Detailed Description

The isoparametric description of a shape's \(\chi\) mapping.

This is precisely what a Geometry knows how to compute about itself, and everything the inverse mapping needs from it. Keeping it separate from GeometryLocator means classification – which is exactly the test of whether the nonlinear coefficients vanish – can be answered with a stack-resident temporary and no dependency on the locator at all.

See also
Geometry::CalcGeomType

Definition at line 70 of file GeometryLocator.h.

Member Data Documentation

◆ m_coeff

std::array<std::array<NekDouble, kMaxGeomIsoCoeff>, kMaxGeomDim> Nektar::SpatialDomains::IsoParam::m_coeff {}

◆ m_manifold

std::array<int, kMaxGeomDim> Nektar::SpatialDomains::IsoParam::m_manifold {}

◆ m_nCoeff

int Nektar::SpatialDomains::IsoParam::m_nCoeff = 0