00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef _hyp_fem_materials_h_
00034 #define _hyp_fem_materials_h_
00035
00036 #ifndef hypfem_INSIDE_INTERN
00037 #error Inclusion not allowed (include hyp.fem.intern.h instead)
00038 #endif
00039
00052 class CFEOMaterials :
00053 #ifdef hypfem_IDENTIFY_CONSTRUCTION_ON
00054 protected CIDClass,
00055 #endif
00056 public IFEOMaterial,
00057 public hyp_ker::CUnknown
00058 {
00059 public:
00061 CFEOMaterials(hyp_ker::IUnknown*,t_real,t_real);
00062 virtual ~CFEOMaterials();
00063 hyp_DECLARE_IUNKNOWN
00064 virtual hyp_ker::com_result NondelegatingQueryInterface(const hyp_ker::hypIID&,void**);
00065 hyp_ker::com_result Init(void);
00066 void FinalRelease(void);
00067
00068
00069 static hyp_ker::com_result CreateInstanceDefault(hyp_ker::IUnknown* ,hyp_ker::CUnknown** );
00070 static hyp_ker::com_result CreateInstanceSteel(hyp_ker::IUnknown* ,hyp_ker::CUnknown** );
00072
00076 virtual void SetYoung(const t_real&);
00077 virtual t_real GetYoung() const;
00078 virtual void SetPoisson(const t_real&);
00079 virtual t_real GetPoisson() const;
00081
00082 private:
00083 t_real m_Young;
00084 t_real m_Poisson;
00085
00086 };
00087
00088 #endif