Wind_Function Namespace Reference

Functions

void get_wind (const Vector< double > &x, Vector< double > &wind)
 Wind. More...
 

Function Documentation

◆ get_wind()

void Wind_Function::get_wind ( const Vector< double > &  x,
Vector< double > &  wind 
)

Wind.

Wind that represents a constantly translating sphere in spherical polar coordinates

60  {
61  wind[0]=(-1.0 + 1.5/x[0] - 0.5/(x[0]*x[0]*x[0]))*cos(x[1]);
62  wind[1]=(1.0 - 0.75/x[0] - 0.25/(x[0]*x[0]*x[0]))*sin(x[1]);
63  }
AnnoyingScalar cos(const AnnoyingScalar &x)
Definition: AnnoyingScalar.h:136
AnnoyingScalar sin(const AnnoyingScalar &x)
Definition: AnnoyingScalar.h:137
list x
Definition: plotDoE.py:28

References cos(), sin(), and plotDoE::x.

Referenced by EultingSphereProblem< ELEMENT >::EultingSphereProblem(), and RefineableElutingSphereProblem< ELEMENT >::RefineableElutingSphereProblem().