Nektar++
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Nektar::PulseWavePressureArea Class Referenceabstract

#include <PulseWavePressureArea.h>

Inheritance diagram for Nektar::PulseWavePressureArea:
[legend]

Public Member Functions

 PulseWavePressureArea (Array< OneD, MultiRegions::ExpListSharedPtr > &pVessel, const LibUtilities::SessionReaderSharedPtr &pSession)
 
virtual ~PulseWavePressureArea ()
 
void GetPressure (NekDouble &P, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &dAUdx, const NekDouble &gamma=0, const NekDouble &alpha=0.5)
 
void GetC (NekDouble &c, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &alpha=0.5)
 
void GetW1 (NekDouble &W1, const NekDouble &u, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &alpha=0.5)
 
void GetW2 (NekDouble &W2, const NekDouble &u, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &alpha=0.5)
 
void GetAFromChars (NekDouble &A, const NekDouble &W1, const NekDouble &W2, const NekDouble &beta, const NekDouble &A0, const NekDouble &alpha=0.5)
 
void GetUFromChars (NekDouble &u, const NekDouble &W1, const NekDouble &W2)
 
void GetCharIntegral (NekDouble &I, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &alpha=0.5)
 
void GetJacobianInverse (NekMatrix< NekDouble > &invJ, const Array< OneD, NekDouble > &Au, const Array< OneD, NekDouble > &uu, const Array< OneD, NekDouble > &beta, const Array< OneD, NekDouble > &A0, const Array< OneD, NekDouble > &alpha, const std::string &type)
 

Protected Member Functions

virtual void v_GetPressure (NekDouble &P, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &dAUdx, const NekDouble &gamma=0, const NekDouble &alpha=0.5)=0
 
virtual void v_GetC (NekDouble &c, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &alpha=0.5)=0
 
virtual void v_GetW1 (NekDouble &W1, const NekDouble &u, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &alpha=0.5)=0
 
virtual void v_GetW2 (NekDouble &W2, const NekDouble &u, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &alpha=0.5)=0
 
virtual void v_GetAFromChars (NekDouble &A, const NekDouble &W1, const NekDouble &W2, const NekDouble &beta, const NekDouble &A0, const NekDouble &alpha=0.5)=0
 
virtual void v_GetUFromChars (NekDouble &u, const NekDouble &W1, const NekDouble &W2)=0
 
virtual void v_GetCharIntegral (NekDouble &I, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &alpha=0.5)=0
 
virtual void v_GetJacobianInverse (NekMatrix< NekDouble > &invJ, const Array< OneD, NekDouble > &Au, const Array< OneD, NekDouble > &uu, const Array< OneD, NekDouble > &beta, const Array< OneD, NekDouble > &A0, const Array< OneD, NekDouble > &alpha, const std::string &type)=0
 

Protected Attributes

Array< OneD, MultiRegions::ExpListSharedPtrm_vessels
 
LibUtilities::SessionReaderSharedPtr m_session
 
NekDouble m_PExt
 
NekDouble m_rho
 

Detailed Description

Definition at line 59 of file PulseWavePressureArea.h.

Constructor & Destructor Documentation

◆ PulseWavePressureArea()

Nektar::PulseWavePressureArea::PulseWavePressureArea ( Array< OneD, MultiRegions::ExpListSharedPtr > &  pVessel,
const LibUtilities::SessionReaderSharedPtr pSession 
)

Definition at line 41 of file PulseWavePressureArea.cpp.

44 : m_vessels(pVessel), m_session(pSession)
45{
46 m_session->LoadParameter("pext", m_PExt, 0);
47 m_session->LoadParameter("rho", m_rho, 0.5);
48}
Array< OneD, MultiRegions::ExpListSharedPtr > m_vessels
LibUtilities::SessionReaderSharedPtr m_session

References m_PExt, m_rho, and m_session.

◆ ~PulseWavePressureArea()

