Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

suIndContactPowers.h

00001 // suIndContactPowers.h
00002 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00003 // AUTHOR: Frank C. Anderson
00004 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00005 #ifndef __suIndContactPowers_h__
00006 #define __suIndContactPowers_h__
00007 
00008 
00009 //=============================================================================
00010 // INCLUDES
00011 //=============================================================================
00012 #include <rdMath.h>
00013 #include <rdTools.h>
00014 #include <rdModel.h>
00015 #include "suAnalysesDLL.h"
00016 #include "suIndAcc.h"
00017 
00018 
00019 //=============================================================================
00020 //=============================================================================
00033 class SUANALYSES_API suIndContactPowers : public suIndAcc
00034 {
00035 //=============================================================================
00036 // DATA
00037 //=============================================================================
00038 protected:
00040    rdStorage *_velStore;
00042    rdStorage **_pwrStore;
00043 
00044 //=============================================================================
00045 // METHODS
00046 //=============================================================================
00047 public:
00048    suIndContactPowers(rdStorage *aContactVelocities,
00049       rdModel *aModel,rdStorage *aStates,rdStorage *aControls,char *aBaseName,
00050       char *aDir=NULL,char *aExtension=NULL);
00051    virtual ~suIndContactPowers();
00052 private:
00053    void setNull();
00054    void constructDescription();
00055    void constructColumnLabels();
00056    void allocateStoragePointers();
00057    void allocateStorage();
00058    void deleteStorage();
00059 
00060 public:
00061    //--------------------------------------------------------------------------
00062    // GET AND SET
00063    //--------------------------------------------------------------------------
00064    // CONTACT VELOCITIES
00065    rdStorage* getContactVelocities();
00066 
00067    //--------------------------------------------------------------------------
00068    // OPERATIONS
00069    //--------------------------------------------------------------------------
00070    void computeContactPowers();
00071 
00072    //--------------------------------------------------------------------------
00073    // UTILITY
00074    //--------------------------------------------------------------------------
00075 
00076    //--------------------------------------------------------------------------
00077    // IO
00078    //--------------------------------------------------------------------------
00079    virtual int
00080       printResults(char *aBaseName,char *aDir=NULL,double aDT=-1.0,
00081       char *aExtension=".sto");
00082 
00083 //=============================================================================
00084 }; // END of class suIndContactPowers
00085 //=============================================================================
00086 //=============================================================================
00087 
00088 
00089 #endif // #ifndef __suIndContactPowers_h__

Generated on Wed Aug 20 02:17:07 2003 for Simulation Software by doxygen1.3