waves
Basic FE playground
flow::F0PsPhiInf Class Reference

Freestream potential. More...

#include <wF0Ps.h>

Inheritance diagram for flow::F0PsPhiInf:
Collaboration diagram for flow::F0PsPhiInf:

Public Member Functions

 F0PsPhiInf (int _nDim, double _alpha, double _beta=0)
 
virtual void update (double _alpha) override
 Update the angle of attack. More...
 
virtual double eval (Eigen::Vector3d const &pos) const override
 Evaluate the freestream potential. More...
 
- Public Member Functions inherited from flow::F0Ps
 F0Ps ()
 
virtual ~F0Ps ()
 

Private Attributes

int nDim
 number of dimensions More...
 
double alpha
 angle of attack More...
 
double beta
 angle of sideslip More...
 

Detailed Description

Freestream potential.

Constructor & Destructor Documentation

◆ F0PsPhiInf()

F0PsPhiInf::F0PsPhiInf ( int  _nDim,
double  _alpha,
double  _beta = 0 
)

Member Function Documentation

◆ eval()

double F0PsPhiInf::eval ( Eigen::Vector3d const &  pos) const
overridevirtual

Evaluate the freestream potential.

Implements flow::F0Ps.

◆ update()

void F0PsPhiInf::update ( double  _alpha)
overridevirtual

Update the angle of attack.

Member Data Documentation

◆ alpha

double flow::F0PsPhiInf::alpha
private

angle of attack

◆ beta

double flow::F0PsPhiInf::beta
private

angle of sideslip

◆ nDim

int flow::F0PsPhiInf::nDim
private

number of dimensions


The documentation for this class was generated from the following files: