FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
FiRAOTable Class Reference

#include <FiRAOTable.H>

Public Member Functions

size_t size () const
 
bool getValues (std::vector< double > &x, std::vector< RAOcomp > &y, RAOdof idof) const
 
bool readDirection (std::istream &is, int angle=0)
 

Static Public Member Functions

static bool getDirections (const std::string &RAOfile, std::vector< int > &angles)
 
static bool applyRAO (const std::string &RAOfile, int direction, const FiWave &wave, std::vector< FiWave > &motion)
 
static bool applyRAO (const std::string &RAOfile, int direction, int nRw, int nComp, const double *waveData, std::vector< FiWave > &motion)
 
static bool applyRAO (const std::string &RAOfile, int direction, int nRw, int nComp, const double *waveData, double **motionData)
 
static bool extractMotion (const std::vector< FiWave > &motion, int dof, double *motionData)
 

Private Member Functions

RAOcomp getValue (double freq, RAOdof idof) const
 
void applyToWave (FiWave &wave, RAOdof d) const
 

Private Attributes

RAOTable myData
 

Friends

std::istream & operator>> (std::istream &is, FiRAOTable &rao)
 
std::ostream & operator<< (std::ostream &os, const FiRAOTable &rao)
 

Member Function Documentation

◆ applyRAO() [1/3]

bool FiRAOTable::applyRAO ( const std::string &  RAOfile,
int  direction,
const FiWave wave,
std::vector< FiWave > &  motion 
)
static

◆ applyRAO() [2/3]

bool FiRAOTable::applyRAO ( const std::string &  RAOfile,
int  direction,
int  nRw,
int  nComp,
const double *  waveData,
double **  motionData 
)
static

◆ applyRAO() [3/3]

bool FiRAOTable::applyRAO ( const std::string &  RAOfile,
int  direction,
int  nRw,
int  nComp,
const double *  waveData,
std::vector< FiWave > &  motion 
)
static

◆ applyToWave()

void FiRAOTable::applyToWave ( FiWave wave,
RAOdof  d 
) const
private

◆ extractMotion()

bool FiRAOTable::extractMotion ( const std::vector< FiWave > &  motion,
int  dof,
double *  motionData 
)
static

◆ getDirections()

bool FiRAOTable::getDirections ( const std::string &  RAOfile,
std::vector< int > &  angles 
)
static

◆ getValue()

RAOcomp FiRAOTable::getValue ( double  freq,
RAOdof  idof 
) const
private

◆ getValues()

bool FiRAOTable::getValues ( std::vector< double > &  x,
std::vector< RAOcomp > &  y,
RAOdof  idof 
) const

◆ readDirection()

bool FiRAOTable::readDirection ( std::istream &  is,
int  angle = 0 
)

◆ size()

size_t FiRAOTable::size ( ) const
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const FiRAOTable rao 
)
friend

◆ operator>>

std::istream& operator>> ( std::istream &  is,
FiRAOTable rao 
)
friend

Member Data Documentation

◆ myData

RAOTable FiRAOTable::myData
private

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