OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
PortSinusGaussian< T > Class Template Reference

#include "PortSinusGaussian.h"

Inheritance diagram for PortSinusGaussian< T >:
Port< T >

Public Member Functions

 PortSinusGaussian (std::string portName, std::pair< Point3D, index_t > location, sourceType fieldType, axis sourceAxis, std::string signalName, double frequencyMin, double frequencyMax)
 
- Public Member Functions inherited from Port< T >
 Port (std::string portName, std::pair< Point3D, index_t > &location, sourceType sourceType, axis sourceAxis, std::string signalName)
 
virtual ~Port ()
 
void ApplySource (DegreesOfFreedom3DLoopCPU< T > &doF, int currentTimeStep, float currentTime)
 
void ApplySourceHW (DegreesOfFreedom3DLoopCPU< T > &doF, int currentTimeStep, float currentTime)
 
void ApplySourceHWDiscreteValueCalc (DegreesOfFreedom3DLoopCPU< T > &doF, int currentTimeStep)
 
const std::string GetPortName () const
 
const std::string GetSignalName () const
 
const Point3D GetPoint () const
 
const int GetCurrentTimestep () const
 
const T GetCurrentValue () const
 
const sourceType GetPortTargetField ()
 
const axis GetPortTargetAxis ()
 

Private Member Functions

CalculateCurrentValue (float currentTime) override
 

Additional Inherited Members

- Protected Member Functions inherited from Port< T >
float EFunc (float exponent)
 
double EFunc (double exponent)
 
- Protected Attributes inherited from Port< T >
index_t _index
 
int _currentTimeStep
 
_currentValue
 

Constructor & Destructor Documentation

◆ PortSinusGaussian()

template<class T >
PortSinusGaussian< T >::PortSinusGaussian ( std::string portName,
std::pair< Point3D, index_t > location,
sourceType fieldType,
axis sourceAxis,
std::string signalName,
double frequencyMin,
double frequencyMax )
inline

Member Function Documentation

◆ CalculateCurrentValue()

template<class T >
T PortSinusGaussian< T >::CalculateCurrentValue ( float currentTime)
inlineoverrideprivatevirtual

Implements Port< T >.


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