Nektar++
Public Member Functions | Protected Member Functions | List of all members
Nektar::SolverUtils::FluidInterface Class Referenceabstract

#include <FilterInterfaces.hpp>

Inheritance diagram for Nektar::SolverUtils::FluidInterface:
[legend]

Public Member Functions

virtual ~FluidInterface ()=default
 
SOLVER_UTILS_EXPORT void GetVelocity (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &velocity)
 Extract array with velocity from physfield. More...
 
SOLVER_UTILS_EXPORT bool HasConstantDensity ()
 
SOLVER_UTILS_EXPORT void GetDensity (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &density)
 Extract array with density from physfield. More...
 
SOLVER_UTILS_EXPORT void GetPressure (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &pressure)
 Extract array with pressure from physfield. More...
 
SOLVER_UTILS_EXPORT void SetMovingFrameVelocities (const Array< OneD, NekDouble > &vFrameVels)
 
SOLVER_UTILS_EXPORT void GetMovingFrameVelocities (Array< OneD, NekDouble > &vFrameVels)
 
SOLVER_UTILS_EXPORT void SetMovingFrameProjectionMat (const boost::numeric::ublas::matrix< NekDouble > &vProjMat)
 
SOLVER_UTILS_EXPORT void GetMovingFrameProjectionMat (boost::numeric::ublas::matrix< NekDouble > &vProjMat)
 
SOLVER_UTILS_EXPORT void SetMovingFrameAngles (const Array< OneD, NekDouble > &vFrameTheta)
 
SOLVER_UTILS_EXPORT void GetMovingFrameAngles (Array< OneD, NekDouble > &vFrameTheta)
 

Protected Member Functions

virtual SOLVER_UTILS_EXPORT void v_GetVelocity (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &velocity)=0
 
virtual SOLVER_UTILS_EXPORT bool v_HasConstantDensity ()=0
 
virtual SOLVER_UTILS_EXPORT void v_GetDensity (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &density)=0
 
virtual SOLVER_UTILS_EXPORT void v_GetPressure (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &pressure)=0
 
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameVelocities (const Array< OneD, NekDouble > &vFrameVels)
 
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameVelocities (Array< OneD, NekDouble > &vFrameVels)
 
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameProjectionMat (const boost::numeric::ublas::matrix< NekDouble > &vProjMat)
 
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameProjectionMat (boost::numeric::ublas::matrix< NekDouble > &vProjMat)
 
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameAngles (const Array< OneD, NekDouble > &vFrameTheta)
 
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameAngles (Array< OneD, NekDouble > &vFrameTheta)
 

Detailed Description

Definition at line 49 of file FilterInterfaces.hpp.

Constructor & Destructor Documentation

◆ ~FluidInterface()

virtual Nektar::SolverUtils::FluidInterface::~FluidInterface ( )
virtualdefault

Member Function Documentation

◆ GetDensity()

void Nektar::SolverUtils::FluidInterface::GetDensity ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, NekDouble > &  density 
)
inline

Extract array with density from physfield.

Definition at line 159 of file FilterInterfaces.hpp.

162{
163 v_GetDensity(physfield, density);
164}
virtual SOLVER_UTILS_EXPORT void v_GetDensity(const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &density)=0

References v_GetDensity().

◆ GetMovingFrameAngles()

void Nektar::SolverUtils::FluidInterface::GetMovingFrameAngles ( Array< OneD, NekDouble > &  vFrameTheta)
inline

Definition at line 221 of file FilterInterfaces.hpp.

223{
224 v_GetMovingFrameAngles(vFrameTheta);
225}
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameAngles(Array< OneD, NekDouble > &vFrameTheta)

References v_GetMovingFrameAngles().

◆ GetMovingFrameProjectionMat()

void Nektar::SolverUtils::FluidInterface::GetMovingFrameProjectionMat ( boost::numeric::ublas::matrix< NekDouble > &  vProjMat)
inline

Definition at line 206 of file FilterInterfaces.hpp.

208{
210}
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameProjectionMat(boost::numeric::ublas::matrix< NekDouble > &vProjMat)

References v_GetMovingFrameProjectionMat().

◆ GetMovingFrameVelocities()

void Nektar::SolverUtils::FluidInterface::GetMovingFrameVelocities ( Array< OneD, NekDouble > &  vFrameVels)
inline

Definition at line 188 of file FilterInterfaces.hpp.

190{
191 v_GetMovingFrameVelocities(vFrameVels);
192}
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameVelocities(Array< OneD, NekDouble > &vFrameVels)

References v_GetMovingFrameVelocities().

◆ GetPressure()

void Nektar::SolverUtils::FluidInterface::GetPressure ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, NekDouble > &  pressure 
)
inline

Extract array with pressure from physfield.

Definition at line 169 of file FilterInterfaces.hpp.

