00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFEMMaterialLinearElasticity.h,v $ 00005 Language: C++ 00006 Date: $Date: 2009-01-30 21:10:19 $ 00007 Version: $Revision: 1.8 $ 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 00034 class MaterialLinearElasticity : public Material { 00035 FEM_CLASS(MaterialLinearElasticity,Material) 00036 public: 00037 virtual void Read(std::istream& f, void* info); 00038 virtual void Write(std::ostream& f ) const; 00040 00044 MaterialLinearElasticity(); 00045 00046 /* Data members of MaterialLinearElasticity class */ 00047 00051 double E; 00052 00056 double A; // 00057 00061 double I; 00062 00066 double nu; 00067 00071 double h; 00072 00073 /* 00074 * ... we can add properties here as required without the influence on the already defined elements 00075 */ 00076 00080 double RhoC; 00081 00082 }; 00083 00084 FEM_CLASS_INIT(MaterialLinearElasticity) 00085 00086 }} // end namespace itk::fem 00087 00088 #endif // #ifndef __itkFEMMaterialLinearElasticity_h 00089