Nektar++
|
Smooth artificial diffusion for shock capture for compressible flow problems. More...
#include <SmoothShockCapture.h>
Static Public Member Functions | |
static ArtificialDiffusionSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const int spacedim) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of the class. More... | |
Protected Member Functions | |
virtual void | v_DoArtificialDiffusion (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray) |
virtual void | v_GetArtificialViscosity (const Array< OneD, Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &mu) |
Protected Member Functions inherited from Nektar::ArtificialDiffusion | |
ArtificialDiffusion (const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const int spacedim) | |
Constructor. More... | |
Private Member Functions | |
SmoothShockCapture (const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const int spacedim) | |
virtual | ~SmoothShockCapture (void) |
void | GetForcingTerm (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > outarrayForcing) |
Friends | |
class | MemoryManager< SmoothShockCapture > |
Smooth artificial diffusion for shock capture for compressible flow problems.
Definition at line 49 of file SmoothShockCapture.h.
|
private |
Definition at line 48 of file SmoothShockCapture.cpp.
References ASSERTL0, and Nektar::ArtificialDiffusion::m_fields.
|
inlineprivatevirtual |
Definition at line 84 of file SmoothShockCapture.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 56 of file SmoothShockCapture.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
private |
Definition at line 162 of file SmoothShockCapture.cpp.
References Nektar::ArtificialDiffusion::m_C1, Nektar::ArtificialDiffusion::m_fields, Nektar::ArtificialDiffusion::m_hFactor, Nektar::ArtificialDiffusion::m_varConv, Vmath::Vadd(), and Vmath::Vmax().
Referenced by v_DoArtificialDiffusion().
|
protectedvirtual |
Reimplemented from Nektar::ArtificialDiffusion.
Definition at line 58 of file SmoothShockCapture.cpp.
References GetForcingTerm(), Nektar::ArtificialDiffusion::m_C2, Nektar::ArtificialDiffusion::m_diffusion, Nektar::ArtificialDiffusion::m_fields, Nektar::ArtificialDiffusion::m_varConv, Vmath::Smul(), Vmath::Vadd(), and Vmath::Vmax().
|
protectedvirtual |
Implements Nektar::ArtificialDiffusion.
Definition at line 125 of file SmoothShockCapture.cpp.
References Nektar::ArtificialDiffusion::m_FacH, Nektar::ArtificialDiffusion::m_FacL, Nektar::ArtificialDiffusion::m_fields, Nektar::ArtificialDiffusion::m_mu0, and Nektar::ArtificialDiffusion::m_varConv.
|
friend |
Definition at line 53 of file SmoothShockCapture.h.
|
static |
Name of the class.
Definition at line 67 of file SmoothShockCapture.h.