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

#include "PortGaussian.h"

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

Public Member Functions

 PortGaussian (std::string portName, std::pair< Point3D, index_t > &location, sourceType fieldType, axis sourceAxis, std::string signalName, int middlePoint, int deviation)
 
- 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

◆ PortGaussian()

template<class T >
PortGaussian< T >::PortGaussian ( std::string portName,
std::pair< Point3D, index_t > & location,
sourceType fieldType,
axis sourceAxis,
std::string signalName,
int middlePoint,
int deviation )
inline

Member Function Documentation

◆ CalculateCurrentValue()

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

Implements Port< T >.


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