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

hyp.fem.materials.h

00001 /*
00002 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00003  Ephydryne Components.
00004  Ephydryne is a part of the Hyperion Project.
00005 ----------------------------------------------------------
00006  Copyright (c) 2001 Pierre Rebours.
00007 
00008  This library is free software; you can redistribute it and/or
00009  modify it under the terms of the GNU Lesser General Public
00010  License as published by the Free Software Foundation; either
00011  version 2.1 of the License, or (at your option) any later version.
00012 
00013  This library is distributed in the hope that it will be useful,
00014  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  
00017  See hyp.license.txt file for more information about the license.
00018  
00019  Web: http://lagrandeporte.multimania.com/hyperion
00020  Email: pierre_rebours@yahoo.com
00021 ----------------------------------------------------------
00022  CVS
00023  $Log$
00024  
00025  Creation 26/03/01 Pierre Rebours
00026 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00027 */
00028 
00029 
00030 //rassemble les materiaux
00031 //+factory à materiaux
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         //factories
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

Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.