00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFEMMaterialLinearElasticity.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:43 $ 00007 Version: $Revision: 1.7 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef __itkFEMMaterialLinearElasticity_h 00019 #define __itkFEMMaterialLinearElasticity_h 00020 00021 #include "itkFEMMaterialBase.h" 00022 00023 namespace itk { 00024 namespace fem { 00025 00026 00027 00028 00037 class MaterialLinearElasticity : public Material { 00038 FEM_CLASS(MaterialLinearElasticity,Material) 00039 public: 00040 virtual void Read(std::istream& f, void* info); 00041 virtual void Write(std::ostream& f ) const; 00043 00047 MaterialLinearElasticity(); 00048 00049 /* Data members of MaterialLinearElasticity class */ 00050 00054 double E; 00055 00059 double A; // 00060 00064 double I; 00065 00069 double nu; 00070 00074 double h; 00075 00076 /* 00077 * ... we can add properties here as required without the influence on the already defined elements 00078 */ 00079 00083 double RhoC; 00084 00085 }; 00086 00087 FEM_CLASS_INIT(MaterialLinearElasticity) 00088 00089 00090 00091 00092 }} // end namespace itk::fem 00093 00094 #endif // #ifndef __itkFEMMaterialLinearElasticity_h 00095