Nektar++
|
#include <NodalTriFekete.h>
Public Member Functions | |
virtual | ~NodalTriFekete () |
NodalTriFekete (const PointsKey &key) | |
![]() | |
virtual | ~Points () |
void | Initialize (void) |
unsigned int | GetPointsDim () const |
unsigned int | GetNumPoints () const |
unsigned int | GetTotNumPoints () const |
PointsType | GetPointsType () const |
const Array< OneD, const DataType > & | GetZ () const |
const Array< OneD, const DataType > & | GetW () const |
void | GetZW (Array< OneD, const DataType > &z, Array< OneD, const DataType > &w) const |
const Array< OneD, const NekDouble > & | GetBaryWeights () const |
void | GetPoints (Array< OneD, const DataType > &x) const |
void | GetPoints (Array< OneD, const DataType > &x, Array< OneD, const DataType > &y) const |
void | GetPoints (Array< OneD, const DataType > &x, Array< OneD, const DataType > &y, Array< OneD, const DataType > &z) const |
const MatrixSharedPtrType & | GetD (Direction dir=xDir) const |
const MatrixSharedPtrType | GetI (const PointsKey &key) |
const MatrixSharedPtrType | GetI (const Array< OneD, const DataType > &x) |
const MatrixSharedPtrType | GetI (unsigned int uint, const Array< OneD, const DataType > &x) |
const MatrixSharedPtrType | GetI (const Array< OneD, const DataType > &x, const Array< OneD, const DataType > &y) |
const MatrixSharedPtrType | GetI (const Array< OneD, const DataType > &x, const Array< OneD, const DataType > &y, const Array< OneD, const DataType > &z) |
const MatrixSharedPtrType | GetGalerkinProjection (const PointsKey &pkey) |
Static Public Member Functions | |
static std::shared_ptr< PointsBaseType > | Create (const PointsKey &key) |
Protected Member Functions | |
virtual const MatrixSharedPtrType | v_GetI (const PointsKey &pkey) override |
virtual const MatrixSharedPtrType | v_GetI (const Array< OneD, const NekDouble > &x, const Array< OneD, const NekDouble > &y) override |
![]() | |
virtual void | v_Initialize (void) |
virtual void | v_CalculateBaryWeights () |
This function calculates the barycentric weights used for enhanced interpolation speed. More... | |
Points (const PointsKey &key) | |
virtual const MatrixSharedPtrType | v_GetI (const Array< OneD, const DataType > &x) |
virtual const MatrixSharedPtrType | v_GetI (unsigned int, const Array< OneD, const DataType > &x) |
virtual const MatrixSharedPtrType | v_GetI (const Array< OneD, const DataType > &x, const Array< OneD, const DataType > &y, const Array< OneD, const DataType > &z) |
virtual const MatrixSharedPtrType | v_GetGalerkinProjection (const PointsKey &pkey) |
Private Member Functions | |
NodalTriFekete () | |
void | NodalPointReorder2d () |
virtual void | v_CalculatePoints () override |
virtual void | v_CalculateWeights () override |
virtual void | v_CalculateDerivMatrix () override |
void | CalculateInterpMatrix (const Array< OneD, const NekDouble > &xi, const Array< OneD, const NekDouble > &yi, Array< OneD, NekDouble > &interp) |
Private Attributes | |
std::shared_ptr< NodalUtilTriangle > | m_util |
Static Private Attributes | |
static bool | initPointsManager [] |
Additional Inherited Members | |
![]() | |
typedef NekDouble | DataType |
typedef std::shared_ptr< NekMatrix< DataType > > | MatrixSharedPtrType |
![]() | |
PointsKey | m_pointsKey |
Points type for this points distributions. More... | |
Array< OneD, DataType > | m_points [3] |
Storage for the point locations, allowing for up to a 3D points storage. More... | |
Array< OneD, DataType > | m_weights |
Quadrature weights for the weights. More... | |
Array< OneD, DataType > | m_bcweights |
Barycentric weights. More... | |
MatrixSharedPtrType | m_derivmatrix [3] |
Derivative matrices. More... | |
NekManager< PointsKey, NekMatrix< DataType >, PointsKey::opLess > | m_InterpManager |
NekManager< PointsKey, NekMatrix< DataType >, PointsKey::opLess > | m_GalerkinProjectionManager |
Definition at line 54 of file NodalTriFekete.h.
|
inlinevirtual |
Definition at line 57 of file NodalTriFekete.h.
|
inline |
Definition at line 61 of file NodalTriFekete.h.
|
inlineprivate |
Definition at line 99 of file NodalTriFekete.h.
|
private |
Definition at line 147 of file NodalTriFekete.cpp.
References m_util, and Vmath::Vcopy().
Referenced by v_GetI().
|
static |
Definition at line 172 of file NodalTriFekete.cpp.
|
private |
Definition at line 180 of file NodalTriFekete.cpp.
References Nektar::LibUtilities::Points< NekDouble >::GetNumPoints(), Nektar::NekConstants::kNekZeroTol, Nektar::LibUtilities::Points< NekDouble >::m_points, and Nektar::Array< OneD, const DataType >::size().
Referenced by v_CalculatePoints().
|
overrideprivatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 163 of file NodalTriFekete.cpp.
References Nektar::LibUtilities::Points< NekDouble >::m_derivmatrix, m_util, and Nektar::LibUtilities::Points< NekDouble >::v_CalculateDerivMatrix().
|
overrideprivatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 54 of file NodalTriFekete.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL1, Nektar::LibUtilities::Points< NekDouble >::GetNumPoints(), Nektar::LibUtilities::PointsKey::GetTotNumPoints(), Nektar::LibUtilities::Points< NekDouble >::m_points, Nektar::LibUtilities::Points< NekDouble >::m_pointsKey, m_util, NodalPointReorder2d(), Nektar::LibUtilities::NodalTriFeketeData, Nektar::LibUtilities::NodalTriFeketeNPTS, Nektar::LibUtilities::perm3A_2d, Nektar::LibUtilities::perm3B_2d, Nektar::LibUtilities::perm6_2d, and Nektar::LibUtilities::Points< NekDouble >::v_CalculatePoints().
|
overrideprivatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 133 of file NodalTriFekete.cpp.
References Nektar::NekVector< DataType >::GetPtr(), Nektar::NekVector< DataType >::GetRows(), m_util, Nektar::LibUtilities::Points< NekDouble >::m_weights, and Nektar::LibUtilities::Points< NekDouble >::v_CalculateWeights().
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 79 of file NodalTriFekete.h.
References CalculateInterpMatrix(), and Nektar::LibUtilities::Points< NekDouble >::GetTotNumPoints().
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 69 of file NodalTriFekete.h.
References ASSERTL0, Nektar::LibUtilities::Points< NekDouble >::GetI(), Nektar::LibUtilities::PointsKey::GetPointsDim(), and Nektar::LibUtilities::PointsManager().
|
staticprivate |
Definition at line 95 of file NodalTriFekete.h.
|
private |
Definition at line 97 of file NodalTriFekete.h.
Referenced by CalculateInterpMatrix(), v_CalculateDerivMatrix(), v_CalculatePoints(), and v_CalculateWeights().