Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Nektar::TimeDependentInflow Class Reference

A global linear system. More...

#include <TimeDependentInflow.h>

Inheritance diagram for Nektar::TimeDependentInflow:
Inheritance graph
[legend]
Collaboration diagram for Nektar::TimeDependentInflow:
Collaboration graph
[legend]

Public Member Functions

 TimeDependentInflow (Array< OneD, MultiRegions::ExpListSharedPtr > pVessel, const LibUtilities::SessionReaderSharedPtr pSession, PulseWavePressureAreaSharedPtr pressureArea)
 
virtual ~TimeDependentInflow ()
 
- Public Member Functions inherited from Nektar::PulseWaveBoundary
 PulseWaveBoundary (Array< OneD, MultiRegions::ExpListSharedPtr > &pVessel, const LibUtilities::SessionReaderSharedPtr &pSession, PulseWavePressureAreaSharedPtr &pressureArea)
 
virtual ~PulseWaveBoundary ()
 
void DoBoundary (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &A_0, Array< OneD, Array< OneD, NekDouble > > &beta, const NekDouble time, int omega, int offset, int n)
 

Static Public Member Functions

static PulseWaveBoundarySharedPtr create (Array< OneD, MultiRegions::ExpListSharedPtr > &pVessel, const LibUtilities::SessionReaderSharedPtr &pSession, PulseWavePressureAreaSharedPtr &pressureArea)
 Creates an instance of this class. More...
 

Static Public Attributes

static std::string className
 Name of class. More...
 

Protected Member Functions

virtual void v_DoBoundary (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &A_0, Array< OneD, Array< OneD, NekDouble > > &beta, const NekDouble time, int omega, int offset, int n)
 

Additional Inherited Members

- Protected Attributes inherited from Nektar::PulseWaveBoundary
Array< OneD,
MultiRegions::ExpListSharedPtr
m_vessels
 
LibUtilities::SessionReaderSharedPtr m_session
 
PulseWavePressureAreaSharedPtr m_pressureArea
 
NekDouble m_pext
 
NekDouble m_pout
 
NekDouble m_rho
 

Detailed Description

A global linear system.

Definition at line 51 of file TimeDependentInflow.h.

Constructor & Destructor Documentation

Nektar::TimeDependentInflow::TimeDependentInflow ( Array< OneD, MultiRegions::ExpListSharedPtr pVessel,
const LibUtilities::SessionReaderSharedPtr  pSession,
PulseWavePressureAreaSharedPtr  pressureArea 
)

Definition at line 51 of file TimeDependentInflow.cpp.

55  : PulseWaveBoundary(pVessel,pSession,pressureArea)
56  {
57  }
PulseWaveBoundary(Array< OneD, MultiRegions::ExpListSharedPtr > &pVessel, const LibUtilities::SessionReaderSharedPtr &pSession, PulseWavePressureAreaSharedPtr &pressureArea)
Nektar::TimeDependentInflow::~TimeDependentInflow ( )
virtual

Definition at line 62 of file TimeDependentInflow.cpp.

63  {
64 
65  }

Member Function Documentation

static PulseWaveBoundarySharedPtr Nektar::TimeDependentInflow::create ( Array< OneD, MultiRegions::ExpListSharedPtr > &  pVessel,
const LibUtilities::SessionReaderSharedPtr pSession,
PulseWavePressureAreaSharedPtr pressureArea 
)
inlinestatic

Creates an instance of this class.

Definition at line 55 of file TimeDependentInflow.h.

References Nektar::MemoryManager< DataType >::AllocateSharedPtr().

58  {
59  return MemoryManager<TimeDependentInflow>::AllocateSharedPtr(pVessel,pSession,pressureArea);
60  }
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
void Nektar::TimeDependentInflow::v_DoBoundary ( const Array< OneD, const Array< OneD, NekDouble > > &  inarray,
Array< OneD, Array< OneD, NekDouble > > &  A_0,
Array< OneD, Array< OneD, NekDouble > > &  beta,
const NekDouble  time,
int  omega,
int  offset,
int  n 
)
protectedvirtual

Implements Nektar::PulseWaveBoundary.

Definition at line 67 of file TimeDependentInflow.cpp.

References Nektar::PulseWaveBoundary::m_vessels.

73  {
74  Array<OneD, MultiRegions::ExpListSharedPtr> vessel(2);
75 
76  vessel[0] = m_vessels[2*omega];
77  vessel[1] = m_vessels[2*omega+1];
78 
79  for (int i = 0; i < 2; ++i)
80  {
81  vessel[i]->EvaluateBoundaryConditions(time);
82  }
83  }
Array< OneD, MultiRegions::ExpListSharedPtr > m_vessels

Member Data Documentation

std::string Nektar::TimeDependentInflow::className
static
Initial value:
"TimeDependent",
"TimeDependent inflow boundary condition")

Name of class.

Definition at line 63 of file TimeDependentInflow.h.