Nektar::PulseWavePressureArea::~PulseWavePressureArea ( )
virtual

Definition at line 50 of file PulseWavePressureArea.cpp.

51{
52}

Member Function Documentation

◆ GetAFromChars()

void Nektar::PulseWavePressureArea::GetAFromChars ( NekDouble A,
const NekDouble W1,
const NekDouble W2,
const NekDouble beta,
const NekDouble A0,
const NekDouble alpha = 0.5 
)
inline

Definition at line 183 of file PulseWavePressureArea.h.

186{
187 v_GetAFromChars(A, W1, W2, beta, A0, alpha);
188}
virtual void v_GetAFromChars(NekDouble &A, const NekDouble &W1, const NekDouble &W2, const NekDouble &beta, const NekDouble &A0, const NekDouble &alpha=0.5)=0
@ beta
Gauss Radau pinned at x=-1,.
Definition: PointsType.h:59

References Nektar::LibUtilities::beta, and v_GetAFromChars().

◆ GetC()

void Nektar::PulseWavePressureArea::GetC ( NekDouble c,
const NekDouble beta,
const NekDouble A,
const NekDouble A0,
const NekDouble alpha = 0.5 
)
inline

◆ GetCharIntegral()

void Nektar::PulseWavePressureArea::GetCharIntegral ( NekDouble I,
const NekDouble beta,
const NekDouble A,
const NekDouble A0,
const NekDouble alpha = 0.5 
)
inline

◆ GetJacobianInverse()

void Nektar::PulseWavePressureArea::GetJacobianInverse ( NekMatrix< NekDouble > &  invJ,
const Array< OneD, NekDouble > &  Au,
const Array< OneD, NekDouble > &  uu,
const Array< OneD, NekDouble > &  beta,
const Array< OneD, NekDouble > &  A0,
const Array< OneD, NekDouble > &  alpha,
const std::string &  type 
)
inline

Definition at line 206 of file PulseWavePressureArea.h.

211{
212 v_GetJacobianInverse(invJ, Au, uu, beta, A0, alpha, type);
213}
virtual void v_GetJacobianInverse(NekMatrix< NekDouble > &invJ, const Array< OneD, NekDouble > &Au, const Array< OneD, NekDouble > &uu, const Array< OneD, NekDouble > &beta, const Array< OneD, NekDouble > &A0, const Array< OneD, NekDouble > &alpha, const std::string &type)=0

References Nektar::LibUtilities::beta, and v_GetJacobianInverse().

◆ GetPressure()

void Nektar::PulseWavePressureArea::GetPressure ( NekDouble P,
const NekDouble beta,
const NekDouble A,
const NekDouble A0,
const NekDouble dAUdx,
const NekDouble gamma = 0,
const NekDouble alpha = 0.5 
)
inline

Definition at line 150 of file PulseWavePressureArea.h.

154{
155 v_GetPressure(P, beta, A, A0, dAUdx, gamma, alpha);
156}
virtual void v_GetPressure(NekDouble &P, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &dAUdx, const NekDouble &gamma=0, const NekDouble &alpha=0.5)=0
@ P
Monomial polynomials .
Definition: BasisType.h:62

References Nektar::LibUtilities::beta, Nektar::LibUtilities::P, and v_GetPressure().

◆ GetUFromChars()

void Nektar::PulseWavePressureArea::GetUFromChars ( NekDouble u,
const NekDouble W1,
const NekDouble W2 
)
inline

Definition at line 190 of file PulseWavePressureArea.h.

193{
194 v_GetUFromChars(u, W1, W2);
195}
virtual void v_GetUFromChars(NekDouble &u, const NekDouble &W1, const NekDouble &W2)=0

References v_GetUFromChars().

◆ GetW1()

void Nektar::PulseWavePressureArea::GetW1 ( NekDouble W1,
const NekDouble u,
const NekDouble beta,
const NekDouble A,
const NekDouble A0,
const NekDouble alpha = 0.5 
)
inline

