00001 // ------------------------------------------------------------------------- 00002 // ForUn.h - This header file contains the public data structure 00003 // definitions for the uniform force load element class. 00004 // ------------------------------------------------------------------------- 00005 // 00006 // $Author: joaquim $ 00007 // $Revision: 1.2 $ 00008 // $Date: 1998/02/16 20:21:11 $ 00009 // $State: Exp $ 00010 // 00011 // ------------------------------------------------------------------------- 00012 00013 #ifndef _FORUN_H 00014 #define _FORUN_H 00015 00016 #include "gbldefs.h" 00017 #include "lec.h" 00018 00019 // ------------------------------------------------------------------------- 00020 // Definition of a Uniform force Load Element Clas: 00021 // 00022 class cForUniform : public cLoadElement 00023 { 00024 protected: 00025 double _dQx,_dQy,_dQz; // Load uniform values 00026 eLoadDir _eDir; // Load global/local key 00027 00028 public: 00029 cForUniform( void ); 00030 ~cForUniform( void ); 00031 void Read ( void ); 00032 void Evaluate ( sNatCoord *, double * ); 00033 void LoadVal ( double[], eLoadDir ); 00034 }; 00035 00036 #endif