FEDEM Solver  R8.0
Source code of the dynamics solver
Typedefs | Functions
FFaOpUtils Namespace Reference

Utilities for accessing unary operations. More...

Typedefs

typedef std::vector< double > DoubleVec
 Convenience type definition. More...
 

Functions

template<class RetType >
bool getUnaryConvertOp (FFaOperation< RetType > *&to, FFaOperationBase *from, const std::string &operationName)
 Converts an operation based on name and return type. More...
 
std::vector< std::string > findOpers (const std::string &varType, bool silence=false)
 Returns valid operation names for a given variable type. More...
 
bool hasOpers (const std::string &varType)
 Checks if given variable type has any operation defined. More...
 
std::string getDefaultOper (const std::string &varType, bool silence=false)
 Returns default operation name for a given variable type. More...
 

Detailed Description

Utilities for accessing unary operations.

Typedef Documentation

◆ DoubleVec

typedef std::vector<double> FFaOpUtils::DoubleVec

Convenience type definition.

Function Documentation

◆ findOpers()

std::vector< std::string > FFaOpUtils::findOpers ( const std::string &  varType,
bool  silence = false 
)

Returns valid operation names for a given variable type.

◆ getDefaultOper()

std::string FFaOpUtils::getDefaultOper ( const std::string &  varType,
bool  silence = false 
)

Returns default operation name for a given variable type.

◆ getUnaryConvertOp()

template<class RetType >
bool FFaOpUtils::getUnaryConvertOp ( FFaOperation< RetType > *&  to,
FFaOperationBase from,
const std::string &  operationName 
)

Converts an operation based on name and return type.

◆ hasOpers()

bool FFaOpUtils::hasOpers ( const std::string &  varType)
inline

Checks if given variable type has any operation defined.