waves
Basic FE playground
flow::F1ElVi Class Reference

Freestream velocity. More...

#include <wF1El.h>

Inheritance diagram for flow::F1ElVi:
Collaboration diagram for flow::F1ElVi:

Public Member Functions

 F1ElVi (int _nDim, double alpha, double _beta=0)
 
virtual void update (double alpha) override
 Update the velocity vector. More...
 
virtual Eigen::Vector3d eval (tbox::Element const &e, std::vector< double > const &u, size_t k) const override
 Return the freestream velocity. More...
 
virtual Eigen::Vector3d evalGrad (tbox::Element const &e, std::vector< double > const &u, size_t k) const override
 Return the gradient of freestream velocity with respect to angle of attack. More...
 
- Public Member Functions inherited from flow::F1El
 F1El ()
 
virtual ~F1El ()
 

Private Attributes

int nDim
 number of dimensions More...
 
double beta
 angle of sideslip More...
 
Eigen::Vector3d v
 freestream velocity vector More...
 
Eigen::Vector3d dv
 freestream velocity vector gradient (wrt alpha) More...
 

Detailed Description

Freestream velocity.

Constructor & Destructor Documentation

◆ F1ElVi()

F1ElVi::F1ElVi ( int  _nDim,
double  alpha,
double  _beta = 0 
)

Member Function Documentation

◆ eval()

Eigen::Vector3d F1ElVi::eval ( tbox::Element const &  e,
std::vector< double > const &  u,
size_t  k 
) const
overridevirtual

Return the freestream velocity.

Implements flow::F1El.

◆ evalGrad()

Eigen::Vector3d F1ElVi::evalGrad ( tbox::Element const &  e,
std::vector< double > const &  u,
size_t  k 
) const
overridevirtual

Return the gradient of freestream velocity with respect to angle of attack.

Implements flow::F1El.

◆ update()

void F1ElVi::update ( double  alpha)
overridevirtual

Update the velocity vector.

Member Data Documentation

◆ beta

double flow::F1ElVi::beta
private

angle of sideslip

◆ dv

Eigen::Vector3d flow::F1ElVi::dv
private

freestream velocity vector gradient (wrt alpha)

◆ nDim

int flow::F1ElVi::nDim
private

number of dimensions

◆ v

Eigen::Vector3d flow::F1ElVi::v
private

freestream velocity vector


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