Definition at line 165 of file PulseWavePressureArea.h.

170{
171 v_GetW1(W1, u, beta, A, A0, alpha);
172}
virtual void v_GetW1(NekDouble &W1, const NekDouble &u, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &alpha=0.5)=0

References Nektar::LibUtilities::beta, and v_GetW1().

◆ GetW2()

void Nektar::PulseWavePressureArea::GetW2 ( NekDouble W2,
const NekDouble u,
const NekDouble beta,
const NekDouble A,
const NekDouble A0,
const NekDouble alpha = 0.5 
)
inline

Definition at line 174 of file PulseWavePressureArea.h.

179{
180 v_GetW2(W2, u, beta, A, A0, alpha);
181}
virtual void v_GetW2(NekDouble &W2, const NekDouble &u, const NekDouble &beta, const NekDouble &A, const NekDouble &A0, const NekDouble &alpha=0.5)=0

References Nektar::LibUtilities::beta, and v_GetW2().

◆ v_GetAFromChars()

virtual void Nektar::PulseWavePressureArea::v_GetAFromChars ( NekDouble A,
const NekDouble W1,
const NekDouble W2,
const NekDouble beta,
const NekDouble A0,
const NekDouble alpha = 0.5 
)
protectedpure virtual

◆ v_GetC()

virtual void Nektar::PulseWavePressureArea::v_GetC ( NekDouble c,
const NekDouble beta,
const NekDouble A,
const NekDouble A0,
const NekDouble alpha = 0.5 
)
protectedpure virtual

◆ v_GetCharIntegral()

virtual void Nektar::PulseWavePressureArea::v_GetCharIntegral ( NekDouble I,
const NekDouble beta,
const NekDouble A,
const NekDouble A0,
const NekDouble alpha = 0.5 
)
protectedpure virtual

◆ v_GetJacobianInverse()

virtual void Nektar::PulseWavePressureArea::v_GetJacobianInverse ( NekMatrix< NekDouble > &  invJ,
const Array< OneD, NekDouble > &  Au,
const Array< OneD, NekDouble > &  uu,
const Array< OneD, NekDouble > &  beta,
const Array< OneD, NekDouble > &  A0,
const Array< OneD, NekDouble > &  alpha,
const std::string &  type 
)
protectedpure virtual

◆ v_GetPressure()

virtual void Nektar::PulseWavePressureArea::v_GetPressure ( NekDouble P,
const NekDouble beta,
const NekDouble A,
const NekDouble A0,
const NekDouble dAUdx,
const NekDouble gamma = 0,
const NekDouble alpha = 0.5 
)
protectedpure virtual

◆ v_GetUFromChars()

virtual void Nektar::PulseWavePressureArea::v_GetUFromChars ( NekDouble u,
const NekDouble W1,
const NekDouble W2 
)
protectedpure virtual

◆ v_GetW1()

virtual void Nektar::PulseWavePressureArea::v_GetW1 ( NekDouble W1,
const NekDouble u,
const NekDouble beta,
const NekDouble A,
const NekDouble A0,
const NekDouble alpha = 0.5 
)
protectedpure virtual

◆ v_GetW2()

virtual void Nektar::PulseWavePressureArea::v_GetW2 ( NekDouble W2,
const NekDouble u,
const NekDouble beta,
const NekDouble A,
const NekDouble A0,
const NekDouble alpha = 0.5 
)
protectedpure virtual

Member Data Documentation

◆ m_PExt

NekDouble Nektar::PulseWavePressureArea::m_PExt
protected

◆ m_rho

NekDouble Nektar::PulseWavePressureArea::m_rho
protected

◆ m_session

LibUtilities::SessionReaderSharedPtr Nektar::PulseWavePressureArea::m_session
protected

◆ m_vessels

Array<OneD, MultiRegions::ExpListSharedPtr> Nektar::PulseWavePressureArea::m_vessels
protected

Definition at line 141 of file PulseWavePressureArea.h.