Nektar++
|
#include <NodalTriEvenlySpaced.h>
Public Member Functions | |
virtual | ~NodalTriEvenlySpaced () |
NodalTriEvenlySpaced (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 | |
NodalTriEvenlySpaced () | |
Deafult constructor should not be called except by Create matrix. More... | |
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 51 of file NodalTriEvenlySpaced.h.
|
inlinevirtual |
Definition at line 54 of file NodalTriEvenlySpaced.h.
|
inline |
Definition at line 58 of file NodalTriEvenlySpaced.h.
|
inlineprivate |
Deafult constructor should not be called except by Create matrix.
Definition at line 97 of file NodalTriEvenlySpaced.h.
|
private |
Definition at line 120 of file NodalTriEvenlySpaced.cpp.
References m_util, and Vmath::Vcopy().
Referenced by v_GetI().
|
static |
Definition at line 146 of file NodalTriEvenlySpaced.cpp.
|
private |
Definition at line 157 of file NodalTriEvenlySpaced.cpp.
References Nektar::LibUtilities::Points< NekDouble >::GetNumPoints(), Nektar::LibUtilities::Points< NekDouble >::GetTotNumPoints(), and Nektar::LibUtilities::Points< NekDouble >::m_points.
Referenced by v_CalculatePoints().
|
overrideprivatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 136 of file NodalTriEvenlySpaced.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 80 of file NodalTriEvenlySpaced.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), Nektar::LibUtilities::Points< NekDouble >::GetNumPoints(), Nektar::LibUtilities::Points< NekDouble >::m_points, m_util, NodalPointReorder2d(), and Nektar::LibUtilities::Points< NekDouble >::v_CalculatePoints().
|
overrideprivatevirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 105 of file NodalTriEvenlySpaced.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 76 of file NodalTriEvenlySpaced.h.
References CalculateInterpMatrix(), and Nektar::LibUtilities::Points< NekDouble >::GetTotNumPoints().
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::LibUtilities::Points< NekDouble >.
Definition at line 66 of file NodalTriEvenlySpaced.h.
References ASSERTL0, Nektar::LibUtilities::Points< NekDouble >::GetI(), Nektar::LibUtilities::PointsKey::GetPointsDim(), and Nektar::LibUtilities::PointsManager().
|
staticprivate |
Definition at line 92 of file NodalTriEvenlySpaced.h.
|
private |
Definition at line 94 of file NodalTriEvenlySpaced.h.
Referenced by CalculateInterpMatrix(), v_CalculateDerivMatrix(), v_CalculatePoints(), and v_CalculateWeights().