walberla::VelocityFunctor Class Reference

Detailed Description

[setupStruct]

CUSTOM BOUNDARY HANDLING /// [VelocityFunctor]

Public Member Functions

 VelocityFunctor (const Vector3< real_t > &velocity, real_t period, real_t H)
 
void operator() (const real_t time)
 
Vector3< real_toperator() (const Vector3< real_t > &pos, const real_t)
 

Private Attributes

const Vector3< real_tvelocity_
 
const real_t period_
 
const real_t H_
 
real_t constantTerm_
 
real_t amplitude_
 

Constructor & Destructor Documentation

◆ VelocityFunctor()

walberla::VelocityFunctor::VelocityFunctor ( const Vector3< real_t > &  velocity,
real_t  period,
real_t  H 
)
inline

Member Function Documentation

◆ operator()() [1/2]

void walberla::VelocityFunctor::operator() ( const real_t  time)
inline

◆ operator()() [2/2]

Vector3< real_t > walberla::VelocityFunctor::operator() ( const Vector3< real_t > &  pos,
const  real_t 
)
inline

Member Data Documentation

◆ amplitude_

real_t walberla::VelocityFunctor::amplitude_
private

◆ constantTerm_

real_t walberla::VelocityFunctor::constantTerm_
private

◆ H_

const real_t walberla::VelocityFunctor::H_
private

◆ period_

const real_t walberla::VelocityFunctor::period_
private

◆ velocity_

const Vector3< real_t > walberla::VelocityFunctor::velocity_
private

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