172{
173 v_GetPressure(physfield, pressure);
174}
virtual SOLVER_UTILS_EXPORT void v_GetPressure(const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &pressure)=0

References CG_Iterations::pressure, and v_GetPressure().

◆ GetVelocity()

void Nektar::SolverUtils::FluidInterface::GetVelocity ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, Array< OneD, NekDouble > > &  velocity 
)
inline

Extract array with velocity from physfield.

Definition at line 141 of file FilterInterfaces.hpp.

144{
145 v_GetVelocity(physfield, velocity);
146}
virtual SOLVER_UTILS_EXPORT void v_GetVelocity(const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &velocity)=0

References v_GetVelocity().

◆ HasConstantDensity()

bool Nektar::SolverUtils::FluidInterface::HasConstantDensity ( )
inline

Definition at line 151 of file FilterInterfaces.hpp.

152{
153 return v_HasConstantDensity();
154}
virtual SOLVER_UTILS_EXPORT bool v_HasConstantDensity()=0

References v_HasConstantDensity().

◆ SetMovingFrameAngles()

void Nektar::SolverUtils::FluidInterface::SetMovingFrameAngles ( const Array< OneD, NekDouble > &  vFrameTheta)
inline

Definition at line 215 of file FilterInterfaces.hpp.

217{
218 v_SetMovingFrameAngles(vFrameTheta);
219}
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameAngles(const Array< OneD, NekDouble > &vFrameTheta)

References v_SetMovingFrameAngles().

◆ SetMovingFrameProjectionMat()

void Nektar::SolverUtils::FluidInterface::SetMovingFrameProjectionMat ( const boost::numeric::ublas::matrix< NekDouble > &  vProjMat)
inline

Definition at line 197 of file FilterInterfaces.hpp.

199{
201}
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameProjectionMat(const boost::numeric::ublas::matrix< NekDouble > &vProjMat)

References v_SetMovingFrameProjectionMat().

◆ SetMovingFrameVelocities()

void Nektar::SolverUtils::FluidInterface::SetMovingFrameVelocities ( const Array< OneD, NekDouble > &  vFrameVels)
inline

Definition at line 179 of file FilterInterfaces.hpp.

181{
182 v_SetMovingFrameVelocities(vFrameVels);
183}
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameVelocities(const Array< OneD, NekDouble > &vFrameVels)

References v_SetMovingFrameVelocities().

◆ v_GetDensity()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetDensity ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, NekDouble > &  density 
)
protectedpure virtual

◆ v_GetMovingFrameAngles()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetMovingFrameAngles ( Array< OneD, NekDouble > &  vFrameTheta)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 131 of file FilterInterfaces.hpp.

133 {
134 boost::ignore_unused(vFrameTheta);
135 }

Referenced by GetMovingFrameAngles().

◆ v_GetMovingFrameProjectionMat()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetMovingFrameProjectionMat ( boost::numeric::ublas::matrix< NekDouble > &  vProjMat)
inlineprotectedvirtual

Definition at line 121 of file FilterInterfaces.hpp.

123 {
124 boost::ignore_unused(vProjMat);
125 }

Referenced by GetMovingFrameProjectionMat().

◆ v_GetMovingFrameVelocities()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetMovingFrameVelocities ( Array< OneD, NekDouble > &  vFrameVels)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 111 of file FilterInterfaces.hpp.

113 {
114 boost::ignore_unused(vFrameVels);
115 }

Referenced by GetMovingFrameVelocities().

◆ v_GetPressure()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetPressure ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, NekDouble > &  pressure 
)
protectedpure virtual

◆ v_GetVelocity()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetVelocity ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, Array< OneD, NekDouble > > &  velocity 
)
protectedpure virtual

◆ v_HasConstantDensity()

virtual SOLVER_UTILS_EXPORT bool Nektar::SolverUtils::FluidInterface::v_HasConstantDensity ( )
protectedpure virtual

◆ v_SetMovingFrameAngles()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_SetMovingFrameAngles ( const Array< OneD, NekDouble > &  vFrameTheta)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 126 of file FilterInterfaces.hpp.

128 {
129 boost::ignore_unused(vFrameTheta);
130 }

Referenced by SetMovingFrameAngles().

◆ v_SetMovingFrameProjectionMat()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_SetMovingFrameProjectionMat ( const boost::numeric::ublas::matrix< NekDouble > &  vProjMat)
inlineprotectedvirtual

Definition at line 116 of file FilterInterfaces.hpp.

118 {
119 boost::ignore_unused(vProjMat);
120 }

Referenced by SetMovingFrameProjectionMat().

◆ v_SetMovingFrameVelocities()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_SetMovingFrameVelocities ( const Array< OneD, NekDouble > &  vFrameVels)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 106 of file FilterInterfaces.hpp.

108 {
109 boost::ignore_unused(vFrameVels);
110 }

Referenced by SetMovingFrameVelocities().