MAIA bb96820c
Multiphysics at AIA
|
Class stores precalculated values for interpolation & integration on the reference interval [-1,1]. More...
#include <dgcartesianinterpolation.h>
Public Member Functions | |
DgInterpolation () | |
Default constructor only sets default values for member variables. More... | |
DgInterpolation (const MInt polyDeg, const DgPolynomialType polyType, const MInt noNodes, const DgIntegrationMethod intMethod, const MBool sbpMode, const MString sbpOperator) | |
Constructor passes arguments to init(). More... | |
~DgInterpolation () | |
Destructor clears all member variables. More... | |
void | init (const MInt polyDeg, const DgPolynomialType polyType, const MInt noNodes, const DgIntegrationMethod intMethod, const MBool sbpMode, const MString sbpOperator) |
Sets the member variables and calls the appropriate functions to calculate the nodes and weights etc. More... | |
void | initInterpolation (const MInt polyDeg, const DgPolynomialType polyType, const MInt noNodes, const DgIntegrationMethod intMethod, const MBool sbpMode, const MString sbpOperator) |
Sets the member variables neccessary for the interpolation between sets of nodes. More... | |
The following two sources may be cited:
Kopriva09: David A. Kopriva, Implementing Spectral Methods for Partial Differential Equations, Springer, 2009
HesthavenWarburton08: J. S. Hesthaven and T. Warburton, Nodal Discontinuous Galerkin Methods, Springer, 2008
Definition at line 35 of file dgcartesianinterpolation.h.
DgInterpolation::DgInterpolation | ( | ) |
Definition at line 24 of file dgcartesianinterpolation.cpp.
DgInterpolation::DgInterpolation | ( | const MInt | polyDeg, |
const DgPolynomialType | polyType, | ||
const MInt | noNodes1D, | ||
const DgIntegrationMethod | intMethod, | ||
const MBool | sbpMode, | ||
const MString | sbpOperator | ||
) |
[in] | polyDeg | Maximum polynomial degree. |
[in] | polyType | Polynomial type. |
[in] | intMethod | Integration method. |
Definition at line 41 of file dgcartesianinterpolation.cpp.
DgInterpolation::~DgInterpolation | ( | ) |
Definition at line 68 of file dgcartesianinterpolation.cpp.
void DgInterpolation::init | ( | const MInt | polyDeg, |
const DgPolynomialType | polyType, | ||
const MInt | noNodes, | ||
const DgIntegrationMethod | intMethod, | ||
const MBool | sbpMode, | ||
const MString | sbpOperator | ||
) |
[in] | polyDeg | Maximum polynomial degree. |
[in] | polyType | Polynomial type. |
[in] | intMethod | Integration method. |
[in] | noNodes | Number of nodes |
[in] | sbpMode | SBP mode |
[in] | sbpOperator | Used SBP operator |
Definition at line 100 of file dgcartesianinterpolation.cpp.
void DgInterpolation::initInterpolation | ( | const MInt | polyDeg, |
const DgPolynomialType | polyType, | ||
const MInt | noNodes, | ||
const DgIntegrationMethod | intMethod, | ||
const MBool | sbpMode, | ||
const MString | sbpOperator | ||
) |
[in] | polyDeg | Maximum polynomial degree. |
[in] | polyType | Polynomial type. |
[in] | intMethod | Integration method. |
[in] | noNodes | Number of nodes |
[in] | sbpMode | SBP mode |
[in] | sbpOperator | Used SBP operator |
Definition at line 207 of file dgcartesianinterpolation.cpp.
MFloatMatrix DgInterpolation::m_Dhat |
Definition at line 70 of file dgcartesianinterpolation.h.
MInt DgInterpolation::m_intMethod |
Definition at line 62 of file dgcartesianinterpolation.h.
MFloatVector DgInterpolation::m_LFace[2] |
Definition at line 72 of file dgcartesianinterpolation.h.
MFloatVector DgInterpolation::m_LhatFace[2] |
Definition at line 75 of file dgcartesianinterpolation.h.
MFloatVector DgInterpolation::m_nodes |
Definition at line 64 of file dgcartesianinterpolation.h.
MInt DgInterpolation::m_noNodes |
Definition at line 58 of file dgcartesianinterpolation.h.
MInt DgInterpolation::m_polyDeg |
Definition at line 56 of file dgcartesianinterpolation.h.
MInt DgInterpolation::m_polyType |
Definition at line 60 of file dgcartesianinterpolation.h.
MBool DgInterpolation::m_sbpMode |
Definition at line 52 of file dgcartesianinterpolation.h.
MString DgInterpolation::m_sbpOperator |
Definition at line 54 of file dgcartesianinterpolation.h.
MFloatVector DgInterpolation::m_wBary |
Definition at line 68 of file dgcartesianinterpolation.h.
MFloatVector DgInterpolation::m_wInt |
Definition at line 66 of file dgcartesianinterpolation.h.