Nektar++
|
#include <DiffusionLDG.h>
Static Public Member Functions | |
static DiffusionSharedPtr | create (std::string diffType) |
Static Public Attributes | |
static std::string | type |
Protected Attributes | |
std::string | m_shockCaptureType |
NekDouble | m_C11 |
Coefficient of penalty term. More... | |
Array< OneD, Array< OneD, NekDouble > > | m_traceNormals |
LibUtilities::SessionReaderSharedPtr | m_session |
![]() | |
DiffusionFluxVecCB | m_fluxVector |
DiffusionFluxVecCBNS | m_fluxVectorNS |
DiffusionFluxPenaltyNS | m_fluxPenaltyNS |
Definition at line 46 of file DiffusionLDG.h.
|
protected |
|
protected |
Definition at line 207 of file DiffusionLDG.cpp.
References Nektar::SpatialDomains::eDirichlet, Nektar::SpatialDomains::eNeumann, Nektar::SpatialDomains::ePeriodic, and Vmath::Vcopy().
Referenced by NumFluxforScalar().
|
protected |
Diffusion: Imposing weak boundary condition for q with flux uflux = g_D on Dirichlet boundary condition uflux = u_Fwd on Neumann boundary condition
Definition at line 344 of file DiffusionLDG.cpp.
References Nektar::SpatialDomains::eDirichlet, Nektar::SpatialDomains::eNeumann, Nektar::SpatialDomains::ePeriodic, m_traceNormals, Vmath::Vmul(), and Vmath::Zero().
Referenced by NumFluxforVector().
|
inlinestatic |
Definition at line 49 of file DiffusionLDG.h.
References DiffusionLDG().
|
protected |
Definition at line 158 of file DiffusionLDG.cpp.
References ApplyScalarBCs(), m_traceNormals, Nektar::NullNekDoubleArrayofArray, Vmath::Vcopy(), and Vmath::Vmul().
Referenced by v_Diffuse().
|
protected |
Build the numerical flux for the 2nd order derivatives todo: add variable coeff and h dependence to penalty term.
Definition at line 283 of file DiffusionLDG.cpp.
References ApplyVectorBCs(), m_C11, m_traceNormals, Vmath::Smul(), Vmath::Vadd(), Vmath::Vcopy(), Vmath::Vmul(), and Vmath::Vsub().
Referenced by v_Diffuse().
|
protectedvirtual |
Implements Nektar::SolverUtils::Diffusion.
Definition at line 76 of file DiffusionLDG.cpp.
References Nektar::SolverUtils::Diffusion::m_fluxVector, Vmath::Neg(), NumFluxforScalar(), and NumFluxforVector().
|
protectedvirtual |
Reimplemented from Nektar::SolverUtils::Diffusion.
Definition at line 53 of file DiffusionLDG.cpp.
References m_C11, m_session, m_shockCaptureType, and m_traceNormals.
|
protected |
Coefficient of penalty term.
Definition at line 63 of file DiffusionLDG.h.
Referenced by NumFluxforVector(), and v_InitObject().
|
protected |
Definition at line 66 of file DiffusionLDG.h.
Referenced by v_InitObject().
|
protected |
Definition at line 60 of file DiffusionLDG.h.
Referenced by v_InitObject().
Definition at line 65 of file DiffusionLDG.h.
Referenced by ApplyVectorBCs(), NumFluxforScalar(), NumFluxforVector(), and v_InitObject().
|
static |
Definition at line 55 of file DiffusionLDG.h.