|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
#include <FiRPC3File.H>


Classes | |
| struct | chParams |
Public Member Functions | |
| FiRPC3File () | |
| FiRPC3File (const char *devicename=0) | |
| FiRPC3File (const char *devicename, int endianFormat) | |
| FiRPC3File (const char *devicename, int endianFormat, int numberOfChannels) | |
| virtual | ~FiRPC3File () |
| virtual size_t | getValueCount () const |
| virtual void | getValueRange (double &min, double &max) const |
| virtual double | getValue (double x, int channel=0, bool zeroAdjust=false, double vertShift=0.0, double scaleFac=1.0) |
| virtual bool | getValues (double x0, double x1, std::vector< double > &x, std::vector< double > &y, int channel=0, bool zeroAdjust=false, double shift=0.0, double scale=1.0) |
| virtual void | getRawData (std::vector< double > &x, std::vector< double > &y, double minX, double maxX, int channel=0) |
| virtual void | getData (std::vector< double > &x, std::vector< double > &y, const std::string &channel, double minX=0.0, double maxX=-1.0) |
| virtual void | setValue (double, double) |
| virtual bool | setData (const std::vector< double > &x, const std::vector< double > &y) |
| virtual bool | getChannelList (std::vector< std::string > &list) |
| virtual int | isChannelPresentInFile (const std::string &channel) |
| virtual bool | isChannelPresentInFile (int channel) |
| virtual void | setDescription (const std::string &desc) |
| virtual void | setTimeSpan (double timeSpan) |
| virtual void | setPrecision (int type) |
| int | getRepeats () const |
| void | setRepeats (int rep) |
| int | getAverages () const |
| void | setAverages (int avg) |
| int | getFramePoints () const |
| void | setFramePoints (int frm) |
| int | getGroupPoints () const |
| void | setGroupPoints (int grp) |
Public Member Functions inherited from FiDeviceFunctionBase | |
| virtual | ~FiDeviceFunctionBase () |
| bool | open (const char *devicename, FileStatus status=Read_Only) |
| bool | open (FileStatus status=Read_Only) |
| bool | close (bool noHeader=false) |
| const std::string & | getDevicename () const |
| void | setExtrapolationPolicy (InterpolationPolicy policy=Constant) |
| void | setInterpolationPolicy (InterpolationPolicy policy=Linear) |
| virtual double | getXAxisOrigin () const |
| double | integrate (double x, int order=1, int channel=0, double vertShift=0.0, double scaleFac=1.0) |
| int | getRefCount () const |
| int | ref () |
| int | unref () |
| double | getStep () const |
| double | getFrequency () const |
| void | setStep (double aStep) |
| void | setFrequency (double aFreqency) |
| virtual void | setEmptyChannel (const std::string &) |
| void | setParent (const std::string &modelfile) |
| bool | isReadOnly () const |
| FileStatus | getFileStatus () const |
| void | getAxisUnit (int axis, char *unitText, size_t n) const |
| void | getAxisTitle (int axis, char *titleText, size_t n) const |
| void | setAxisUnit (int axis, const char *unitText) |
| void | setAxisTitle (int axis, const char *titleText) |
Protected Member Functions | |
| virtual bool | initialDeviceRead () |
| virtual bool | preliminaryDeviceWrite () |
| virtual bool | concludingDeviceWrite (bool) |
Protected Member Functions inherited from FiDeviceFunctionBase | |
| FiDeviceFunctionBase (const char *devicename=NULL) | |
| FiDeviceFunctionBase (const FiDeviceFunctionBase &)=delete | |
| FiDeviceFunctionBase & | operator= (const FiDeviceFunctionBase &)=delete |
| double | interpolate (double x, double x0, double f0, double x1, double f1) const |
| double | extrapolate (double x, double x0, double f0, double x1, double f1) const |
| bool | writeString (const char *str) |
| bool | writeString (const char *lab, const std::string &val) |
Private Types | |
| enum | FileType { Time_History , Matrix , Histogram , Regions , Configuration , Fatigue , Road_Surface , Spectral , Start } |
| enum | TimeType { Drive , Response , Mult_Drive , Mult_Resp , Config_Drive , Config_Resp , Peak_pick } |
| enum | DataType { ShortInt , Float , Double } |
| enum | Action { toRead , toWrite } |
Private Member Functions | |
| void | commonConstructor () |
| bool | readChannelList () |
| bool | initTHChannel (int channel, int action) |
| int | getPartition (int channel) |
| void | setReadParams (int channel) |
| void | setKeyInt (const std::string &key, const int val, const int numb) |
| void | setKeyFloat (const std::string &key, const float val, const int numb) |
| void | setKeyString (const std::string &key, const std::string &val, const int numb) |
| int | getKeyInt (const std::string &key, bool &ok) |
| float | getKeyFloat (const std::string &key, bool &ok) |
| std::string | getKeyString (const std::string &key, bool &ok) |
| void | writeString (const std::string &buf, FT_int pos, bool skipRepos=false) |
| void | writeDouble (const double val, FT_int pos, bool skipRepos=false) |
| void | writeFloat (const float val, FT_int pos, bool skipRepos=false) |
| void | writeInt16 (const short val, FT_int pos, bool skipRepos=false) |
| std::string | readString (FT_int pos, bool castToUpperCase=false) |
| double | readDouble (FT_int pos, bool asciiField=false) |
| float | readFloat (FT_int pos, bool asciiField=false) |
| short | readInt16 (FT_int pos, bool asciiField=false) |
| int | readInt32 (FT_int pos, bool asciiField=false) |
| void | dumpAllKeysToScreen () const |
Private Attributes | |
| double | myMaxVal |
| double | myMinVal |
| std::vector< std::string > | myKeys |
| std::vector< std::string > | myChannels |
| size_t | myNumDatavals |
| int | myNumHeaderBlocks |
| int | myNumPartitions |
| int | myNumChannels |
| int | myNumGrpPts |
| int | myNumFrames |
| int | myNumFrmPts |
| int | myNumParams |
| int | myDataSize |
| bool | myHalfFrameUse |
| double | myXaxisOrigin |
| double | myFirstReadValue |
| FT_int | myByteShift |
| FT_int | myPartShift |
| int | myFileType |
| int | myDataType |
| int | myDataFormat |
| int | myPartition |
| int | myRepeats |
| int | myAverages |
| int | myChannel |
| bool | myBypassFilter |
| double | myChannelScale |
| double | myTimeSpan |
| int | myPhysChan |
| std::map< int, chParams > | parameters |
| bool | swapStringBytes |
| bool | stepSet |
| int | kInd |
Additional Inherited Members | |
Public Types inherited from FiDeviceFunctionBase | |
| enum | Axis { X =0 , Y =1 } |
| enum | Endianness { LittleEndian , BigEndian } |
| enum | FileFormat { ascii , binary } |
| enum | FileStatus { Not_Loaded =-1 , Not_Open =0 , Read_Only =1 , Write_Only =2 } |
| enum | InterpolationPolicy { Constant , Linear , Previous_Value , Next_Value } |
Protected Attributes inherited from FiDeviceFunctionBase | |
| FT_FILE | myFile |
| std::string | myParent |
| std::string | myDatasetDevice |
| Endianness | myOutputEndian |
| Endianness | myInputEndian |
| double | myStep |
| std::map< int, axisInfo > | myAxisInfo |
Static Protected Attributes inherited from FiDeviceFunctionBase | |
| static Endianness | myMachineEndian |
|
private |
|
private |
|
private |
|
private |
| FiRPC3File::FiRPC3File | ( | ) |
| FiRPC3File::FiRPC3File | ( | const char * | devicename = 0 | ) |
| FiRPC3File::FiRPC3File | ( | const char * | devicename, |
| int | endianFormat | ||
| ) |
| FiRPC3File::FiRPC3File | ( | const char * | devicename, |
| int | endianFormat, | ||
| int | numberOfChannels | ||
| ) |
|
inlinevirtual |
|
private |
|
protectedvirtual |
Implements FiDeviceFunctionBase.
|
private |
|
inline |
|
virtual |
Reimplemented from FiDeviceFunctionBase.
|
virtual |
Reimplemented from FiDeviceFunctionBase.
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
virtual |
Implements FiDeviceFunctionBase.
|
inline |
|
virtual |
Implements FiDeviceFunctionBase.
|
inlinevirtual |
Implements FiDeviceFunctionBase.
|
virtual |
Reimplemented from FiDeviceFunctionBase.
|
virtual |
Implements FiDeviceFunctionBase.
|
protectedvirtual |
Implements FiDeviceFunctionBase.
|
private |
|
virtual |
Reimplemented from FiDeviceFunctionBase.
|
virtual |
Reimplemented from FiDeviceFunctionBase.
|
protectedvirtual |
Implements FiDeviceFunctionBase.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
|
virtual |
Implements FiDeviceFunctionBase.
|
virtual |
Reimplemented from FiDeviceFunctionBase.
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
inlinevirtual |
Reimplemented from FiDeviceFunctionBase.
|
private |
|
inline |
|
inlinevirtual |
Reimplemented from FiDeviceFunctionBase.
|
inlinevirtual |
Implements FiDeviceFunctionBase.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |